/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/surfaceeffects/turbulencenoise/ |
D | TurbulenceNoiseControllerTest.kt | 38 private val fakeSystemClock = FakeSystemClock() constant 40 private val fakeExecutor = FakeExecutor(fakeSystemClock) 55 fakeSystemClock.advanceTime(config.easeInDuration.toLong()) in play_playsTurbulenceNoiseInOrder() 59 fakeSystemClock.advanceTime(config.maxDuration.toLong()) in play_playsTurbulenceNoiseInOrder() 63 fakeSystemClock.advanceTime(config.easeOutDuration.toLong()) in play_playsTurbulenceNoiseInOrder() 95 fakeSystemClock.advanceTime(config.maxDuration.toLong() / 2) in finish_mainAnimationPlaying_playsEaseOutAnimation() 113 fakeSystemClock.advanceTime(config.maxDuration.toLong() / 2) in finish_nonMainAnimationPlaying_doesNotFinishAnimation() 139 fakeSystemClock.advanceTime( in onAnimationFinished_resetsStateCorrectly() 164 fakeSystemClock.advanceTime(config.maxDuration.toLong()) in updateColor_updatesCorrectColor()
|
D | TurbulenceNoiseViewTest.kt | 34 private val fakeSystemClock = FakeSystemClock() constant 36 private val fakeExecutor = FakeExecutor(fakeSystemClock) 48 fakeSystemClock.advanceTime(config.maxDuration.toLong()) in play_playsAnimation() 64 fakeSystemClock.advanceTime(config.easeInDuration.toLong()) in playEaseIn_playsEaseInAnimation() 80 fakeSystemClock.advanceTime(config.easeOutDuration.toLong()) in playEaseOut_playsEaseOutAnimation()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/haptics/slider/ |
D | SliderHapticFeedbackProviderTest.kt | 27 import com.android.systemui.util.time.fakeSystemClock 66 kosmos.fakeSystemClock, in setup() 158 fakeSystemClock.advanceTime(1000) in playHapticAtProgress_onQuickSuccession_playsLowTicksOnce() 180 fakeSystemClock.advanceTime(1000) in playHapticAtProgress_beforeNextDragThreshold_playsLowTicksOnce() 185 fakeSystemClock.advanceTime(dragTextureThresholdMillis.toLong()) in playHapticAtProgress_beforeNextDragThreshold_playsLowTicksOnce() 205 fakeSystemClock.advanceTime(1000) in playHapticAtProgress_afterNextDragThreshold_playsLowTicksTwice() 210 fakeSystemClock.advanceTime(dragTextureThresholdMillis.toLong()) in playHapticAtProgress_afterNextDragThreshold_playsLowTicksTwice() 300 fakeSystemClock.advanceTime(1000) in dragTextureLastProgress_afterDragTextureHaptics_keepsLastDragTextureProgress() 316 fakeSystemClock.advanceTime(1000) in dragTextureLastProgress_afterDragTextureHaptics_resetsOnHandleReleased()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/common/data/repository/ |
D | PackageUpdateMonitorTest.kt | 35 import com.android.systemui.util.time.fakeSystemClock 76 systemClock = fakeSystemClock, in setUp() 79 fakeSystemClock.setCurrentTimeMillis(0) in setUp() 103 fakeSystemClock.setCurrentTimeMillis(100) in packageAdded() 124 fakeSystemClock.setCurrentTimeMillis(200) in packageRemoved() 145 fakeSystemClock.setCurrentTimeMillis(100) in packageChanged() 166 fakeSystemClock.setCurrentTimeMillis(100) in packageUpdateStarted() 187 fakeSystemClock.setCurrentTimeMillis(100) in packageUpdateFinished()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/call/ui/viewmodel/ |
D | CallChipViewModelTest.kt | 33 import com.android.systemui.util.time.fakeSystemClock 85 kosmos.fakeSystemClock.setCurrentTimeMillis(3000) in chip_inCall_startTimeConvertedToElapsedRealtime() 86 kosmos.fakeSystemClock.setElapsedRealtime(400_000) in chip_inCall_startTimeConvertedToElapsedRealtime() 112 kosmos.fakeSystemClock.setCurrentTimeMillis(3000) in chip_resetsCorrectly() 113 kosmos.fakeSystemClock.setElapsedRealtime(400_000) in chip_resetsCorrectly() 125 kosmos.fakeSystemClock.setCurrentTimeMillis(103_000) in chip_resetsCorrectly() 126 kosmos.fakeSystemClock.setElapsedRealtime(500_000) in chip_resetsCorrectly()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/homecontrols/ |
D | HomeControlsComponentInteractorTest.kt | 43 import com.android.systemui.util.time.fakeSystemClock 71 fakeSystemClock.setCurrentTimeMillis(0) in setUp() 193 fakeSystemClock.advanceTime(100) in testMonitoringUpdatesAndRestart() 199 fakeSystemClock.advanceTime(MAX_UPDATE_CORRELATION_DELAY.inWholeMilliseconds) in testMonitoringUpdatesAndRestart() 206 fakeSystemClock.advanceTime(500) in testMonitoringUpdatesAndRestart() 237 fakeSystemClock.advanceTime(100) in testMonitoringUpdatesAndRestart_dreamEndsAfterDelay() 243 fakeSystemClock.advanceTime(MAX_UPDATE_CORRELATION_DELAY.inWholeMilliseconds + 100) in testMonitoringUpdatesAndRestart_dreamEndsAfterDelay() 250 fakeSystemClock.advanceTime(500) in testMonitoringUpdatesAndRestart_dreamEndsAfterDelay() 267 fakeSystemClock.setUptimeMillis(100000L) in testDreamUnexpectedlyEnds_triggersUserActivity()
|
D | HomeControlsComponentInteractorKosmos.kt | 30 import com.android.systemui.util.time.fakeSystemClock 40 systemClock = fakeSystemClock, in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/surfaceeffects/ripple/ |
D | RippleAnimationTest.kt | 34 private val fakeSystemClock = FakeSystemClock() constant in com.android.systemui.surfaceeffects.ripple.RippleAnimationTest 35 private val fakeExecutor = FakeExecutor(fakeSystemClock) 108 fakeSystemClock.advanceTime(config.duration) in play_updatesIsPlaying() 123 fakeSystemClock.advanceTime(config.duration) in play_onEnd_triggersOnAnimationEnd()
|
D | MultiRippleControllerTest.kt | 37 private val fakeSystemClock = FakeSystemClock() constant 40 private val fakeExecutor = FakeExecutor(fakeSystemClock) 99 fakeSystemClock.advanceTime(rippleAnimationConfig.duration) in play_onEnd_removesAnimation()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/concurrency/ |
D | FakeExecutorKosmos.kt | 21 import com.android.systemui.util.time.fakeSystemClock 23 var Kosmos.fakeExecutor by Kosmos.Fixture { FakeExecutor(fakeSystemClock) } in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/common/data/repository/ |
D | PackageChangeRepositoryKosmos.kt | 20 import com.android.systemui.util.time.fakeSystemClock 25 Kosmos.Fixture { FakePackageChangeRepository(fakeSystemClock) } in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bluetooth/qsdialog/ |
D | BluetoothTileDialogDelegateTest.kt | 92 private val fakeSystemClock = FakeSystemClock() constant 116 fakeSystemClock, in setUp() 167 fakeSystemClock.setElapsedRealtime(Long.MAX_VALUE) in testShowDialog_displayBluetoothDevice() 216 fakeSystemClock, in testDeviceItemViewHolder_cachedDeviceBusy() 236 fakeSystemClock.setElapsedRealtime(Long.MAX_VALUE) in testOnDeviceUpdated_hideSeeAll_showPairNew() 271 fakeSystemClock, in testShowDialog_cachedHeightLargerThanMinHeight_displayFromCachedHeight() 294 fakeSystemClock, in testShowDialog_cachedHeightLessThanMinHeight_displayFromUiProperties() 317 fakeSystemClock, in testShowDialog_bluetoothEnabled_autoOnToggleGone()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/chips/call/ui/viewmodel/ |
D | CallChipViewModelKosmos.kt | 23 import com.android.systemui.util.time.fakeSystemClock 30 systemClock = fakeSystemClock, in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/ |
D | TemperatureControlBehaviorTest.kt | 33 private val fakeSystemClock = FakeSystemClock() constant in com.android.systemui.controls.ui.TemperatureControlBehaviorTest 47 FakeExecutor(fakeSystemClock), in setup() 48 FakeExecutor(fakeSystemClock), in setup()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/chips/screenrecord/ui/viewmodel/ |
D | ScreenRecordChipViewModelKosmos.kt | 24 import com.android.systemui.util.time.fakeSystemClock 33 systemClock = fakeSystemClock, in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/chips/casttootherdevice/ui/viewmodel/ |
D | CastToOtherDeviceChipViewModelKosmos.kt | 24 import com.android.systemui.util.time.fakeSystemClock 31 systemClock = fakeSystemClock, in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/chips/sharetoapp/ui/viewmodel/ |
D | ShareToAppChipViewModelKosmos.kt | 24 import com.android.systemui.util.time.fakeSystemClock 31 systemClock = fakeSystemClock, in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | EmergencyButtonControllerTest.kt | 64 val fakeSystemClock = FakeSystemClock() constant in com.android.keyguard.EmergencyButtonControllerTest 65 val mainExecutor = FakeExecutor(fakeSystemClock) 66 val backgroundExecutor = FakeExecutor(fakeSystemClock)
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | FlashlightControllerImplTest.kt | 65 private lateinit var fakeSystemClock: FakeSystemClock variable in com.android.systemui.statusbar.policy.FlashlightControllerImplTest 73 fakeSystemClock = FakeSystemClock() in setup() 74 backgroundExecutor = FakeExecutor(fakeSystemClock) in setup()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/ |
D | AppAdapterTest.kt | 51 private val fakeSystemClock = FakeSystemClock() in <lambda>() constant 52 private val backgroundExecutor = FakeExecutor(fakeSystemClock) in <lambda>() 53 private val uiExecutor = FakeExecutor(fakeSystemClock) in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/events/ |
D | SystemEventCoordinatorTest.kt | 49 private val fakeSystemClock = FakeSystemClock() constant 63 fakeSystemClock, in setup()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/haptics/slider/ |
D | SeekbarHapticPluginTest.kt | 27 import com.android.systemui.util.time.fakeSystemClock 147 kosmos.fakeSystemClock, in createPlugin()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/time/ |
D | FakeSystemClockKosmos.kt | 35 val Kosmos.fakeSystemClock by Kosmos.Fixture { FakeSystemClock() } in <lambda>() constant
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | LetterboxBackgroundProviderTest.kt | 47 private val fakeSystemClock = FakeSystemClock() in <lambda>() constant 48 private val fakeExecutor = FakeExecutor(fakeSystemClock) in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/external/ |
D | CloseShadeRightAfterClickTestB339290820.kt | 46 import com.android.systemui.util.time.fakeSystemClock 63 bindDelayExecutor = FakeExecutor(fakeSystemClock) in <lambda>()
|