/external/robolectric-shadows/utils/src/test/java/org/robolectric/util/ |
D | SchedulerTest.java | 78 scheduler.postDelayed(new AddToTranscript("one"), 0); in setIdleStateToUnPause_shouldRunPendingTasks() 79 scheduler.postDelayed(new AddToTranscript("two"), 0); in setIdleStateToUnPause_shouldRunPendingTasks() 80 scheduler.postDelayed(new AddToTranscript("three"), 1000); in setIdleStateToUnPause_shouldRunPendingTasks() 90 scheduler.postDelayed(new AddToTranscript("one"), 0); in setIdleStateToConstantIdle_shouldRunAllTasks() 91 scheduler.postDelayed(new AddToTranscript("two"), 0); in setIdleStateToConstantIdle_shouldRunAllTasks() 92 scheduler.postDelayed(new AddToTranscript("three"), 1000); in setIdleStateToConstantIdle_shouldRunAllTasks() 102 scheduler.postDelayed(new AddToTranscript("one"), 0); in unPause_shouldRunPendingTasks() 103 scheduler.postDelayed(new AddToTranscript("two"), 0); in unPause_shouldRunPendingTasks() 104 scheduler.postDelayed(new AddToTranscript("three"), 1000); in unPause_shouldRunPendingTasks() 115 scheduler.postDelayed(new AddToTranscript("one"), 0); in idleConstantlyTrue_shouldRunAllTasks() [all …]
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowHandlerTest.java | 112 new Handler().postDelayed(scratchRunnable, 1); in postDelayedThenIdleMainLooper_shouldNotRunRunnable() 119 new Handler().postDelayed(scratchRunnable, 1); in testPostDelayedThenRunMainLooperOneTask() 139 new Handler().postDelayed(scratchRunnable, 1); in testPostDelayedThenRunMainLooperToNextTask_shouldRunOneTask() 149 new Handler().postDelayed(task1, 1); in testPostDelayedTwiceThenRunMainLooperToNextTask_shouldRunMultipleTasks() 150 new Handler().postDelayed(task2, 1); in testPostDelayedTwiceThenRunMainLooperToNextTask_shouldRunMultipleTasks() 162 new Handler().postDelayed(task1, 1); in testPostDelayedTwiceThenRunMainLooperOneTask_shouldRunOnlyOneTask() 163 new Handler().postDelayed(task2, 1); in testPostDelayedTwiceThenRunMainLooperOneTask_shouldRunOnlyOneTask() 176 new Handler().postDelayed(task1, 1); in testPostDelayedMultipleThenRunMainLooperOneTask_shouldRunMultipleTask() 177 new Handler().postDelayed(task2, 10); in testPostDelayedMultipleThenRunMainLooperOneTask_shouldRunMultipleTask() 178 new Handler().postDelayed(task3, 100); in testPostDelayedMultipleThenRunMainLooperOneTask_shouldRunMultipleTask()
|
D | ShadowLooperTest.java | 106 new Handler().postDelayed(new Runnable() { in idleMainLooper_executesScheduledTasks() 124 new Handler().postDelayed(new Runnable() { in idleConstantly_runsPostDelayedTasksImmediately() 334 handler.postDelayed(empty, 5000); in resetThreadLoopers_resets_background_thread_schedulers() 400 handler1.postDelayed(new Runnable() { in withAdvancedScheduling_shouldDispatchMessagesOnBothLoopers_whenAdvancingForegroundThread() 406 handler2.postDelayed(new Runnable() { in withAdvancedScheduling_shouldDispatchMessagesOnBothLoopers_whenAdvancingForegroundThread()
|
/external/exoplayer/tree/testutils/src/test/java/com/google/android/exoplayer2/testutil/ |
D | FakeClockTest.java | 124 handler.postDelayed(testRunnables[0], 0); in testPostDelayed() 125 handler.postDelayed(testRunnables[1], 100); in testPostDelayed() 126 handler.postDelayed(testRunnables[2], 200); in testPostDelayed() 131 handler.postDelayed(testRunnables[3], 50); in testPostDelayed() 132 handler.postDelayed(testRunnables[4], 100); in testPostDelayed()
|
/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/ |
D | Scheduler.java | 141 postDelayed(runnable, 0, TimeUnit.MILLISECONDS); in post() 150 public synchronized void postDelayed(Runnable runnable, long delayMillis) { in postDelayed() method in Scheduler 151 postDelayed(runnable, delayMillis, TimeUnit.MILLISECONDS); in postDelayed() 157 public synchronized void postDelayed(Runnable runnable, long delay, TimeUnit unit) { in postDelayed() method in Scheduler
|
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/ |
D | AudioTest.java | 190 handler.postDelayed(requestBeepRunnable, msToRecord / 2); in doRecordingTestRepetition() 196 handler.postDelayed(stopBeepRunnable, msToRecord); in doRecordingTestRepetition() 224 handler.postDelayed(playBeepRunnable, 300); in beginPlaybackMeasurement() 263 handler.postDelayed(playBeepRunnable, (long) (period + Math.random() * 50 - 25)); 320 handler.postDelayed(playBeepRunnable, (long) (period * 3 + Math.random() * 100 - 50)); 339 … handler.postDelayed(processRecordingRunnable, (long) (msToRecord * 2 + Math.random() * 100 - 50));
|
D | ScreenResponseFragment.java | 183 handler.postDelayed(startBlinking, enableFullScreen ? 800 : 300); in startBlinkLatency() 206 handler.postDelayed(doBlinkRunnable, 100); 262 handler.postDelayed(doBlinkRunnable, 550 + (long) (Math.random()*100)); 326 handler.postDelayed(doBlinkRunnable, 40 + (long) (Math.random()*20)); 472 handler.postDelayed(startBrightness, enableFullScreen ? 1000 : CURVE_BLINK_TIME); in startBrightnessCurve() 494 handler.postDelayed(finishBrightnessCurve, CURVE_TIMEOUT); 497 handler.postDelayed(new Runnable() {
|
D | MidiTest.java | 108 handler.postDelayed(cancelMidiOutRunnable, noteDelay * inputRepetitions + timeout); in testMidiOut() 134 handler.postDelayed(requestNoteRunnable, noteDelay); in testMidiIn() 273 handler.postDelayed(finishMidiInRunnable, timeout);
|
/external/kotlinx.coroutines/kotlinx-coroutines-test/src/ |
D | TestCoroutineDispatcher.kt | 64 …postDelayed(CancellableContinuationRunnable(continuation) { resumeUndispatched(Unit) }, timeMillis) in <lambda>() 69 val node = postDelayed(block, timeMillis) in <lambda>() 85 private fun postDelayed(block: Runnable, delayTime: Long) = in <lambda>() method
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/ |
D | SystemHandlerWrapper.java | 82 public boolean postDelayed(Runnable runnable, long delayMs) { in postDelayed() method in SystemHandlerWrapper 83 return handler.postDelayed(runnable, delayMs); in postDelayed()
|
D | HandlerWrapper.java | 60 boolean postDelayed(Runnable runnable, long delayMs); in postDelayed() method
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/test_/ |
D | TestCoroutineContext.kt | 189 private fun postDelayed(block: Runnable, delayTime: Long) = in <lambda>() method in kotlinx.coroutines.test.TestCoroutineContext 228 postDelayed(Runnable { in <lambda>() 234 val node = postDelayed(block, timeMillis) in <lambda>()
|
/external/kotlinx.coroutines/ui/kotlinx-coroutines-android/src/ |
D | HandlerDispatcher.kt | 139 handler.postDelayed(block, timeMillis.coerceAtMost(MAX_DELAY)) in scheduleResumeAfterDelay() 144 handler.postDelayed(block, timeMillis.coerceAtMost(MAX_DELAY)) in invokeOnTimeout()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowSystemVibrator.java | 99 handler.postDelayed(stopVibratingRunnable, this.milliseconds); in recordVibrate() 112 handler.postDelayed(stopVibratingRunnable, endDelayMillis); in recordVibratePattern()
|
D | ShadowScroller.java | 64 ShadowApplication.getInstance().getForegroundThreadScheduler().postDelayed(new Runnable() { in startScroll()
|
D | ShadowView.java | 368 protected boolean postDelayed(Runnable action, long delayMills) { in postDelayed() method in ShadowView 369 ShadowApplication.getInstance().getForegroundThreadScheduler().postDelayed(action, delayMills); in postDelayed() 375 ShadowApplication.getInstance().getForegroundThreadScheduler().postDelayed(new Runnable() { in postInvalidateDelayed()
|
D | ShadowOverScroller.java | 67 getScheduler().postDelayed(new Runnable() { in startScroll()
|
D | ShadowChoreographer.java | 98 handler.postDelayed(action, delayMillis);
|
/external/ims/rcs/presencepolling/tests/src/com/android/service/ims/presence/ |
D | PresencePollingTestBase.java | 63 h.postDelayed(lock::countDown, delayMs); in waitForHandlerActionDelayed()
|
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
D | ActionSchedule.java | 729 mainHandler.postDelayed(this, delayMs); in schedule() 742 mainHandler.postDelayed( in run() 748 mainHandler.postDelayed(/* runnable= */ this, repeatIntervalMs); in run()
|
/external/skqp/platform_tools/android/apps/arcore/src/main/java/org/skia/arcore/ |
D | HelloArActivity.java | 89 mPlaneStatusCheckingHandler.postDelayed( 260 mPlaneStatusCheckingHandler.postDelayed( in onResume()
|
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/widget/ |
D | NumberPicker.java | 71 mHandler.postDelayed(this, mSpeed); 74 mHandler.postDelayed(this, mSpeed);
|
/external/skia/platform_tools/android/apps/arcore/src/main/java/org/skia/arcore/ |
D | HelloArActivity.java | 89 mPlaneStatusCheckingHandler.postDelayed( 260 mPlaneStatusCheckingHandler.postDelayed( in onResume()
|
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
D | VideoCapturerAndroid.java | 153 cameraThreadHandler.postDelayed(this, CAMERA_OBSERVER_PERIOD_MS); 448 cameraThreadHandler.postDelayed(openCameraOnCodecThreadRunner, OPEN_CAMERA_DELAY_MS); in startCaptureOnCameraThread() 469 cameraThreadHandler.postDelayed(cameraObserver, CAMERA_OBSERVER_PERIOD_MS); in startCaptureOnCameraThread()
|
/external/libchrome/base/android/java/src/org/chromium/base/ |
D | ThreadUtils.java | 191 getUiThreadHandler().postDelayed(task, delayMillis); in postOnUiThreadDelayed()
|