Home
last modified time | relevance | path

Searched refs:powerInteractor (Results 1 – 25 of 125) sorted by relevance

12345

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/domain/interactor/
DFromAodTransitionInteractorTest.kt55 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 …]
DFromDozingTransitionInteractorTest.kt56 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 …]
DKeyguardOcclusionInteractorTest.kt56 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/
DSmartspaceViewModelTest.kt26 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/
DFoldLightRevealOverlayAnimationTest.kt33 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/
DKeyguardInteractorFactory.kt60 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
DFromDreamingLockscreenHostedTransitionInteractorKosmos.kt23 import com.android.systemui.power.domain.interactor.powerInteractor
35 powerInteractor = powerInteractor, in <lambda>()
DFromGlanceableHubTransitionInteractorKosmos.kt23 import com.android.systemui.power.domain.interactor.powerInteractor
35 powerInteractor = powerInteractor, in <lambda>()
DFromDreamingTransitionInteractorKosmos.kt23 import com.android.systemui.power.domain.interactor.powerInteractor
36 powerInteractor = powerInteractor, in <lambda>()
DFromOccludedTransitionInteractorKosmos.kt24 import com.android.systemui.power.domain.interactor.powerInteractor
36 powerInteractor = powerInteractor, in <lambda>()
DFromAodTransitionInteractorKosmos.kt24 import com.android.systemui.power.domain.interactor.powerInteractor
36 powerInteractor = powerInteractor, in <lambda>()
DFromLockscreenTransitionInteractorKosmos.kt23 import com.android.systemui.power.domain.interactor.powerInteractor
37 powerInteractor = powerInteractor, in <lambda>()
DKeyguardDismissInteractorKosmos.kt24 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/
DBackActionInteractorTest.kt109 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/
DSmartspaceViewModelKosmos.kt20 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/
DNotificationStackInteractorKosmos.kt22 import com.android.systemui.power.domain.interactor.powerInteractor
27 powerInteractor = powerInteractor, in <lambda>()
DHideNotificationsInteractorKosmos.kt22 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/
DNotificationLoggerViewModelTest.kt27 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/
DStatusBarKeyguardViewManagerInteractorKosmos.kt23 import com.android.systemui.power.domain.interactor.powerInteractor
30 powerInteractor = this.powerInteractor, in <lambda>()
DKeyguardOcclusionInteractorKosmos.kt26 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/
DNotificationShelfInteractorKosmos.kt23 import com.android.systemui.power.domain.interactor.powerInteractor
30 powerInteractor = powerInteractor, in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DResourceTrimmerTest.kt18 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/
DDeviceUnlockedInteractorKosmos.kt25 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/
DKeyguardKeyEventInteractorTest.kt62 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/
DFromDozingTransitionInteractor.kt52 powerInteractor: PowerInteractor, in <lambda>()
62 powerInteractor = powerInteractor, in <lambda>()
90 powerInteractor.isAwake in <lambda>()
117 powerInteractor.isAwake in <lambda>()
159 powerInteractor.detailedWakefulness in <lambda>()

12345