Home
last modified time | relevance | path

Searched refs:setElapsedRealtime (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/charging/
DWiredChargingRippleControllerTest.kt129 systemClock.setElapsedRealtime(time) in testDebounceRipple()
137 systemClock.setElapsedRealtime(time) in testDebounceRipple()
146 systemClock.setElapsedRealtime(time) in testDebounceRipple()
153 systemClock.setElapsedRealtime(time + 500000) in testDebounceRipple()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/call/ui/viewmodel/
DCallChipViewModelTest.kt86 kosmos.fakeSystemClock.setElapsedRealtime(400_000) in chip_inCall_startTimeConvertedToElapsedRealtime()
113 kosmos.fakeSystemClock.setElapsedRealtime(400_000) in chip_resetsCorrectly()
126 kosmos.fakeSystemClock.setElapsedRealtime(500_000) in chip_resetsCorrectly()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wallet/controller/
DQuickAccessWalletControllerTest.java95 mClock.setElapsedRealtime(100L); in setUp()
182 mClock.setElapsedRealtime(100100L); in queryWalletCards_avoidStale_recreateClient()
189 mClock.setElapsedRealtime(601100L); in queryWalletCards_avoidStale_recreateClient()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/time/
DFakeSystemClock.java74 public void setElapsedRealtime(long millis) { in setElapsedRealtime() method in FakeSystemClock
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/screenrecord/ui/viewmodel/
DScreenRecordChipViewModelTest.kt116 systemClock.setElapsedRealtime(1234) in chip_timeResetsOnEachNewRecording()
125 systemClock.setElapsedRealtime(5678) in chip_timeResetsOnEachNewRecording()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/authentication/data/repository/
DAuthenticationRepositoryTest.kt184 clock.setElapsedRealtime(lockoutEndMs) in lockoutEndTimestamp()
197 clock.setElapsedRealtime(clock.elapsedRealtime() + 60.seconds.inWholeMilliseconds) in hasLockoutOccurred()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/sharetoapp/ui/viewmodel/
DShareToAppChipViewModelTest.kt151 systemClock.setElapsedRealtime(1234) in chip_timeResetsOnEachNewShare()
161 systemClock.setElapsedRealtime(5678) in chip_timeResetsOnEachNewShare()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/casttootherdevice/ui/viewmodel/
DCastToOtherDeviceChipViewModelTest.kt148 systemClock.setElapsedRealtime(1234) in chip_timeResetsOnEachNewShare()
158 systemClock.setElapsedRealtime(5678) in chip_timeResetsOnEachNewShare()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/
DMediaTimeoutListenerTest.kt569 clock.setElapsedRealtime(time + PAUSED_MEDIA_TIMEOUT) in testTimeoutCallback_dozedPastTimeout_invokedOnWakeup()
586 clock.setElapsedRealtime(time) in testTimeoutCallback_dozeShortTime_notInvokedOnWakeup()
594 clock.setElapsedRealtime(time + PAUSED_MEDIA_TIMEOUT / 2L) in testTimeoutCallback_dozeShortTime_notInvokedOnWakeup()
674 clock.setElapsedRealtime(time + duration * 2) in testSmartspaceData_dozedPastTimeout_invokedOnWakeup()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bluetooth/qsdialog/
DBluetoothTileDialogDelegateTest.kt167 fakeSystemClock.setElapsedRealtime(Long.MAX_VALUE) in testShowDialog_displayBluetoothDevice()
236 fakeSystemClock.setElapsedRealtime(Long.MAX_VALUE) in testOnDeviceUpdated_hideSeeAll_showPairNew()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DKeyguardViewMediatorTest.java733 mSystemClock.setElapsedRealtime(0L); in lockAfterScreenTimeoutUsesValueFromSettings()