/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | KeyguardLifecyclesDispatcher.java | 113 private final ScreenLifecycle mScreenLifecycle; field in KeyguardLifecycleHandler 120 mScreenLifecycle = screenLifecycle; in KeyguardLifecycleHandler() 136 case SCREEN_TURNING_ON -> mScreenLifecycle.dispatchScreenTurningOn(); in handleMessage() 137 case SCREEN_TURNED_ON -> mScreenLifecycle.dispatchScreenTurnedOn(); in handleMessage() 138 case SCREEN_TURNING_OFF -> mScreenLifecycle.dispatchScreenTurningOff(); in handleMessage() 139 case SCREEN_TURNED_OFF -> mScreenLifecycle.dispatchScreenTurnedOff(); in handleMessage()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
D | QSCustomizerController.java | 63 private final ScreenLifecycle mScreenLifecycle; field in QSCustomizerController 115 mScreenLifecycle = screenLifecycle; in QSCustomizerController() 257 && mScreenLifecycle.getScreenState() != ScreenLifecycle.SCREEN_OFF; in hide()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/wmshell/ |
D | WMShellTest.kt | 91 @Mock private lateinit var mScreenLifecycle: ScreenLifecycle variable in com.android.systemui.wmshell.WMShellTest 132 mScreenLifecycle, in setUp() 154 verify(mScreenLifecycle).addObserver(any(ScreenLifecycle.Observer::class.java)) in initOneHanded_registersCallbacks()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationControllerBaseTest.java | 164 protected ScreenLifecycle mScreenLifecycle; field in KeyguardIndicationControllerBaseTest 227 when(mScreenLifecycle.getScreenState()).thenReturn(SCREEN_ON); in setUp() 284 mAuthController, mLockPatternUtils, mScreenLifecycle, in createController() 317 verify(mScreenLifecycle).addObserver(mScreenObserverCaptor.capture()); in createController()
|
D | KeyguardIndicationControllerTest.java | 381 when(mScreenLifecycle.getScreenState()).thenReturn(SCREEN_OFF); in transientIndication_visibleWhenWokenUp() 1539 when(mScreenLifecycle.getScreenState()).thenReturn(SCREEN_TURNING_ON); in screenIsTurningOn()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | KeyguardUserSwitcherController.java | 75 private final ScreenLifecycle mScreenLifecycle; field in KeyguardUserSwitcherController 168 mScreenLifecycle = screenLifecycle; in KeyguardUserSwitcherController() 207 mScreenLifecycle.addObserver(mScreenObserver); in onViewAttached() 228 mScreenLifecycle.removeObserver(mScreenObserver); in onViewDetached()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/wmshell/ |
D | WMShell.java | 125 private final ScreenLifecycle mScreenLifecycle; field in WMShell 205 mScreenLifecycle = screenLifecycle; in WMShell() 342 mScreenLifecycle.addObserver(new ScreenLifecycle.Observer() { in initOneHanded()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationController.java | 230 private final ScreenLifecycle mScreenLifecycle; field in KeyguardIndicationController 333 mScreenLifecycle = screenLifecycle; in KeyguardIndicationController() 335 mScreenLifecycle.addObserver(mScreenObserver); in KeyguardIndicationController() 1358 } else if (mScreenLifecycle.getScreenState() == SCREEN_ON) { in onBiometricHelp() 1658 } else if (mScreenLifecycle.getScreenState() == SCREEN_ON) { in showErrorMessageNowOrLater()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | CentralSurfacesImplTest.java | 355 private final ScreenLifecycle mScreenLifecycle = new ScreenLifecycle(mDumpManager); field in CentralSurfacesImplTest 533 mScreenLifecycle, in createCentralSurfaces() 604 mScreenLifecycle.addObserver(mCentralSurfaces.mScreenObserver); in createCentralSurfaces() 1072 mScreenLifecycle.dispatchScreenTurnedOff(); in deviceStateChange_unfolded_shadeExpanding_onKeyguard_closesQS() 1085 mScreenLifecycle.dispatchScreenTurnedOff(); in deviceStateChange_unfolded_shadeExpanded_onKeyguard_closesQS()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/biometrics/ |
D | UdfpsControllerTest.java | 175 private ScreenLifecycle mScreenLifecycle; field in UdfpsControllerTest 329 reset(mScreenLifecycle); in initUdfpsController() 346 mScreenLifecycle, in initUdfpsController() 378 verify(mScreenLifecycle).addObserver(mScreenObserverCaptor.capture()); in initUdfpsController()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | CentralSurfacesImpl.java | 553 private final ScreenLifecycle mScreenLifecycle; field in CentralSurfacesImpl 749 mScreenLifecycle = screenLifecycle; in CentralSurfacesImpl() 863 mScreenLifecycle.addObserver(mScreenObserver); in start() 2046 && mScreenLifecycle.getScreenState() == ScreenLifecycle.SCREEN_TURNING_OFF)) { in updateIsKeyguard() 2695 return mScreenLifecycle.getScreenState() == ScreenLifecycle.SCREEN_OFF; in isScreenFullyOff()
|