/system/extras/tests/bionic/libc/common/ |
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 | 22 * commands to run after a given delay, or to execute periodically. 36 * automatically removed from the work queue until its delay 106 * delayed tasks with a delay of zero. 166 * A negative value indicates fixed-delay execution. 175 * Index into delay queue, to support faster cancellation. 486 private long triggerTime(long delay, TimeUnit unit) { 487 return triggerTime(unit.toNanos((delay < 0) ? 0 : delay)); 493 long triggerTime(long delay) { 495 ((delay < (Long.MAX_VALUE >> 1)) ? delay : overflowFree(delay)) 1080 long delay = first.getDelay(NANOSECONDS); local 1119 long delay = first.getDelay(NANOSECONDS); local [all...] |
DelayQueue.java | 21 * when its delay has expired. The <em>head</em> of the queue is that 22 * {@code Delayed} element whose delay expired furthest in the 23 * past. If no delay has expired there is no head and {@code poll} 53 * the leader, it waits only for the next delay to elapse, but 91 * Inserts the specified element into this delay queue. 102 * Inserts the specified element into this delay queue. 124 * Inserts the specified element into this delay queue. As the queue is 135 * Inserts the specified element into this delay queue. As the queue is 150 * if this queue has no elements with an expired delay. 153 * queue has no elements with an expired delay 185 long delay = first.getDelay(NANOSECONDS); local 233 long delay = first.getDelay(NANOSECONDS); local [all...] |
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
WrappingScheduledExecutorServiceTest.java | 112 void assertLastMethodCalled(String method, long delay, TimeUnit unit) { 114 assertEquals(delay, lastDelay); 118 void assertLastMethodCalled(String method, long initialDelay, long delay, TimeUnit unit) { 121 assertEquals(delay, lastDelay); 125 @Override public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { 128 lastDelay = delay; 134 Callable<V> callable, long delay, TimeUnit unit) { 137 lastDelay = delay; 153 Runnable command, long initialDelay, long delay, TimeUnit unit) { 157 lastDelay = delay; [all...] |
JSR166TestCase.java | 265 * Returns the shortest timed delay. This could 483 * Delays, via Thread.sleep, for the given millisecond delay, but 487 static void delay(long millis) throws InterruptedException { method in class:JSR166TestCase 520 * millisecond delay of {@code timeoutMillis()}. 527 * Checks that thread does not terminate within the given millisecond delay. 532 delay(millis); 541 * millisecond delay of {@code timeoutMillis()}. 548 * Checks that the threads do not terminate within the given millisecond delay. 553 delay(millis); 713 delay(millis) [all...] |
/external/libvncserver/x11vnc/ |
xwrappers.h | 81 unsigned long delay); 83 unsigned long delay); 85 unsigned long delay); 87 unsigned long delay); 89 unsigned long delay); 91 unsigned long delay);
|
/frameworks/base/media/java/android/media/ |
AsyncPlayer.java | 69 long delay = SystemClock.uptimeMillis() - cmd.requestTime; local 70 if (delay > 1000) { 71 Log.w(mTag, "Notification sound delayed by " + delay + "msecs"); 101 long delay = SystemClock.uptimeMillis() - cmd.requestTime; local 102 if (delay > 1000) { 103 Log.w(mTag, "Notification stop delayed by " + delay + "msecs");
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
NotificationListenerVerifierActivity.java | 161 delay(); method 179 delay(); // in case the catcher never returns method 253 delay(); // in case the catcher never returns method 260 delay(); method 274 delay(); method 300 delay(); method 307 delay(); method 321 delay(); method 347 delay(); // in case the catcher never returns method 354 delay(); method 384 delay(); method 409 delay(); \/\/ in case the catcher never returns method 415 delay(); method 430 delay(); method 448 delay(); \/\/ in case the catcher never returns method 455 delay(); method [all...] |
AttentionManagementVerifierActivity.java | 119 delay(); method 189 delay(); method 204 delay(); method 249 delay(); // in case the catcher never returns method 256 delay(); method 296 delay(); method 340 delay(); // in case the catcher never returns method 347 delay(); method 386 delay(); method 430 delay(); // in case the catcher never return method 437 delay(); method 453 delay(); method 474 delay(); \/\/ in case the catcher never returns method 481 delay(); method 497 delay(); method 518 delay(); \/\/ in case the catcher never returns method 525 delay(); method 541 delay(); method 564 delay(); \/\/ in case the catcher never returns method 582 delay(); \/\/ in case the catcher never returns method 590 delay(); method 606 delay(); method 650 delay(); \/\/ in case the catcher never returns method 657 delay(); method 673 delay(); method 694 delay(); \/\/ in case the catcher never returns method 701 delay(); method 717 delay(); method 738 delay(); \/\/ in case the catcher never returns method 745 delay(); method 761 delay(); method 782 delay(); \/\/ in case the catcher never returns method 789 delay(); method [all...] |
PackagePriorityVerifierActivity.java | 116 delay(); method 142 delay(); method 161 delay(); method 181 delay(); // in case the catcher never returns method 188 delay(); method 206 delay(); method 226 delay(); // in case the catcher never returns method 233 delay(); method
|
/external/aac/libSBRenc/src/ |
resampler.h | 125 int delay; /*! downsampling delay (source fs) */ member in struct:__anon4616
|
/external/slf4j/log4j-over-slf4j/src/main/java/org/apache/log4j/ |
PropertyConfigurator.java | 41 public static void configureAndWatch(String configFilename, long delay) {
|
/external/tcpdump/ |
print-igrp.c | 47 register u_int delay, bandwidth; local 60 delay = EXTRACT_24BITS(igr->igr_dly); 62 metric = bandwidth + delay; 68 10 * delay, bandwidth == 0 ? 0 : 10000000 / bandwidth,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
StackStateAnimator.java | 201 * @param fixedDelay a fixed delay if desired or -1 if the delay should be calculated 225 long delay = 0; local 227 delay = fixedDelay; 229 delay = mCurrentAdditionalDelay + calculateChildAnimationDelay(viewState, finalState); 232 startViewAnimations(child, viewState, delay, duration); 236 startHeightAnimation(child, viewState, duration, delay); 241 startInsetAnimation(child, viewState, duration, delay); 252 delay, duration); 255 child.setDark(viewState.dark, mAnimationFilter.animateDark, delay); 334 long delay = (DELAY_EFFECT_MAX_INDEX_DIFFERENCE - difference) * delayPerElement; local 356 long delay = difference * delayPerElement; local [all...] |
/cts/suite/audio_quality/test_description/processing/ |
check_spectrum.py | 118 delay = 0 123 delay = calc_delay.calc_delay(hostData, dutData) 125 hostData_ = hostData[delay:delay+N] 127 delay = calc_delay.calc_delay(dutData, hostData) 129 dutData_ = dutData[delay:delay+N] 131 print "delay ", delay, "deviceRecording samples ", N
|
/external/vboot_reference/utility/ |
tpm-dad-lock | 44 echo delay of $elapsed seconds after $attempts attempts
|
/hardware/akm/AK8975_FS/akmdfs/ |
AKFS_Measure.c | 201 /* Delay is in nano second unit. */ 203 int64_t delay[AKM_NUM_SENSORS]; local 206 if (AKD_GetDelay(delay) < 0) { 210 AKMDATA(AKMDATA_GETINTERVAL,"delay[A,M,O]=%lld,%lld,%lld\n", 211 delay[0], delay[1], delay[2]); 218 if (delay[i] >= 0) { 220 if (*minimum > delay[i]) { 221 *minimum = delay[i] [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
LeaveBehindItem.java | 190 * @param delay Whether to delay the start of the animation or not. 192 public void startFadeInTextAnimation(int delay) { 196 mFadeIn = startFadeInTextAnimation(mSwipeableContent, delay); 202 * @param delay The delay, in milliseconds, before starting the animation 205 public static ObjectAnimator startFadeInTextAnimation(final View view, final int delay) { 212 if (delay != 0) { 213 fadeIn.setStartDelay(delay); 224 * @param newDelay Amount of total delay the user should se 230 long delay = mFadeIn.getStartDelay(); local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
sched.py | 9 implement a delay. You can implement real-time scheduling by 12 also be used to integrate scheduling with STDWIN events; the delay 29 # XXX the global state of your particular time and delay functions. 40 """Initialize a new instance, passing the time and delay 57 def enter(self, delay, priority, action, argument): 63 time = self.timefunc() + delay 83 When there is a positive delay until the first event, the 84 delay function is called and the event is left in the queue; 87 the delay function returns prematurely, it is simply 90 It is legal for both the delay function and the actio [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
sched.py | 9 implement a delay. You can implement real-time scheduling by 12 also be used to integrate scheduling with STDWIN events; the delay 29 # XXX the global state of your particular time and delay functions. 40 """Initialize a new instance, passing the time and delay 57 def enter(self, delay, priority, action, argument): 63 time = self.timefunc() + delay 83 When there is a positive delay until the first event, the 84 delay function is called and the event is left in the queue; 87 the delay function returns prematurely, it is simply 90 It is legal for both the delay function and the actio [all...] |
/external/jetty/src/java/org/eclipse/jetty/util/thread/ |
Timeout.java | 165 * @param delay A delay in addition to the default duration of the timeout 167 public void schedule(Task task,long delay) 178 task._delay=delay; 179 task._timestamp = _now+delay; 321 public void schedule(Timeout timer, long delay) 323 timer.schedule(this,delay);
|
/external/jmdns/src/javax/jmdns/impl/tasks/ |
Responder.java | 83 int delay = (iAmTheOnlyOne && !_in.isTruncated()) ? 0 : DNSConstants.RESPONSE_MIN_WAIT_INTERVAL + JmDNSImpl.getRandom().nextInt(DNSConstants.RESPONSE_MAX_WAIT_INTERVAL - DNSConstants.RESPONSE_MIN_WAIT_INTERVAL + 1) - _in.elapseSinceArrival(); local 84 if (delay < 0) { 85 delay = 0; 88 logger.finest(this.getName() + "start() Responder chosen delay=" + delay); 91 timer.schedule(this, delay);
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
AbstractScheduledService.java | 114 * @param initialDelay the time to delay first execution 115 * @param delay the delay between the termination of one execution and the commencement of the 117 * @param unit the time unit of the initialDelay and delay parameters 119 public static Scheduler newFixedDelaySchedule(final long initialDelay, final long delay, 125 return executor.scheduleWithFixedDelay(task, initialDelay, delay, unit); 134 * @param initialDelay the time to delay first execution 477 currentFuture = executor.schedule(this, schedule.delay, schedule.unit); 519 * A value object that represents an absolute delay until a task should be invoked. 527 private final long delay; [all...] |
/external/skia/src/animator/ |
SkDisplayPost.cpp | 29 SK_MEMBER(delay, MSec), 41 SkPost::SkPost() : delay(0), /*initialized(SkBool(-1)), */ mode(kImmediate), fMaker(NULL), 78 if (delay > 0) { 79 SkDebugf("delay=\"%g\" ", delay * 0.001); 197 debugOut.append(" delay="); 198 debugOut.appendS32(delay); 201 // SkMSec adjustedDelay = maker.adjustDelay(maker.fEnableTime, delay); 202 SkMSec futureTime = maker.fEnableTime + delay; 222 if (delay == 0) [all...] |
/external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/ |
TestingExecutors.java | 50 * return the max long value instead of the time until the user-specified delay. 131 Callable<V> callable, long delay, TimeUnit unit) { 136 Runnable command, long delay, TimeUnit unit) { 146 Runnable command, long initialDelay, long delay, TimeUnit unit) {
|