/external/iptables/extensions/ |
libxt_LED.c | 30 {.name = "led-delay", .id = O_LED_DELAY, .type = XTTYPE_STRING}, 42 "--led-delay ms leave the LED on for this number of\n" 61 led->delay = -1; 63 led->delay = strtoul(cb->arg, NULL, 0); 86 if (led->delay == -1) 87 printf(" led-delay:inf"); 89 printf(" led-delay:%dms", led->delay); 109 /* Only print the delay if it's not zero (the default) */ 110 if (led->delay > 0 [all...] |
/frameworks/base/core/java/android/view/animation/ |
LayoutAnimationController.java | 31 * is used by {@link android.view.ViewGroup} to compute the delay by which each 32 * child's animation start must be offset. The delay is computed by using 35 * This standard implementation computes the delay by multiplying a fixed 39 * of computing the delay. For instance, a 41 * delay based on the column and row indices of the child in its parent view 44 * Information used to compute the animation delay of each child are stored 126 * Creates a new layout animation controller with a delay of 50% 136 * Creates a new layout animation controller with the specified delay 140 * @param delay the delay by which each child's animation must be offse 321 final long delay = getDelayForView(view) + mAnimation.getStartOffset(); local 376 final float delay = mDelay * mAnimation.getDuration(); local [all...] |
/external/chromium/net/base/ |
backoff_entry.cc | 51 // release time, further requests will then need to wait the delay caused 108 // The delay is calculated with this formula: 109 // delay = initial_backoff * multiply_factor^( 111 double delay = policy_->initial_backoff_ms; local 112 delay *= pow(policy_->multiply_factor, effective_failure_count - 1); 113 delay -= base::RandDouble() * policy_->jitter_factor * delay; 115 // Ensure that we do not exceed maximum delay. 116 int64 delay_int = static_cast<int64>(delay + 0.5);
|
/external/skia/src/ports/ |
SkOSEvent_android.cpp | 38 void SkEvent::SignalQueueTimer(SkMSec delay) 87 // and also check the delay-queue 98 void SkEvent::SignalQueueTimer(SkMSec delay) 102 if (delay) 114 // add tv + delay, scale each up to land on nanoseconds 115 gTimeSpec.tv_nsec = (tv.tv_usec + (delay % kThousand) * kThousand) * kThousand; 116 gTimeSpec.tv_sec = (tv.tv_sec + (delay / kThousand) * kThousand) * kThousand; 126 // printf("SignalQueueTimer(%d) timespec(%d %d)\n", delay, gTimeSpec.tv_sec, gTimeSpec.tv_nsec);
|
/external/webrtc/src/modules/audio_processing/aecm/main/matlab/matlab/ |
align.m | 61 delayDiff = abs(delayStruct.delay(i-1)-tempdelay+1); 63 % We consider this minimum to be significant, hence update the delay 64 delayStruct.delay(i) = tempdelay; 66 delayStruct.delay(i) = tempdelay; 71 delayStruct.delay(i) = delayStruct.delay(i-1); 74 delayStruct.delay(i) = tempdelay; 78 if ((-valuen > threshold) | (i < delayStruct.smlength)) % see if you want to update delay 79 delayStruct.delay(i) = tempdelay; 81 delayStruct.delay(i) = delayStruct.delay(i-1) [all...] |
/external/webkit/Source/WebCore/loader/ |
NavigationScheduler.cpp | 59 ScheduledNavigation(double delay, bool lockHistory, bool lockBackForwardList, bool wasDuringLoad, bool isLocationChange) 60 : m_delay(delay) 76 double delay() const { return m_delay; } function in class:WebCore::ScheduledNavigation 97 ScheduledURLNavigation(double delay, PassRefPtr<SecurityOrigin> securityOrigin, const String& url, const String& referrer, bool lockHistory, bool lockBackForwardList, bool duringLoad, bool isLocationChange) 98 : ScheduledNavigation(delay, lockHistory, lockBackForwardList, duringLoad, isLocationChange) 117 frame->loader()->clientRedirected(KURL(ParsedURLString, m_url), delay(), currentTime() + timer->nextFireInterval(), lockBackForwardList()); 140 ScheduledRedirect(double delay, PassRefPtr<SecurityOrigin> securityOrigin, const String& url, bool lockHistory, bool lockBackForwardList) 141 : ScheduledURLNavigation(delay, securityOrigin, url, String(), lockHistory, lockBackForwardList, false, false) 227 frame->loader()->clientRedirected(m_submission->requestURL(), delay(), currentTime() + timer->nextFireInterval(), lockBackForwardList()); 278 void NavigationScheduler::scheduleRedirect(double delay, const String& url [all...] |
/external/bluetooth/bluez/audio/ |
transport.h | 36 uint16_t delay);
|
/frameworks/base/media/libstagefright/codecs/aacdec/ |
ps_allocate_decoder.cpp | 249 int delay; local 253 delay = 2; 255 ptr4 += delay; 258 ptr5 += delay; 265 delay = SHORT_DELAY; 269 delay = LONG_DELAY; 273 ptr1 += delay; 276 ptr1 += delay;
|
/frameworks/base/services/sensorservice/ |
SensorDevice.h | 43 Info() : delay(0) { } 45 nsecs_t delay; member in struct:android::SensorDevice::Info
|
/external/chromium/chrome/browser/rlz/ |
rlz.h | 33 // by |delay| seconds) that performs the ping and registers some events 38 static bool InitRlzDelayed(bool first_run, int delay);
|
rlz.cc | 269 bool RLZTracker::InitRlzDelayed(bool first_run, int delay) { 270 // A negative delay means that a financial ping should be sent immediately 274 if (delay < 0) { 276 delay = -delay; 279 // Maximum and minimum delay we would allow to be set through master 284 delay *= 1000; 285 delay = (delay < kMinDelay) ? kMinDelay : delay; [all...] |
/external/kernel-headers/original/linux/ |
delay.h | 7 * Delay routines, using a pre-computed "loops_per_jiffy" value. 12 #include <asm/delay.h> 19 * specific values can be defined in asm-???/delay.h as an override.
|
workqueue.h | 65 extern int FASTCALL(queue_delayed_work(struct workqueue_struct *wq, struct work_struct *work, unsigned long delay)); 67 struct work_struct *work, unsigned long delay); 71 extern int FASTCALL(schedule_delayed_work(struct work_struct *work, unsigned long delay)); 73 extern int schedule_delayed_work_on(int cpu, struct work_struct *work, unsigned long delay);
|
/frameworks/base/media/tests/omxjpegdecoder/ |
jpeg_decoder_bench.cpp | 62 int64_t delay = getNowUs() - startTime; local 64 printf("Decoding Time in BoundsMode %.1f msec.\n", delay / 1000.0f); 79 int64_t delay = getNowUs() - startTime; local 80 printf("Decoding Time in PixelsMode %.1f msec.\n", delay / 1000.0f);
|
/system/extras/tests/bionic/libc/common/ |
test_pthread_mutex.c | 83 time_sleep(double delay) 88 ts.tv_sec = (time_t)delay; 89 ts.tv_nsec = (long)((delay - ts.tv_sec)*1e9); 319 static void do_test_mutex_3(pthread_mutexattr_t *attr, double delay) 326 s->waitDelay = delay; 327 s->spinDelay = delay/20.; 335 time_sleep(delay); 343 static void do_test_3(double delay) 347 do_test_mutex_3(NULL, delay); 354 do_test_mutex_3(attr, delay); [all...] |
test_pthread_rwlock.c | 82 time_sleep(double delay) 87 ts.tv_sec = (time_t)delay; 88 ts.tv_nsec = (long)((delay - ts.tv_sec)*1e9); 296 static void do_test_rwlock_rd3(pthread_rwlockattr_t *attr, double delay) 303 s->waitDelay = delay; 304 s->spinDelay = delay/20.; 312 time_sleep(delay); 320 static void do_test_3(double delay) 324 do_test_rwlock_rd3(NULL, delay); 331 do_test_rwlock_rd3(attr, delay); [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
ScheduledThreadPoolExecutor.java | 18 * commands to run after a given delay, or to execute 32 * automatically removed from the work queue until its delay 102 * delayed tasks with a delay of zero. 162 * indicates fixed-delay execution. A value of 0 indicates a 171 * Index into delay queue, to support faster cancellation. 461 private long triggerTime(long delay, TimeUnit unit) { 462 return triggerTime(unit.toNanos((delay < 0) ? 0 : delay)); 468 long triggerTime(long delay) { 470 ((delay < (Long.MAX_VALUE >> 1)) ? delay : overflowFree(delay)) 1053 long delay = first.getDelay(TimeUnit.NANOSECONDS); local 1091 long delay = first.getDelay(TimeUnit.NANOSECONDS); local [all...] |
/external/chromium/chrome/browser/sync/notifier/ |
registration_manager.cc | 30 // reset the delay. 32 delay = base::TimeDelta(); 126 pending_registrations[model_type].delay = status.delay; 181 // delay = max(0, (now - last request) + next_delay) 182 status->delay = 186 base::TimeDelta delay = local 187 (status->delay <= base::TimeDelta()) ? 188 base::TimeDelta() : status->delay; 191 << delay.InMilliseconds() << " ms" [all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
TransitionDrawableTest.java | 243 private void assertTransition(int colorFrom, int colorTo, long delay) { 245 assertTransitionInProgress(colorFrom, colorTo, delay / 2); 246 assertTransitionEnd(colorTo, delay); 255 private void assertTransitionInProgress(int colorFrom, int colorTo, long delay) { 256 drawAfterDelaySync(delay); 261 private void assertTransitionEnd(int colorTo, long delay) { 262 drawAfterDelaySync(delay); 282 private void makeReverseTransitionInProgress(int duration, int delay) { 288 assertTransitionInProgress(COLOR1, COLOR0, delay); 291 private void makeTransitionInProgress(int duration, int delay) { [all...] |
/external/chromium/third_party/libjingle/source/talk/p2p/base/ |
stunrequest.cc | 58 void StunRequestManager::SendDelayed(StunRequest* request, int delay) { 63 thread_->PostDelayed(delay, request, MSG_STUN_SEND, NULL); 184 int delay = GetNextDelay(); local 185 manager_->thread_->PostDelayed(delay, this, MSG_STUN_SEND, NULL); 193 int delay = DELAY_UNIT * talk_base::_min(1 << count_, DELAY_MAX_FACTOR); local 197 return delay;
|
/frameworks/base/media/java/android/media/ |
AsyncPlayer.java | 70 long delay = SystemClock.uptimeMillis() - cmd.requestTime; local 71 if (delay > 1000) { 72 Log.w(mTag, "Notification sound delayed by " + delay + "msecs"); 102 long delay = SystemClock.uptimeMillis() - cmd.requestTime; local 103 if (delay > 1000) { 104 Log.w(mTag, "Notification stop delayed by " + delay + "msecs");
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
SettingsActivity.java | 105 String delay = (String) newValue; local 106 updateAutoSnoozeSummary(listPref, delay); 112 String delay) { 113 int i = Integer.parseInt(delay); 137 String delay = listPref.getValue(); local 138 updateAutoSnoozeSummary(listPref, delay);
|
/packages/apps/Mms/src/com/android/mms/ui/ |
ConfirmRateLimitActivity.java | 83 long delay = mCreateTime - System.currentTimeMillis() local 86 if (delay <= 0) { 90 mHandler.postDelayed(mRunnable, delay);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/deprecated/voice/ |
WaveformImage.java | 56 final int delay = (SAMPLING_RATE * 100 / 1000); local 57 int endIndex = end / 2 + delay; 61 int index = start / 2 - delay;
|
/external/chromium/chrome/browser/policy/ |
file_based_policy_loader.h | 47 // and then delays until it is considered safe to reload in |delay|. 49 bool IsSafeToReloadPolicy(const base::Time& now, base::TimeDelta* delay);
|