/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/domain/interactor/ |
D | FromAodTransitionInteractorTest.kt | 55 import com.android.systemui.power.domain.interactor.powerInteractor 82 private lateinit var powerInteractor: PowerInteractor variable in com.android.systemui.keyguard.domain.interactor.FromAodTransitionInteractorTest 87 powerInteractor = kosmos.powerInteractor in setup() 94 powerInteractor.setAsleepForTest() in setup() 111 powerInteractor.setAwakeForTest() in testTransitionToLockscreen_onWakeup() 127 powerInteractor.setAwakeForTest() in testTransitionToOccluded_onWakeup_whenOccludingActivityOnTop() 142 powerInteractor.onCameraLaunchGestureDetected() in testTransitionToOccluded_onWakeUp_ifPowerButtonGestureDetected_fromAod_nonDismissibleKeyguard() 143 powerInteractor.setAwakeForTest() in testTransitionToOccluded_onWakeUp_ifPowerButtonGestureDetected_fromAod_nonDismissibleKeyguard() 156 powerInteractor.onCameraLaunchGestureDetected() in testTransitionToGone_onWakeUp_ifPowerButtonGestureDetected_fromAod_dismissibleKeyguard() 157 powerInteractor.setAwakeForTest() in testTransitionToGone_onWakeUp_ifPowerButtonGestureDetected_fromAod_dismissibleKeyguard() [all …]
|
D | FromDozingTransitionInteractorTest.kt | 56 import com.android.systemui.power.domain.interactor.powerInteractor 82 private lateinit var powerInteractor: PowerInteractor variable in com.android.systemui.keyguard.domain.interactor.FromDozingTransitionInteractorTest 87 powerInteractor = kosmos.powerInteractor in setup() 94 powerInteractor.setAsleepForTest() in setup() 110 powerInteractor.setAwakeForTest() in testTransitionToLockscreen_onWakeup() 130 powerInteractor.setAwakeForTest() in testTransitionToGlanceableHub_onWakeup_ifIdleOnCommunal_noOccludingActivity() 146 powerInteractor.setAwakeForTest() in testTransitionToOccluded_onWakeup_whenOccludingActivityOnTop() 167 powerInteractor.setAwakeForTest() in testTransitionToOccluded_onWakeup_whenOccludingActivityOnTop_evenIfIdleOnCommunal() 183 powerInteractor.onCameraLaunchGestureDetected() in testTransitionToOccluded_onWakeUp_ifPowerButtonGestureDetected_fromAod_nonDismissableKeyguard() 184 powerInteractor.setAwakeForTest() in testTransitionToOccluded_onWakeUp_ifPowerButtonGestureDetected_fromAod_nonDismissableKeyguard() [all …]
|
D | KeyguardOcclusionInteractorTest.kt | 56 import com.android.systemui.power.domain.interactor.powerInteractor 77 private lateinit var powerInteractor: PowerInteractor variable in com.android.systemui.keyguard.domain.interactor.KeyguardOcclusionInteractorTest 82 powerInteractor = kosmos.powerInteractor in setUp() 90 powerInteractor.setAwakeForTest() in transitionFromPowerGesture_whileGoingToSleep_isTrue() 98 powerInteractor.onCameraLaunchGestureDetected() in transitionFromPowerGesture_whileGoingToSleep_isTrue() 107 powerInteractor.setAwakeForTest() in transitionFromPowerGesture_whileAsleep_isTrue() 114 powerInteractor.onCameraLaunchGestureDetected() in transitionFromPowerGesture_whileAsleep_isTrue() 123 powerInteractor.setAwakeForTest() in transitionFromPowerGesture_whileWaking_isFalse() 136 powerInteractor.onCameraLaunchGestureDetected() in transitionFromPowerGesture_whileWaking_isFalse() 145 powerInteractor.setAwakeForTest() in transitionFromPowerGesture_whileAwake_isFalse() [all …]
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/smartspace/ |
D | SmartspaceViewModelTest.kt | 26 import com.android.systemui.power.domain.interactor.powerInteractor 43 private val powerInteractor = kosmos.powerInteractor constant in com.android.systemui.smartspace.SmartspaceViewModelTest 53 powerInteractor.setAwakeForTest() in dateVew_isAwakeTrue_true() 64 powerInteractor.setAsleepForTest() in dateVew_isAwakeFalse_false() 76 powerInteractor.setAsleepForTest() in dateVew_isAwakeMultipleTimes_correctResults() 80 powerInteractor.setAwakeForTest() in dateVew_isAwakeMultipleTimes_correctResults() 84 powerInteractor.setAsleepForTest() in dateVew_isAwakeMultipleTimes_correctResults() 88 powerInteractor.setAwakeForTest() in dateVew_isAwakeMultipleTimes_correctResults() 98 powerInteractor.setAwakeForTest() in weatherView_isAwakeTrue_doesNotEmit()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/ |
D | FoldLightRevealOverlayAnimationTest.kt | 33 import com.android.systemui.power.domain.interactor.powerInteractor 59 private val powerInteractor = kosmos.powerInteractor constant in com.android.systemui.unfold.FoldLightRevealOverlayAnimationTest 79 powerInteractor, in setup() 126 powerInteractor.setScreenPowerState(ScreenPowerState.SCREEN_ON) in foldToScreenOnWithDelay_doNotPlayFoldAnimation() 142 powerInteractor.setScreenPowerState(ScreenPowerState.SCREEN_ON) in immediateUnfoldAfterFold_removeOverlayAfterCancellation() 167 powerInteractor.setScreenPowerState(ScreenPowerState.SCREEN_ON) in foldDeviceToScreenOff() 171 powerInteractor.setScreenPowerState(ScreenPowerState.SCREEN_OFF) in foldDeviceToScreenOff() 178 powerInteractor.setScreenPowerState(ScreenPowerState.SCREEN_ON) in TestScope() 183 powerInteractor.setAsleepForTest(PowerManager.GO_TO_SLEEP_REASON_DEVICE_FOLD) in emitLastWakefulnessEventStartingToSleep()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyguard/domain/interactor/ |
D | KeyguardInteractorFactory.kt | 60 powerInteractor: PowerInteractor = PowerInteractorFactory.create().powerInteractor, in create() 95 powerInteractor = powerInteractor, in create() 99 powerInteractor = powerInteractor, in create() 120 val powerInteractor: PowerInteractor, constant in com.android.systemui.keyguard.domain.interactor.KeyguardInteractorFactory.WithDependencies
|
D | FromDreamingLockscreenHostedTransitionInteractorKosmos.kt | 23 import com.android.systemui.power.domain.interactor.powerInteractor 35 powerInteractor = powerInteractor, in <lambda>()
|
D | FromGlanceableHubTransitionInteractorKosmos.kt | 23 import com.android.systemui.power.domain.interactor.powerInteractor 35 powerInteractor = powerInteractor, in <lambda>()
|
D | FromDreamingTransitionInteractorKosmos.kt | 23 import com.android.systemui.power.domain.interactor.powerInteractor 36 powerInteractor = powerInteractor, in <lambda>()
|
D | FromOccludedTransitionInteractorKosmos.kt | 24 import com.android.systemui.power.domain.interactor.powerInteractor 36 powerInteractor = powerInteractor, in <lambda>()
|
D | FromAodTransitionInteractorKosmos.kt | 24 import com.android.systemui.power.domain.interactor.powerInteractor 36 powerInteractor = powerInteractor, in <lambda>()
|
D | FromLockscreenTransitionInteractorKosmos.kt | 23 import com.android.systemui.power.domain.interactor.powerInteractor 37 powerInteractor = powerInteractor, in <lambda>()
|
D | KeyguardDismissInteractorKosmos.kt | 24 import com.android.systemui.power.domain.interactor.powerInteractor 36 powerInteractor = powerInteractor, in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/back/domain/interactor/ |
D | BackActionInteractorTest.kt | 109 powerInteractor, in <lambda>() 127 private val powerInteractor = PowerInteractorFactory.create().powerInteractor constant 197 powerInteractor.setAwakeForTest() in shadeVisibleAndDeviceAwake_callbackRegistered() 211 powerInteractor.setAwakeForTest() in noWindowRootView_noCrashAttemptingCallbackRegistration() 221 powerInteractor.setAwakeForTest() in shadeNotVisible_callbackUnregistered() 234 powerInteractor.setAwakeForTest() in deviceAsleep_callbackUnregistered() 237 powerInteractor.setAsleepForTest() in deviceAsleep_callbackUnregistered() 248 powerInteractor.setAwakeForTest() in animationFlagOff_onBackInvoked_keyguardNotified() 262 powerInteractor.setAwakeForTest() in animationFlagOn_onBackInvoked_keyguardNotified() 276 powerInteractor.setAwakeForTest() in animationFlagOn_callbackIsAnimationCallback() [all …]
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/smartspace/viewmodel/ |
D | SmartspaceViewModelKosmos.kt | 20 import com.android.systemui.power.domain.interactor.powerInteractor 28 powerInteractor = powerInteractor, in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/notification/stack/domain/interactor/ |
D | NotificationStackInteractorKosmos.kt | 22 import com.android.systemui.power.domain.interactor.powerInteractor 27 powerInteractor = powerInteractor, in <lambda>()
|
D | HideNotificationsInteractorKosmos.kt | 22 import com.android.systemui.power.domain.interactor.powerInteractor 31 powerInteractor = powerInteractor, in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ui/viewmodel/ |
D | NotificationLoggerViewModelTest.kt | 27 import com.android.systemui.power.domain.interactor.powerInteractor in <lambda>() 46 private val powerInteractor = kosmos.powerInteractor in <lambda>() constant 54 powerInteractor.setAwakeForTest() in <lambda>() 65 powerInteractor.setAsleepForTest() in <lambda>() 76 powerInteractor.setAwakeForTest() in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/domain/interactor/ |
D | StatusBarKeyguardViewManagerInteractorKosmos.kt | 23 import com.android.systemui.power.domain.interactor.powerInteractor 30 powerInteractor = this.powerInteractor, in <lambda>()
|
D | KeyguardOcclusionInteractorKosmos.kt | 26 import com.android.systemui.power.domain.interactor.powerInteractor 33 powerInteractor = powerInteractor, in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/notification/shelf/domain/interactor/ |
D | NotificationShelfInteractorKosmos.kt | 23 import com.android.systemui.power.domain.interactor.powerInteractor 30 powerInteractor = powerInteractor, in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ |
D | ResourceTrimmerTest.kt | 18 import com.android.systemui.power.domain.interactor.powerInteractor 49 private val powerInteractor = kosmos.powerInteractor constant 75 powerInteractor.setAsleepForTest() in dozeAodDisabled_sleep_doesntTrimMemory() 85 powerInteractor.setAsleepForTest() in dozeEnabled_sleepWithFullDozeAmount_doesntTrimMemory() 95 powerInteractor.setAsleepForTest() in dozeEnabled_sleepWithoutFullDozeAmount_doesntTrimMemory() 105 powerInteractor.setAsleepForTest() in aodEnabled_deviceWakesHalfWayThrough_doesNotTrimMemory()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/deviceentry/domain/interactor/ |
D | DeviceUnlockedInteractorKosmos.kt | 25 import com.android.systemui.power.domain.interactor.powerInteractor 35 powerInteractor = powerInteractor, in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/ |
D | KeyguardKeyEventInteractorTest.kt | 62 private lateinit var powerInteractor: PowerInteractor variable in com.android.systemui.keyguard.domain.interactor.KeyguardKeyEventInteractorTest 76 powerInteractor = PowerInteractorFactory.create().powerInteractor in setup() 86 powerInteractor, in setup() 134 powerInteractor.setAwakeForTest() in dispatchKeyEvent_menuActionUp_awakeShadeLocked_collapsesShade() 143 powerInteractor.setAsleepForTest() in dispatchKeyEvent_menuActionUp_asleepKeyguard_neverCollapsesShade() 152 powerInteractor.setAwakeForTest() in dispatchKeyEvent_spaceActionUp_awakeKeyguard_collapsesShade() 160 powerInteractor.setAwakeForTest() in dispatchKeyEvent_spaceActionUp_shadeLocked_collapsesShade() 168 powerInteractor.setAwakeForTest() in dispatchKeyEvent_enterActionUp_awakeKeyguard_showsPrimaryBouncer() 176 powerInteractor.setAwakeForTest() in dispatchKeyEvent_enterActionUp_shadeLocked_collapsesShade()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/ |
D | FromDozingTransitionInteractor.kt | 52 powerInteractor: PowerInteractor, in <lambda>() 62 powerInteractor = powerInteractor, in <lambda>() 90 powerInteractor.isAwake in <lambda>() 117 powerInteractor.isAwake in <lambda>() 159 powerInteractor.detailedWakefulness in <lambda>()
|