/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/channels/ |
D | TickerChannels.kt | 63 delayMillis: Long, in ticker() 64 initialDelayMillis: Long = delayMillis, in ticker() 68 require(delayMillis >= 0) { "Expected non-negative delay, but has $delayMillis ms" } in ticker() 72 TickerMode.FIXED_PERIOD -> fixedPeriodTicker(delayMillis, initialDelayMillis, channel) in ticker() 73 TickerMode.FIXED_DELAY -> fixedDelayTicker(delayMillis, initialDelayMillis, channel) in ticker() 79 delayMillis: Long, in fixedPeriodTicker() 85 val delayNs = delayToNanos(delayMillis) in fixedPeriodTicker() 102 delayMillis: Long, in fixedDelayTicker() 109 delay(delayMillis) in fixedDelayTicker()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowChoreographer.java | 57 public static void setPostCallbackDelay(int delayMillis) { 58 postCallbackDelayMillis = delayMillis; 68 public static void setPostFrameCallbackDelay(int delayMillis) { 69 postFrameCallbackDelayMillis = delayMillis; 97 int callbackType, Runnable action, Object token, long delayMillis) { 98 handler.postDelayed(action, delayMillis); 125 protected void postFrameCallbackDelayed(final FrameCallback callback, long delayMillis) { 130 }, callback, SystemClock.uptimeMillis() + delayMillis);
|
D | ShadowLooper.java | 315 public boolean post(Runnable runnable, long delayMillis) { in post() argument 317 getScheduler().postDelayed(runnable, delayMillis, TimeUnit.MILLISECONDS); in post()
|
/external/mockito/src/main/java/org/mockito/verification/ |
D | After.java | 25 public After(long delayMillis, VerificationMode verificationMode) { in After() argument 26 this(10, delayMillis, verificationMode); in After() 29 After(long pollingPeriod, long delayMillis, VerificationMode verificationMode) { in After() argument 30 this(new VerificationOverTimeImpl(pollingPeriod, delayMillis, verificationMode, false)); in After()
|
/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/ |
D | Scheduler.java | 150 public synchronized void postDelayed(Runnable runnable, long delayMillis) { in postDelayed() argument 151 postDelayed(runnable, delayMillis, TimeUnit.MILLISECONDS); in postDelayed() 158 long delayMillis = unit.toMillis(delay); in postDelayed() local 159 …if ((idleState != CONSTANT_IDLE && (isPaused() || delayMillis > 0)) || Thread.currentThread() != a… in postDelayed() 160 runnables.add(new ScheduledRunnable(runnable, currentTime + delayMillis)); in postDelayed() 162 runOrQueueRunnable(runnable, currentTime + delayMillis); in postDelayed()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/flow/operators/ |
D | Delay.kt | 312 internal fun CoroutineScope.fixedPeriodTicker(delayMillis: Long, initialDelayMillis: Long = delayMi… in fixedPeriodTicker() 313 require(delayMillis >= 0) { "Expected non-negative delay, but has $delayMillis ms" } in fixedPeriodTicker() 319 delay(delayMillis) in fixedPeriodTicker()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/channels/ |
D | TickerChannelTest.kt | 14 …val delayChannel = ticker(delayMillis = 1000, initialDelayMillis = 0, mode = TickerMode.FIXED_DELA… in <lambda>() 31 val delayChannel = ticker(delayMillis = 1000, initialDelayMillis = 0) in <lambda>() 50 val delayChannel = ticker(delayMillis = 200, initialDelayMillis = 0) in <lambda>()
|
/external/mockito/src/test/java/org/mockitoutil/async/ |
D | AsyncTesting.java | 31 public void runAfter(final int delayMillis, final Runnable runnable) { in runAfter() argument 38 Thread.sleep(delayMillis); in runAfter() 48 …AsyncTesting] Starting thread that will execute the runnable after " + delayMillis + " millis. Thr… in runAfter()
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | SimpleTimeLimiterTest.java | 268 final long delayMillis; field in SimpleTimeLimiterTest.SampleImpl 271 SampleImpl(long delayMillis) { in SampleImpl() argument 272 this.delayMillis = delayMillis; in SampleImpl() 278 MILLISECONDS.sleep(delayMillis); in sleepThenReturnInput() 289 MILLISECONDS.sleep(delayMillis); in sleepThenThrowException()
|
D | JSR166TestCase.java | 268 Date delayedDate(long delayMillis) { in delayedDate() argument 269 return new Date(System.currentTimeMillis() + delayMillis); in delayedDate()
|
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/ |
D | SimpleTimeLimiterTest.java | 268 final long delayMillis; field in SimpleTimeLimiterTest.SampleImpl 271 SampleImpl(long delayMillis) { in SampleImpl() argument 272 this.delayMillis = delayMillis; in SampleImpl() 278 MILLISECONDS.sleep(delayMillis); in sleepThenReturnInput() 289 MILLISECONDS.sleep(delayMillis); in sleepThenThrowException()
|
D | JSR166TestCase.java | 267 Date delayedDate(long delayMillis) { in delayedDate() argument 268 return new Date(System.currentTimeMillis() + delayMillis); in delayedDate()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
D | ThreadInterruptTest.java | 125 private void interruptLater(final int delayMillis) { in interruptLater() argument 130 sleep(delayMillis); in interruptLater()
|
D | DisconnectTest.java | 123 private void disconnectLater(final HttpURLConnection connection, final int delayMillis) { in disconnectLater() argument 127 sleep(delayMillis); in disconnectLater()
|
/external/libchrome/base/android/java/src/org/chromium/base/ |
D | ThreadUtils.java | 190 public static void postOnUiThreadDelayed(Runnable task, long delayMillis) { in postOnUiThreadDelayed() argument 191 getUiThreadHandler().postDelayed(task, delayMillis); in postOnUiThreadDelayed()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/ |
D | Loader.java | 343 public void start(long delayMillis) { in start() argument 346 if (delayMillis > 0) { in start() 347 sendEmptyMessageDelayed(MSG_START, delayMillis); in start()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | AnimationPlayerActivity.java | 65 public void sleep(long delayMillis) { in sleep() argument 67 sendMessageDelayed(obtainMessage(0), delayMillis); in sleep()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/guide/ |
D | example-channel-10.kt | 12 val tickerChannel = ticker(delayMillis = 100, initialDelayMillis = 0) // create ticker channel in <lambda>()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
D | Spdy3ConnectionTest.java | 1456 private void interruptAfterDelay(final long delayMillis) { 1461 Thread.sleep(delayMillis);
|
/external/libabigail/tests/data/test-read-dwarf/ |
D | test-libandroid.so.abi | 18197 …<parameter type-id='bd54fe1a' name='delayMillis' filepath='frameworks/base/native/android/choreogr… 18210 …<parameter type-id='8f92235e' name='delayMillis' filepath='frameworks/base/native/android/choreogr…
|