Home
last modified time | relevance | path

Searched refs:advanceClockToLast (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/concurrency/
DMockExecutorHandlerTest.kt104 assertEquals(99, fakeExecutor.advanceClockToLast()) in testDelayed()
137 assertEquals(99, fakeExecutor.advanceClockToLast()) in testAtTime()
201 fakeExecutor.advanceClockToLast() in testRemoveCallback_mixed_allRemoved()
220 fakeExecutor.advanceClockToLast() in testRemoveCallback_differentRunnables_onlyMatchingRemoved()
DFakeExecutorTest.java123 assertEquals(99, fakeExecutor.advanceClockToLast()); in testDelayed()
157 assertEquals(99, fakeExecutor.advanceClockToLast()); in testAtTime()
306 fakeExecutor.advanceClockToLast(); in testRemoval_single()
346 fakeExecutor.advanceClockToLast(); in testRemoval_multi()
DMessageRouterImplTest.java341 mFakeExecutor.advanceClockToLast(); in testMultipleDelayedMessages()
363 mFakeExecutor.advanceClockToLast(); in testCancelDelayedMessages()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/flags/
DRestartDozeListenerTest.kt81 executor.advanceClockToLast() in testRestoreDozeState_dozingShouldStart()
92 executor.advanceClockToLast() in testRestoreDozeState_dozingShouldNotStart()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DFgsManagerControllerTest.java238 mBackgroundExecutor.advanceClockToLast(); in testNumPackagesListener()
243 mBackgroundExecutor.advanceClockToLast(); in testNumPackagesListener()
248 mBackgroundExecutor.advanceClockToLast(); in testNumPackagesListener()
253 mBackgroundExecutor.advanceClockToLast(); in testNumPackagesListener()
408 mBackgroundExecutor.advanceClockToLast(); in setShowStopButtonForUserAllowlistedApps()
421 mBackgroundExecutor.advanceClockToLast(); in setShowUserVisibleJobs()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicyTest.kt203 executor.advanceClockToLast() in testAppTransitionFinished_doesNotShowManagedProfileIcon()
205 executor.advanceClockToLast() in testAppTransitionFinished_doesNotShowManagedProfileIcon()
216 executor.advanceClockToLast() in testAppTransitionFinished_showsManagedProfileIcon()
218 executor.advanceClockToLast() in testAppTransitionFinished_showsManagedProfileIcon()
DNotificationTapHelperTest.java335 mFakeExecutor.advanceClockToLast(); in drainExecutor()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DTileServiceManagerTest.java240 mFakeExecutor.advanceClockToLast(); in testStopListeningAndUnbindImmediatelyAfterUpdate()
259 mFakeExecutor.advanceClockToLast(); in testStopListeningAndUnbindImmediatelyAfterUpdate_ifRequestedFromTileService()
277 mFakeExecutor.advanceClockToLast(); in testNotUnbindImmediatelyAfterUpdate_ifRequestedFromSystemUI()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/volume/
DCsdWarningDialogTest.java69 executor.advanceClockToLast(); in create1XCsdDialogAndWait_sendsNotification()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/concurrency/
DFakeExecutor.java121 public long advanceClockToLast() { in advanceClockToLast() method in FakeExecutor
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/
DControlsProviderLifecycleManagerTest.kt202 executor.advanceClockToLast() in testMaybeBindAndLoad_timeout()
215 executor.advanceClockToLast() in testMaybeBindAndLoad_timeoutCancelled()
DControlsBindingControllerImplTest.kt96 executor.advanceClockToLast() in tearDown()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DHeadsUpCoordinatorTest.kt188 executor.advanceClockToLast() in <lambda>()
203 executor.advanceClockToLast() in <lambda>()
218 executor.advanceClockToLast() in <lambda>()
262 executor.advanceClockToLast() in <lambda>()
274 executor.advanceClockToLast() in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DNotificationsQSContainerControllerTest.kt536 delayableExecutor.advanceClockToLast() in testWindowInsetDebounce()
605 delayableExecutor.advanceClockToLast() in given()
DNotificationsQSContainerControllerLegacyTest.kt566 delayableExecutor.advanceClockToLast() in testWindowInsetDebounce()
635 delayableExecutor.advanceClockToLast() in given()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDataProcessorTest.kt384 foregroundExecutor.advanceClockToLast() in testsetInactive_resume_dismissesMedia()
1196 foregroundExecutor.advanceClockToLast() in testDismissMedia_listenerCalled()
1335 uiExecutor.advanceClockToLast() in testOnSmartspaceMediaDataLoaded_hasNoneMediaTarget_callsRemoveListener()
1410 uiExecutor.advanceClockToLast() in testOnSmartspaceMediaDataLoaded_persistentEnabled_noTargets_inactive()
1442 uiExecutor.advanceClockToLast() in testSetRecommendationInactive_notifiesListeners()
1488 uiExecutor.advanceClockToLast() in testMediaRecommendationDisabled_removesSmartspaceData()
1489 foregroundExecutor.advanceClockToLast() in testMediaRecommendationDisabled_removesSmartspaceData()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ongoingcall/
DOngoingCallControllerTest.kt520 mainExecutor.advanceClockToLast() in callProcessChangesToVisible_listenerNotified()
541 mainExecutor.advanceClockToLast() in callProcessChangesToInvisible_listenerNotified()
/frameworks/base/packages/SystemUI/docs/
Dexecutors.md245 <td>advanceClockToLast()</td>
271 `advanceClockToNext()` and `advanceClockToLast()`, this behavior will not be
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/start/
DControlsStartableTest.kt119 fakeExecutor.advanceClockToLast() in testNothingCalledOnStart()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
DControlsListingControllerImplTest.kt145 executor.advanceClockToLast() in tearDown()