/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ |
D | ScreenLifecycleTest.java | 54 assertEquals(ScreenLifecycle.SCREEN_OFF, mScreen.getScreenState()); in baseState() 63 assertEquals(ScreenLifecycle.SCREEN_TURNING_ON, mScreen.getScreenState()); in screenTurningOn() 72 assertEquals(ScreenLifecycle.SCREEN_ON, mScreen.getScreenState()); in screenTurnedOn() 82 assertEquals(ScreenLifecycle.SCREEN_TURNING_OFF, mScreen.getScreenState()); in screenTurningOff() 93 assertEquals(ScreenLifecycle.SCREEN_OFF, mScreen.getScreenState()); in screenTurnedOff()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | DisplayPowerControllerTest.java | 222 when(mHolder.displayPowerState.getScreenState()).thenReturn(Display.STATE_ON); in testReleaseProxSuspendBlockersOnExit() 251 when(mHolder.displayPowerState.getScreenState()).thenReturn(Display.STATE_ON); in testScreenOffBecauseOfProximity() 273 when(mHolder.displayPowerState.getScreenState()).thenReturn(Display.STATE_OFF); in testScreenOffBecauseOfProximity() 294 when(mHolder.displayPowerState.getScreenState()).thenReturn(Display.STATE_ON); in testScreenOffBecauseOfProximity_ProxSensorGone() 315 when(mHolder.displayPowerState.getScreenState()).thenReturn(Display.STATE_OFF); in testScreenOffBecauseOfProximity_ProxSensorGone() 333 when(mHolder.displayPowerState.getScreenState()).thenReturn(Display.STATE_ON); in testProximitySensorListenerNotRegisteredForNonDefaultDisplay() 500 when(mHolder.displayPowerState.getScreenState()).thenReturn(Display.STATE_ON); in testDisplayBrightnessFollowers_AutomaticBrightness() 749 when(mHolder.displayPowerState.getScreenState()).thenReturn(Display.STATE_ON); in testDisplayBrightnessHdr_SkipAnimationOnHdrAppearance() 785 when(mHolder.displayPowerState.getScreenState()).thenReturn(Display.STATE_ON); in testDisplayBrightnessHdr_SkipAnimationOnHdrRemoval() 842 when(mHolder.displayPowerState.getScreenState()).thenReturn(Display.STATE_OFF); in testSetScreenOffBrightnessSensorEnabled_DisplayIsOff() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | ScreenLifecycle.java | 51 public int getScreenState() { in getScreenState() method in ScreenLifecycle
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | BatteryStatsNoteTest.java | 490 assertEquals(Display.STATE_DOZE, bi.getScreenState()); in testNoteScreenStateLocked() 495 assertEquals(Display.STATE_ON, bi.getScreenState()); in testNoteScreenStateLocked() 500 assertEquals(Display.STATE_OFF, bi.getScreenState()); in testNoteScreenStateLocked() 505 assertEquals(Display.STATE_DOZE_SUSPEND, bi.getScreenState()); in testNoteScreenStateLocked() 511 assertEquals(Display.STATE_ON, bi.getScreenState()); in testNoteScreenStateLocked() 517 assertEquals(Display.STATE_ON, bi.getScreenState()); in testNoteScreenStateLocked() 539 assertEquals(Display.STATE_DOZE, bi.getScreenState()); in testNoteScreenStateLocked_multiDisplay() 543 assertEquals(Display.STATE_ON, bi.getScreenState()); in testNoteScreenStateLocked_multiDisplay() 549 assertEquals(Display.STATE_OFF, bi.getScreenState()); in testNoteScreenStateLocked_multiDisplay() 554 assertEquals(Display.STATE_DOZE_SUSPEND, bi.getScreenState()); in testNoteScreenStateLocked_multiDisplay() [all …]
|
D | MockBatteryStatsImpl.java | 119 public int getScreenState() { in getScreenState() method in MockBatteryStatsImpl
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayPowerController.java | 983 noteScreenState(mPowerState.getScreenState(), Display.STATE_REASON_DEFAULT_POLICY); in initialize() 1330 if (mPowerState.getScreenState() != state) { in updatePowerStateInternal() 1355 state = mPowerState.getScreenState(); in updatePowerStateInternal() 2120 final boolean changed = mPowerState.getScreenState() != state; in setScreenState() 2276 && Display.isDozeState(mPowerState.getScreenState()) in animateScreenStateChange() 2331 && mPowerState.getScreenState() == Display.STATE_ON) { in animateScreenStateChange() 2348 && mPowerState.getScreenState() != Display.STATE_DOZE_SUSPEND) { in animateScreenStateChange() 2354 if (mPowerState.getScreenState() != Display.STATE_DOZE_SUSPEND) { in animateScreenStateChange() 2369 && mPowerState.getScreenState() != Display.STATE_ON_SUSPEND) { in animateScreenStateChange() 2375 if (mPowerState.getScreenState() != Display.STATE_ON_SUSPEND) { in animateScreenStateChange() [all …]
|
D | DisplayPowerState.java | 178 public int getScreenState() { in getScreenState() method in DisplayPowerState
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
D | QSCustomizerController.java | 257 && mScreenLifecycle.getScreenState() != ScreenLifecycle.SCREEN_OFF; in hide()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationControllerBaseTest.java | 227 when(mScreenLifecycle.getScreenState()).thenReturn(SCREEN_ON); in setUp()
|
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/ |
D | KeyguardIndicationController.java | 1358 } else if (mScreenLifecycle.getScreenState() == SCREEN_ON) { in onBiometricHelp() 1658 } else if (mScreenLifecycle.getScreenState() == SCREEN_ON) { in showErrorMessageNowOrLater()
|
/frameworks/av/services/audioflinger/ |
D | IAfThread.h | 87 virtual uint32_t getScreenState() const = 0;
|
D | AudioFlinger.h | 364 uint32_t getScreenState() const final { return mScreenState; } in getScreenState() function
|
D | Threads.cpp | 2159 mScreenState(mAfThreadCallback->getScreenState()), in PlaybackThread() 3561 const uint32_t screenState = mAfThreadCallback->getScreenState(); in threadLoop_write()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | UdfpsController.java | 757 mScreenOn = screenLifecycle.getScreenState() == ScreenLifecycle.SCREEN_ON; in UdfpsController()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | CentralSurfacesImpl.java | 2046 && mScreenLifecycle.getScreenState() == ScreenLifecycle.SCREEN_TURNING_OFF)) { in updateIsKeyguard() 2695 return mScreenLifecycle.getScreenState() == ScreenLifecycle.SCREEN_OFF; in isScreenFullyOff()
|
/frameworks/base/services/ |
D | art-wear-profile | 10599 PLcom/android/server/display/DisplayPowerState;->getScreenState()I
|