Home
last modified time | relevance | path

Searched refs:postDelayed (Results 1 – 25 of 28) sorted by relevance

12

/external/robolectric-shadows/utils/src/test/java/org/robolectric/util/
DSchedulerTest.java78 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/
DShadowHandlerTest.java112 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()
DShadowLooperTest.java106 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()
DShadowViewTest.java319 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/
DAudioTest.java190 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));
DScreenResponseFragment.java182 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() {
DMidiTest.java108 handler.postDelayed(cancelMidiOutRunnable, noteDelay * inputRepetitions + timeout); in testMidiOut()
134 handler.postDelayed(requestNoteRunnable, noteDelay); in testMidiIn()
273 handler.postDelayed(finishMidiInRunnable, timeout);
DMainActivity.java123 handler.postDelayed(new Runnable() { in onResume()
407 handler.postDelayed(new Runnable() { in onClickProgram()
/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/
DScheduler.java141 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/
DShadowSystemVibrator.java99 handler.postDelayed(stopVibratingRunnable, this.milliseconds); in recordVibrate()
112 handler.postDelayed(stopVibratingRunnable, endDelayMillis); in recordVibratePattern()
DShadowView.java368 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()
DShadowScroller.java64 ShadowApplication.getInstance().getForegroundThreadScheduler().postDelayed(new Runnable() { in startScroll()
DShadowOverScroller.java67 getScheduler().postDelayed(new Runnable() { in startScroll()
DShadowChoreographer.java98 handler.postDelayed(action, delayMillis);
DShadowMessageQueue.java130 scheduler.postDelayed(callback, when - scheduler.getCurrentTime()); in enqueueMessage()
DShadowLooper.java317 getScheduler().postDelayed(runnable, delayMillis, TimeUnit.MILLISECONDS); in post()
/external/ims/rcs/presencepolling/tests/src/com/android/service/ims/presence/
DPresencePollingTestBase.java63 h.postDelayed(lock::countDown, delayMs); in waitForHandlerActionDelayed()
/external/skia/platform_tools/android/apps/arcore/src/main/java/org/skia/arcore/
DHelloArActivity.java89 mPlaneStatusCheckingHandler.postDelayed(
260 mPlaneStatusCheckingHandler.postDelayed( in onResume()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/widget/
DNumberPicker.java71 mHandler.postDelayed(this, mSpeed);
74 mHandler.postDelayed(this, mSpeed);
/external/skqp/platform_tools/android/apps/arcore/src/main/java/org/skia/arcore/
DHelloArActivity.java89 mPlaneStatusCheckingHandler.postDelayed(
260 mPlaneStatusCheckingHandler.postDelayed( in onResume()
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DVideoCapturerAndroid.java153 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/
DThreadUtils.java191 getUiThreadHandler().postDelayed(task, delayMillis); in postOnUiThreadDelayed()
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/prefill/
DBitmapPreFillRunner.java137 handler.postDelayed(this, getNextDelay()); in run()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DRobolectricTest.java84 new Handler().postDelayed(new Runnable() { in idleMainLooper_executesScheduledTasks()
/external/volley/src/main/java/com/android/volley/toolbox/
DImageLoader.java515 mHandler.postDelayed(mRunnable, mBatchResponseDelayMs);

12