Home
last modified time | relevance | path

Searched refs:setScreenPowerState (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/
DFoldLightRevealOverlayAnimationTest.kt32 import com.android.systemui.power.domain.interactor.PowerInteractor.Companion.setScreenPowerState
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()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/
DCommunalDreamStartableTest.kt78 powerRepository.setScreenPowerState(ScreenPowerState.SCREEN_ON) in startDreamWhenTransitioningToHub()
94 powerRepository.setScreenPowerState(ScreenPowerState.SCREEN_ON) in restartDreamingWhenTransitioningFromDreamingToOccludedToDreaming()
119 powerRepository.setScreenPowerState(ScreenPowerState.SCREEN_ON) in shouldNotStartDreamWhenIneligibleToDream()
131 powerRepository.setScreenPowerState(ScreenPowerState.SCREEN_ON) in shouldNotStartDreamIfAlreadyDreaming()
142 powerRepository.setScreenPowerState(ScreenPowerState.SCREEN_ON) in shouldNotStartDreamForInvalidTransition()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardStatusViewControllerWithCoroutinesTest.kt58 mFakePowerRepository.setScreenPowerState(ScreenPowerState.SCREEN_ON) in <lambda>()
63 mFakePowerRepository.setScreenPowerState(ScreenPowerState.SCREEN_TURNING_ON) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/data/repository/
DPowerRepository.kt90 fun setScreenPowerState(state: ScreenPowerState) in wakeUp() method
148 override fun setScreenPowerState(state: ScreenPowerState) { in wakeUp() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/domain/interactor/
DPowerInteractor.kt205 repository.setScreenPowerState(state) in <lambda>()
286 fun PowerInteractor.setScreenPowerState(screenPowerState: ScreenPowerState) { in <lambda>() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/domain/interactor/
DHideNotificationsInteractorTest.kt158 powerRepository.setScreenPowerState(SCREEN_ON) in displaySwitch_noAnimations_screenTurnedOn_showsNotificationsBack()
173 powerRepository.setScreenPowerState(SCREEN_ON) in displaySwitchUnfold_animationsEnabled_screenTurnedOn_doesNotShowNotifications()
188 powerRepository.setScreenPowerState(SCREEN_ON) in displaySwitchFold_animationsEnabled_screenTurnedOn_showsNotifications()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/power/data/repository/
DFakePowerRepository.kt77 override fun setScreenPowerState(state: ScreenPowerState) { in setScreenPowerState() method in com.android.systemui.power.data.repository.FakePowerRepository