/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | StatusBarTest.java | 189 mHandler.postDelayed(new Runnable() { 198 mHandler.postDelayed(new Runnable() { 207 mHandler.postDelayed(new Runnable() { 242 mHandler.postDelayed(new Runnable() { 256 mHandler.postDelayed(new Runnable() { 265 mHandler.postDelayed(new Runnable() { 279 mHandler.postDelayed(new Runnable() { 293 mHandler.postDelayed(new Runnable() { 307 mHandler.postDelayed(new Runnable() { 316 mHandler.postDelayed(new Runnable() {
|
D | PowerTest.java | 88 mHandler.postDelayed(new Runnable() { 100 mHandler.postDelayed(new Runnable() {
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | ExponentialBackoff.java | 40 public boolean postDelayed(Runnable runnable, long delayMillis) { 41 return mHandler.postDelayed(runnable, delayMillis); 54 boolean postDelayed(Runnable runnable, long delayMillis); in postDelayed() method 86 mHandlerAdapter.postDelayed(mRunnable, mCurrentDelayMs); in start() 102 mHandlerAdapter.postDelayed(mRunnable, mCurrentDelayMs); in notifyFailed()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/concurrency/ |
D | MockExecutorHandlerTest.kt | 87 handler.postDelayed(runnable, 1) in testDelayed() 88 handler.postDelayed(runnable, 50) in testDelayed() 89 handler.postDelayed(runnable, 100) in testDelayed() 151 handler.postDelayed(runnable, 50) in testRemoveCallback_postDelayed() 152 handler.postDelayed(runnable, 150) in testRemoveCallback_postDelayed() 196 handler.postDelayed(runnable, 150) in testRemoveCallback_mixed_allRemoved() 214 handler.postDelayed(runnable1, 50) in testRemoveCallback_differentRunnables_onlyMatchingRemoved() 215 handler.postDelayed(runnable2, 150) in testRemoveCallback_differentRunnables_onlyMatchingRemoved()
|
/frameworks/base/tests/RemoteDisplayProvider/src/com/android/media/remotedisplay/test/ |
D | RemoteDisplayProviderService.java | 172 mHandler.postDelayed(new Runnable() { in onConnect() 190 mHandler.postDelayed(new Runnable() { in onConnect() 204 mHandler.postDelayed(new Runnable() { in onConnect() 214 mHandler.postDelayed(new Runnable() { in onConnect() 227 mHandler.postDelayed(new Runnable() { in onConnect() 234 mHandler.postDelayed(this, 7000); in onConnect() 238 mHandler.postDelayed(this, 2000); in onConnect() 309 mHandler.postDelayed(this, 7000); 315 mHandler.postDelayed(this, 4000);
|
/frameworks/base/services/core/java/com/android/server/timezonedetector/location/ |
D | HandlerThreadingDomain.java | 97 void postDelayed(@NonNull Runnable r, @DurationMillisLong long delayMillis) { in postDelayed() method in HandlerThreadingDomain 98 getHandler().postDelayed(r, delayMillis); in postDelayed() 102 void postDelayed(Runnable r, Object token, @DurationMillisLong long delayMillis) { in postDelayed() method in HandlerThreadingDomain 103 getHandler().postDelayed(r, token, delayMillis); in postDelayed()
|
D | ThreadingDomain.java | 113 abstract void postDelayed(@NonNull Runnable runnable, @DurationMillisLong long delayMillis); in postDelayed() method in ThreadingDomain 115 abstract void postDelayed(Runnable r, Object token, @DurationMillisLong long delayMillis); in postDelayed() method in ThreadingDomain 147 ThreadingDomain.this.postDelayed(() -> { in runDelayed()
|
/frameworks/base/core/tests/coretests/src/android/animation/ |
D | EventsTest.java | 192 handler.postDelayed(mFuture::release, timeout); in FutureReleaseListener() 198 handler.postDelayed(mFuture::release, FUTURE_RELEASE_DELAY); in onAnimationEnd() 369 handler.postDelayed(new Canceler(mAnimator, mFuture), ANIM_MID_DURATION); in testPlayingCancel() 390 handler.postDelayed(new Ender(mAnimator, mFuture), ANIM_MID_DURATION); in testPlayingEnd() 412 handler.postDelayed(new Canceler(mAnimator, mFuture), ANIM_MID_DURATION); in testPlayingDelayedCancel() 434 handler.postDelayed(new Ender(mAnimator, mFuture), ANIM_MID_DURATION); in testPlayingDelayedEnd() 458 handler.postDelayed(new Canceler(mAnimator, mFuture), ANIM_MID_DELAY); in testPlayingDelayedCancelMidDelay() 482 handler.postDelayed(new Ender(mAnimator, mFuture), ANIM_MID_DELAY); in testPlayingDelayedEndMidDelay() 594 handler.postDelayed(new Pauser(mAnimator, mFuture), ANIM_PAUSE_DELAY); in testPauseResume() 595 handler.postDelayed(new Resumer(mAnimator, mFuture), in testPauseResume() [all …]
|
D | ViewPropertyAnimatorTest.java | 121 handler.postDelayed(mFuture::release, timeout); in FutureReleaseListener() 127 handler.postDelayed(mFuture::release, FUTURE_RELEASE_DELAY); in onAnimationEnd() 256 handler.postDelayed(new Canceler(mAnimator, mFuture), ANIM_MID_DURATION); in testPlayingCancel() 278 handler.postDelayed(new Canceler(mAnimator, mFuture), ANIM_MID_DURATION); in testPlayingDelayedCancel() 302 handler.postDelayed(new Canceler(mAnimator, mFuture), ANIM_MID_DELAY); in testPlayingDelayedCancelMidDelay()
|
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ |
D | ViewLayerInvalidationActivity.java | 75 container.postDelayed(textColorSetter, TEXT_COLOR_INTERVAL); in onCreate() 76 container.postDelayed(nestedLayerSetter, NESTING_INTERVAL); in onCreate() 77 container.postDelayed(randomInvalidatesSetter, INVALIDATING_INTERVAL); in onCreate() 90 container.postDelayed(textColorSetter, TEXT_COLOR_INTERVAL); 99 container.postDelayed(randomInvalidatesSetter, INVALIDATING_INTERVAL); 117 container.postDelayed(nestedLayerSetter, NESTING_INTERVAL);
|
/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/location/ |
D | TestThreadingDomain.java | 79 postDelayed(r, null, 0); in post() 88 void postDelayed(Runnable r, long delayMillis) { in postDelayed() method in TestThreadingDomain 89 postDelayed(r, null, delayMillis); in postDelayed() 93 void postDelayed(Runnable r, Object token, long delayMillis) { in postDelayed() method in TestThreadingDomain
|
/frameworks/base/services/core/java/com/android/server/ondeviceintelligence/callbacks/ |
D | ListenableDownloadCallback.java | 57 handler.postDelayed(this, in ListenableDownloadCallback() 65 handler.postDelayed(this, idleTimeoutMs); in onDownloadStarted() 72 handler.postDelayed(this, idleTimeoutMs); // queue fresh timeout task for next update. in onDownloadProgress()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wallpaper/ |
D | WallpaperServiceTests.java | 46 boolean[] postDelayed = {false}; in testNotifyColorsChanged_rateLimit() 51 postDelayed[0] = true; in testNotifyColorsChanged_rateLimit() 81 assertTrue("Event should have been delayed", postDelayed[0]); in testNotifyColorsChanged_rateLimit()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/ |
D | HandlerInjector.java | 33 public void postDelayed(Runnable runnable, long delayMillis) { in postDelayed() method in HandlerInjector 34 mHandler.postDelayed(runnable, delayMillis); in postDelayed()
|
/frameworks/base/core/java/android/view/ |
D | HandlerActionQueue.java | 33 postDelayed(action, 0); in post() 36 public void postDelayed(Runnable action, long delayMillis) { in postDelayed() method in HandlerActionQueue 85 handler.postDelayed(handlerAction.action, handlerAction.delay); in executeActions()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/common/ui/view/ |
D | LongPressHandlingViewInteractionHandlerTest.kt | 47 @Mock private lateinit var postDelayed: (Runnable, Long) -> DisposableHandle in <lambda>() variable in com.android.systemui.common.ui.view.LongPressHandlingViewInteractionHandlerTest 59 whenever(postDelayed.invoke(any(), any())).thenAnswer { invocation -> in <lambda>() 66 postDelayed = postDelayed, in <lambda>()
|
/frameworks/native/opengl/tests/testPauseResume/src/com/android/test/ |
D | TestActivity.java | 40 mView.postDelayed(mRunnable, PAUSE_DELAY); 50 mView.postDelayed(mRunnable, PAUSE_DELAY); in onCreate()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/utils/ |
D | HandlerInjectorTest.java | 53 mHandlerInjector.postDelayed(mRunnable, TEST_DELAY_MILLIS); in postDelayed_doByMainThreadHandler() 55 verify(mHandler).postDelayed(mRunnable, TEST_DELAY_MILLIS); in postDelayed_doByMainThreadHandler()
|
/frameworks/base/core/java/android/widget/ |
D | AdapterViewFlipper.java | 163 postDelayed(mFlipRunnable, mFlipInterval); in showNext() 178 postDelayed(mFlipRunnable, mFlipInterval); in showPrevious() 206 postDelayed(mFlipRunnable, mFlipInterval); in updateRunning()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | UnlockedScreenOffAnimationControllerTest.kt | 136 verify(handler).postDelayed(callbackCaptor.capture(), anyLong()) in testAodUiShownIfNotInteractive() 152 verify(handler).postDelayed(callbackCaptor.capture(), anyLong()) in testAodUiShowNotInvokedIfWakingUp() 175 verify(handler).postDelayed(callbackCaptor.capture(), anyLong()) in testAodUiNotShownIfInteractive() 190 verify(handler).postDelayed(callbackCaptor.capture(), anyLong()) in testAodUiShownIfGloballyInteractiveButDefaultDisplayNotInteractive()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/remote/ |
D | RemoteCallTest.java | 128 postDelayed( in testCall_whenTimesOutBeforeCallbackIsCalled_returnsTimeOut() 165 postDelayed( in testCall_whenCallbackIsCalledBeforeTimeOut_returnsResult() 239 postDelayed( in testExecute_whenTimesOutBeforeCallback_returnsTimeOut() 263 private static void postDelayed(Handler handler, ThrowingRunnable runnable, long delayMillis) { in postDelayed() method in RemoteCallTest 264 handler.postDelayed(() -> uncheck(runnable), delayMillis); in postDelayed()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | PinShapeNonHintingViewTest.kt | 57 underTest.postDelayed( in testDelete() 69 underTest.postDelayed( in testReset()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/common/ui/view/ |
D | LongPressHandlingViewInteractionHandler.kt | 29 private val postDelayed: (block: Runnable, delayMs: Long) -> DisposableHandle, constant in com.android.systemui.common.ui.view.LongPressHandlingViewInteractionHandler 101 postDelayed( in scheduleLongPress()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | AutoHideController.java | 110 mHandler.postDelayed(checkBarModesRunnable, 500); // longer than home -> launcher in resumeSuspendedAutoHide() 151 mHandler.postDelayed(mAutoHide, getAutoHideTimeout()); in scheduleAutoHide() 179 mHandler.postDelayed(mAutoHide, getUserAutoHideTimeout()); in userAutoHide()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | HandlerActionQueueTest.java | 35 runQueue.postDelayed(runnable1, 100); in testPostAndRemove() 36 runQueue.postDelayed(null, 500); in testPostAndRemove()
|