/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()
|
D | ShadowViewTest.java | 319 view.postDelayed(runnable, 1); in shouldPostActionsToTheMessageQueueWithDelay() 329 view.postDelayed(runnable, 1); in shouldRemovePostedCallbacksFromMessageQueue()
|
/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 | 182 handler.postDelayed(startBlinking, enableFullScreen ? 800 : 300); in startBlinkLatency() 205 handler.postDelayed(doBlinkRunnable, 100); 261 handler.postDelayed(doBlinkRunnable, 550 + (long) (Math.random()*100)); 325 handler.postDelayed(doBlinkRunnable, 40 + (long) (Math.random()*20)); 471 handler.postDelayed(startBrightness, enableFullScreen ? 1000 : CURVE_BLINK_TIME); in startBrightnessCurve() 493 handler.postDelayed(finishBrightnessCurve, CURVE_TIMEOUT); 496 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);
|
D | MainActivity.java | 123 handler.postDelayed(new Runnable() { in onResume() 407 handler.postDelayed(new Runnable() { in onClickProgram()
|
/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/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 | 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 | ShadowScroller.java | 64 ShadowApplication.getInstance().getForegroundThreadScheduler().postDelayed(new Runnable() { in startScroll()
|
D | ShadowOverScroller.java | 67 getScheduler().postDelayed(new Runnable() { in startScroll()
|
D | ShadowChoreographer.java | 98 handler.postDelayed(action, delayMillis);
|
D | ShadowMessageQueue.java | 130 scheduler.postDelayed(callback, when - scheduler.getCurrentTime()); in enqueueMessage()
|
D | ShadowLooper.java | 317 getScheduler().postDelayed(runnable, delayMillis, TimeUnit.MILLISECONDS); in post()
|
/external/ims/rcs/presencepolling/tests/src/com/android/service/ims/presence/ |
D | PresencePollingTestBase.java | 63 h.postDelayed(lock::countDown, delayMs); in waitForHandlerActionDelayed()
|
/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/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/widget/ |
D | NumberPicker.java | 71 mHandler.postDelayed(this, mSpeed); 74 mHandler.postDelayed(this, mSpeed);
|
/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/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()
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/prefill/ |
D | BitmapPreFillRunner.java | 137 handler.postDelayed(this, getNextDelay()); in run()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/ |
D | RobolectricTest.java | 84 new Handler().postDelayed(new Runnable() { in idleMainLooper_executesScheduledTasks()
|
/external/volley/src/main/java/com/android/volley/toolbox/ |
D | ImageLoader.java | 515 mHandler.postDelayed(mRunnable, mBatchResponseDelayMs);
|