Home
last modified time | relevance | path

Searched refs:screenPowerState (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/
DDisplaySwitchLatencyTrackerTest.kt88 private val screenPowerState = MutableStateFlow(ScreenPowerState.SCREEN_ON) constant
116 whenever(powerInteractor.screenPowerState).thenReturn(screenPowerState) in setup()
142 screenPowerState.emit(ScreenPowerState.SCREEN_OFF) in unfold_logsLatencyTillTransitionStarted()
148 screenPowerState.emit(ScreenPowerState.SCREEN_ON) in unfold_logsLatencyTillTransitionStarted()
191 screenPowerState.emit(ScreenPowerState.SCREEN_OFF) in unfold_progressUnavailable_logsLatencyTillScreenTurnedOn()
197 screenPowerState.emit(ScreenPowerState.SCREEN_ON) in unfold_progressUnavailable_logsLatencyTillScreenTurnedOn()
224 screenPowerState.emit(ScreenPowerState.SCREEN_OFF) in unfold_animationDisabled_logsLatencyTillScreenTurnedOn()
230 screenPowerState.emit(ScreenPowerState.SCREEN_ON) in unfold_animationDisabled_logsLatencyTillScreenTurnedOn()
255 screenPowerState.emit(ScreenPowerState.SCREEN_ON) in foldWhileStayingAwake_logsLatency()
262 screenPowerState.emit(ScreenPowerState.SCREEN_OFF) in foldWhileStayingAwake_logsLatency()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/domain/interactor/
DPowerInteractor.kt70 val screenPowerState = repository.screenPowerState in <lambda>() constant in com.android.systemui.power.domain.interactor.PowerInteractor
286 fun PowerInteractor.setScreenPowerState(screenPowerState: ScreenPowerState) { in <lambda>()
287 this.onScreenPowerStateUpdated(screenPowerState) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DLightRevealScrimInteractor.kt83 powerInteractor.get().screenPowerState.value != ScreenPowerState.SCREEN_OFF && in screenIsShowingContent()
84 powerInteractor.get().screenPowerState.value != ScreenPowerState.SCREEN_TURNING_ON in screenIsShowingContent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/data/repository/
DPowerRepository.kt65 val screenPowerState: StateFlow<ScreenPowerState> constant
146 override val screenPowerState = _screenPowerState.asStateFlow() in wakeUp() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/
DFoldLightRevealOverlayAnimation.kt95 powerInteractor.screenPowerState.collect { in <lambda>()
146 powerInteractor.screenPowerState.filter { it == ScreenPowerState.SCREEN_ON }.first() in <lambda>()
DDisplaySwitchLatencyTracker.kt162 powerInteractor.screenPowerState.filter { it == ScreenPowerState.SCREEN_ON }.first() in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/power/data/repository/
DFakePowerRepository.kt42 override val screenPowerState = _screenPowerState.asStateFlow() constant in com.android.systemui.power.data.repository.FakePowerRepository
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/domain/interactor/
DHideNotificationsInteractor.kt98 powerInteractor.screenPowerState.filter { it == SCREEN_ON }.first() in <lambda>()