/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/concurrency/ |
D | FakeExecutorTest.java | 118 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 …]
|
D | MockExecutorHandlerTest.kt | 99 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()
|
D | RepeatableExecutorTest.java | 65 mFakeExecutor.advanceClockToNext(); in testRepeats()
|
D | MessageRouterImplTest.java | 309 mFakeExecutor.advanceClockToNext(); in testSingleDelayedMessage_NoMetaData() 324 mFakeExecutor.advanceClockToNext(); in testSingleDelayedMessage_WithMetaData()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/fontscaling/ |
D | FontScalingDialogDelegateTest.kt | 154 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/ |
D | SeekBarViewModelTest.kt | 561 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/ |
D | MediaTimeoutListenerTest.kt | 163 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/ |
D | PersistentConnectionManagerTest.java | 127 mFakeExecutor.advanceClockToNext(); in testRetryOnBindFailure() 145 mFakeExecutor.advanceClockToNext(); in testStopDoesNotReconnect()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/concurrency/ |
D | FakeExecutor.java | 97 public long advanceClockToNext() { in advanceClockToNext() method in FakeExecutor
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/sensors/ |
D | ProximityCheckTest.java | 82 mFakeExecutor.advanceClockToNext(); in testTimeout()
|
D | ProximitySensorImplDualTest.java | 208 mFakeExecutor.advanceClockToNext(); in testSecondaryPausing()
|
/frameworks/base/packages/SystemUI/docs/ |
D | executors.md | 237 <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/ |
D | MediaControlInteractorTest.kt | 228 kosmos.fakeExecutor.advanceClockToNext() in removeMediaControl()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | VisualStabilityCoordinatorTest.java | 353 mFakeExecutor.advanceClockToNext(); in testTemporarilyAllowSectionChangesTimeout()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/biometrics/ |
D | UdfpsControllerTest.java | 966 mFgExecutor.advanceClockToNext(); in aodInterruptTimeoutParameterized() 1034 mFgExecutor.advanceClockToNext(); in aodInterruptCancelTimeoutActionOnFingerUpParameterized()
|