Home
last modified time | relevance | path

Searched refs:advanceClockToNext (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/concurrency/
DFakeExecutorTest.java118 assertEquals(1, fakeExecutor.advanceClockToNext()); in testDelayed()
152 assertEquals(1, fakeExecutor.advanceClockToNext()); in testAtTime()
186 assertEquals(1, fakeExecutor.advanceClockToNext()); in testDelayed_AdvanceAndRun()
191 assertEquals(49, fakeExecutor.advanceClockToNext()); in testDelayed_AdvanceAndRun()
196 assertEquals(50, fakeExecutor.advanceClockToNext()); in testDelayed_AdvanceAndRun()
203 assertEquals(0, fakeExecutor.advanceClockToNext()); in testDelayed_AdvanceAndRun()
253 fakeExecutor.advanceClockToNext(); in testExecutionOrder()
256 fakeExecutor.advanceClockToNext(); in testExecutionOrder()
259 fakeExecutor.advanceClockToNext(); in testExecutionOrder()
268 fakeExecutor.advanceClockToNext(); in testExecutionOrder()
[all …]
DMockExecutorHandlerTest.kt99 assertEquals(1, fakeExecutor.advanceClockToNext()) in testDelayed()
132 assertEquals(1, fakeExecutor.advanceClockToNext()) in testAtTime()
153 fakeExecutor.advanceClockToNext() in testRemoveCallback_postDelayed()
175 fakeExecutor.advanceClockToNext() in testRemoveCallback_postAtTime()
DRepeatableExecutorTest.java65 mFakeExecutor.advanceClockToNext(); in testRepeats()
DMessageRouterImplTest.java309 mFakeExecutor.advanceClockToNext(); in testSingleDelayedMessage_NoMetaData()
324 mFakeExecutor.advanceClockToNext(); in testSingleDelayedMessage_WithMetaData()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/fontscaling/
DFontScalingDialogDelegateTest.kt154 backgroundDelayableExecutor.advanceClockToNext() in progressIsZero_clickIconEnd_seekBarProgressIncreaseOne_fontSizeScaled()
159 backgroundDelayableExecutor.advanceClockToNext() in progressIsZero_clickIconEnd_seekBarProgressIncreaseOne_fontSizeScaled()
185 backgroundDelayableExecutor.advanceClockToNext() in progressIsMax_clickIconStart_seekBarProgressDecreaseOne_fontSizeScaled()
190 backgroundDelayableExecutor.advanceClockToNext() in progressIsMax_clickIconStart_seekBarProgressDecreaseOne_fontSizeScaled()
220 backgroundDelayableExecutor.advanceClockToNext() in progressChanged_keyWasNotSetBefore_fontScalingHasBeenChangedIsOn()
251 backgroundDelayableExecutor.advanceClockToNext() in dragSeekbar_systemFontSizeSettingsDoesNotChange()
266 backgroundDelayableExecutor.advanceClockToNext() in dragSeekbar_systemFontSizeSettingsDoesNotChange()
275 backgroundDelayableExecutor.advanceClockToNext() in dragSeekbar_systemFontSizeSettingsDoesNotChange()
302 backgroundDelayableExecutor.advanceClockToNext() in dragSeekBar_createTextPreview()
318 backgroundDelayableExecutor.advanceClockToNext() in changeFontSize_buttonIsDisabledBeforeFontSizeChangeFinishes()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/viewmodel/
DSeekBarViewModelTest.kt561 advanceClockToNext() in queuePollTaskWhenListening()
582 advanceClockToNext() in noQueuePollTaskWhenNotListening()
610 advanceClockToNext() in pollTaskQueuesAnotherPollTaskWhenPlaying()
630 advanceClockToNext() in noQueuePollTaskWhenSeeking()
636 advanceClockToNext() in noQueuePollTaskWhenSeeking()
657 advanceClockToNext() in queuePollTaskWhenDoneSeekingWithFalse()
667 advanceClockToNext() in queuePollTaskWhenDoneSeekingWithFalse()
687 advanceClockToNext() in noQueuePollTaskWhenDoneSeeking()
696 advanceClockToNext() in noQueuePollTaskWhenDoneSeeking()
709 advanceClockToNext() in startListeningQueuesPollTask()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/
DMediaTimeoutListenerTest.kt163 assertThat(executor.advanceClockToNext()).isEqualTo(PAUSED_MEDIA_TIMEOUT) in testOnMediaDataLoaded_registersTimeout_whenPaused()
237 assertThat(executor.advanceClockToNext()).isEqualTo(PAUSED_MEDIA_TIMEOUT) in testOnPlaybackStateChanged_schedulesTimeout_whenPaused()
269 advanceClockToNext() in testTimeoutCallback_invokedIfTimeout()
314 advanceClockToNext() in testSessionDestroyed_thenRestarts_resetsTimeout()
349 assertThat(executor.advanceClockToNext()).isEqualTo(RESUME_MEDIA_TIMEOUT) in testOnMediaDataLoaded_activeToResume_registersTimeout()
367 assertThat(executor.advanceClockToNext()).isEqualTo(RESUME_MEDIA_TIMEOUT) in testOnMediaDataLoaded_pausedToResume_updatesTimeout()
378 assertThat(executor.advanceClockToNext()).isEqualTo(RESUME_MEDIA_TIMEOUT) in testOnMediaDataLoaded_resumption_registersTimeout()
393 assertThat(executor.advanceClockToNext()).isEqualTo(PAUSED_MEDIA_TIMEOUT) in testOnMediaDataLoaded_resumeToActive_updatesTimeout()
614 assertThat(executor.advanceClockToNext()).isEqualTo(duration) in testSmartspaceDataLoaded_schedulesTimeout()
644 assertThat(executor.advanceClockToNext()).isEqualTo(duration * 2) in testSmartspaceDataLoaded_alreadyExists_updatesTimeout()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/service/
DPersistentConnectionManagerTest.java127 mFakeExecutor.advanceClockToNext(); in testRetryOnBindFailure()
145 mFakeExecutor.advanceClockToNext(); in testStopDoesNotReconnect()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/concurrency/
DFakeExecutor.java97 public long advanceClockToNext() { in advanceClockToNext() method in FakeExecutor
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/sensors/
DProximityCheckTest.java82 mFakeExecutor.advanceClockToNext(); in testTimeout()
DProximitySensorImplDualTest.java208 mFakeExecutor.advanceClockToNext(); in testSecondaryPausing()
/frameworks/base/packages/SystemUI/docs/
Dexecutors.md237 <td>advanceClockToNext()</td>
271 `advanceClockToNext()` and `advanceClockToLast()`, this behavior will not be
300 executor.advanceClockToNext(); // One more thing ready to run.
303 executor.advanceClockToNext(); // One more thing ready to run.
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/media/controls/domain/interactor/
DMediaControlInteractorTest.kt228 kosmos.fakeExecutor.advanceClockToNext() in removeMediaControl()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DVisualStabilityCoordinatorTest.java353 mFakeExecutor.advanceClockToNext(); in testTemporarilyAllowSectionChangesTimeout()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/biometrics/
DUdfpsControllerTest.java966 mFgExecutor.advanceClockToNext(); in aodInterruptTimeoutParameterized()
1034 mFgExecutor.advanceClockToNext(); in aodInterruptCancelTimeoutActionOnFingerUpParameterized()