Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/concurrency/
H A DFakeExecutorTest.java119 assertEquals(1, fakeExecutor.advanceClockToNext()); in testDelayed()
153 assertEquals(1, fakeExecutor.advanceClockToNext()); in testDelayed_AdvanceAndRun()
158 assertEquals(49, fakeExecutor.advanceClockToNext()); in testDelayed_AdvanceAndRun()
163 assertEquals(50, fakeExecutor.advanceClockToNext()); in testDelayed_AdvanceAndRun()
170 assertEquals(0, fakeExecutor.advanceClockToNext()); in testDelayed_AdvanceAndRun()
220 fakeExecutor.advanceClockToNext(); in testExecutionOrder()
223 fakeExecutor.advanceClockToNext(); in testExecutionOrder()
226 fakeExecutor.advanceClockToNext(); in testExecutionOrder()
235 fakeExecutor.advanceClockToNext(); in testExecutionOrder()
238 fakeExecutor.advanceClockToNext(); in testExecutionOrder()
[all …]
H A DRepeatableExecutorTest.java66 mFakeExecutor.advanceClockToNext(); in testRepeats()
H A DMessageRouterImplTest.java310 mFakeExecutor.advanceClockToNext(); in testSingleDelayedMessage_NoMetaData()
325 mFakeExecutor.advanceClockToNext(); in testSingleDelayedMessage_WithMetaData()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/fontscaling/
H A DFontScalingDialogTest.kt128 backgroundDelayableExecutor.advanceClockToNext()
133 backgroundDelayableExecutor.advanceClockToNext()
159 backgroundDelayableExecutor.advanceClockToNext()
164 backgroundDelayableExecutor.advanceClockToNext()
194 backgroundDelayableExecutor.advanceClockToNext()
228 backgroundDelayableExecutor.advanceClockToNext()
243 backgroundDelayableExecutor.advanceClockToNext()
252 backgroundDelayableExecutor.advanceClockToNext()
287 backgroundDelayableExecutor.advanceClockToNext()
303 backgroundDelayableExecutor.advanceClockToNext()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/models/player/
H A DSeekBarViewModelTest.kt561 advanceClockToNext()
582 advanceClockToNext()
610 advanceClockToNext()
630 advanceClockToNext()
636 advanceClockToNext()
657 advanceClockToNext()
667 advanceClockToNext()
687 advanceClockToNext()
696 advanceClockToNext()
709 advanceClockToNext()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/pipeline/
H A DMediaTimeoutListenerTest.kt163 assertThat(executor.advanceClockToNext()).isEqualTo(PAUSED_MEDIA_TIMEOUT)
237 assertThat(executor.advanceClockToNext()).isEqualTo(PAUSED_MEDIA_TIMEOUT)
269 advanceClockToNext()
314 advanceClockToNext()
349 assertThat(executor.advanceClockToNext()).isEqualTo(RESUME_MEDIA_TIMEOUT)
367 assertThat(executor.advanceClockToNext()).isEqualTo(RESUME_MEDIA_TIMEOUT)
378 assertThat(executor.advanceClockToNext()).isEqualTo(RESUME_MEDIA_TIMEOUT)
393 assertThat(executor.advanceClockToNext()).isEqualTo(PAUSED_MEDIA_TIMEOUT)
614 assertThat(executor.advanceClockToNext()).isEqualTo(duration)
644 assertThat(executor.advanceClockToNext()).isEqualTo(duration * 2)
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/service/
H A DPersistentConnectionManagerTest.java118 mFakeExecutor.advanceClockToNext(); in testRetryOnBindFailure()
136 mFakeExecutor.advanceClockToNext(); in testStopDoesNotReconnect()
/aosp14/frameworks/base/packages/SystemUI/docs/
H A Dexecutors.md230 <td>advanceClockToNext()</td>
264 `advanceClockToNext()` and `advanceClockToLast()`, this behavior will not be
293 executor.advanceClockToNext(); // One more thing ready to run.
296 executor.advanceClockToNext(); // One more thing ready to run.
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/concurrency/
H A DFakeExecutor.java97 public long advanceClockToNext() { in advanceClockToNext() method in FakeExecutor
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/sensors/
H A DProximityCheckTest.java82 mFakeExecutor.advanceClockToNext(); in testTimeout()
H A DProximitySensorImplDualTest.java208 mFakeExecutor.advanceClockToNext(); in testSecondaryPausing()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DVisualStabilityCoordinatorTest.java335 mFakeExecutor.advanceClockToNext(); in testTemporarilyAllowSectionChangesTimeout()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
H A DUdfpsControllerTest.java976 mFgExecutor.advanceClockToNext(); in aodInterruptTimeoutParameterized()
1043 mFgExecutor.advanceClockToNext(); in aodInterruptCancelTimeoutActionOnFingerUpParameterized()