Home
last modified time | relevance | path

Searched refs:SCREEN_ON (Results 1 – 25 of 30) sorted by relevance

12

/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/systemui/unfold/
DDisplaySwitchLatencyTrackerTest.kt88 private val screenPowerState = MutableStateFlow(ScreenPowerState.SCREEN_ON)
148 screenPowerState.emit(ScreenPowerState.SCREEN_ON) in unfold_logsLatencyTillTransitionStarted()
197 screenPowerState.emit(ScreenPowerState.SCREEN_ON) in unfold_progressUnavailable_logsLatencyTillScreenTurnedOn()
230 screenPowerState.emit(ScreenPowerState.SCREEN_ON) in unfold_animationDisabled_logsLatencyTillScreenTurnedOn()
255 screenPowerState.emit(ScreenPowerState.SCREEN_ON) in foldWhileStayingAwake_logsLatency()
265 screenPowerState.emit(ScreenPowerState.SCREEN_ON) in foldWhileStayingAwake_logsLatency()
301 screenPowerState.emit(ScreenPowerState.SCREEN_ON) in foldToAod_capturesToStateAsAod()
333 screenPowerState.emit(ScreenPowerState.SCREEN_ON) in fold_notAFoldable_shouldNotLogLatency()
DFoldLightRevealOverlayAnimationTest.kt126 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()
178 powerInteractor.setScreenPowerState(ScreenPowerState.SCREEN_ON) in TestScope()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DScreenLifecycle.java41 public static final int SCREEN_ON = 2; field in ScreenLifecycle
61 setScreenState(SCREEN_ON); in dispatchScreenTurnedOn()
DKeyguardService.java583 mPowerInteractor.onScreenPowerStateUpdated(ScreenPowerState.SCREEN_ON);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/domain/interactor/
DHideNotificationsInteractorTest.kt31 import com.android.systemui.power.shared.model.ScreenPowerState.SCREEN_ON
158 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/src/com/android/systemui/bouncer/ui/binder/
DKeyguardBouncerViewBinder.kt92 securityContainerController.onResume(KeyguardSecurityView.SCREEN_ON) in <lambda>()
135 KeyguardSecurityView.SCREEN_ON in <lambda>()
183 securityContainerController.onResume(KeyguardSecurityView.SCREEN_ON) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/shared/model/
DScreenPowerState.kt29 SCREEN_ON,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/domain/interactor/
DHideNotificationsInteractor.kt24 import com.android.systemui.power.shared.model.ScreenPowerState.SCREEN_ON in <lambda>()
98 powerInteractor.screenPowerState.filter { it == SCREEN_ON }.first() in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityView.java22 int SCREEN_ON = 1; field
DKeyguardPasswordViewController.java248 if (reason != KeyguardSecurityView.SCREEN_ON || mShowImeAtScreenOn) { in onResume()
/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/
DFoldLightRevealOverlayAnimation.kt96 if (it == ScreenPowerState.SCREEN_ON) { 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/src/com/android/keyguard/
DKeyguardStatusViewControllerWithCoroutinesTest.kt58 mFakePowerRepository.setScreenPowerState(ScreenPowerState.SCREEN_ON) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DScreenLifecycleTest.java72 assertEquals(ScreenLifecycle.SCREEN_ON, mScreen.getScreenState()); in screenTurnedOn()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/
DDesktopModeEventLogger.kt190 SCREEN_ON(FrameworkStatsLog.DESKTOP_MODE_UICHANGED__ENTER_REASON__SCREEN_ON),
DDesktopModeLoggerTransitionObserver.kt319 transitionInfo.type == WindowManager.TRANSIT_WAKE -> EnterReason.SCREEN_ON in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/keyguard/
DKeyguardPinBasedInputViewControllerTest.java131 mKeyguardPinViewController.onResume(KeyguardSecurityView.SCREEN_ON); in onResume_requestsFocus()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyguardIndicationControllerBaseTest.java24 import static com.android.systemui.keyguard.ScreenLifecycle.SCREEN_ON;
227 when(mScreenLifecycle.getScreenState()).thenReturn(SCREEN_ON); in setUp()
/frameworks/proto_logging/stats/atoms/desktopmode/
Ddesktopmode_extensions_atoms.proto52 SCREEN_ON = 6; // desktop mode visible after screen turned on enumerator
/frameworks/base/core/proto/android/app/
Dnotificationmanager.proto74 SCREEN_ON = 2 [deprecated = true]; enumerator
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardIndicationController.java49 import static com.android.systemui.keyguard.ScreenLifecycle.SCREEN_ON;
1358 } else if (mScreenLifecycle.getScreenState() == SCREEN_ON) { in onBiometricHelp()
1658 } else if (mScreenLifecycle.getScreenState() == SCREEN_ON) { in showErrorMessageNowOrLater()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/
DDesktopModeLoggerTransitionObserverTest.kt409 .logSessionEnter(eq(sessionId!!), eq(EnterReason.SCREEN_ON)) in transitWake_logTaskAddedAndEnterReasonScreenOn()
/frameworks/base/core/java/com/android/internal/os/
DPowerProfile.java1137 writePowerConstantToProto(proto, POWER_SCREEN_ON, PowerProfileProto.SCREEN_ON); in dumpDebug()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUdfpsController.java757 mScreenOn = screenLifecycle.getScreenState() == ScreenLifecycle.SCREEN_ON; in UdfpsController()

12