Searched refs:STATE_REASON_DEFAULT_POLICY (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/state/ |
D | DisplayStateControllerTest.java | 70 assertTrue(Display.STATE_REASON_DEFAULT_POLICY == stateAndReason.second); in updateProximityStateEvaluatesStateOffPolicyAsExpected() 112 assertTrue(Display.STATE_REASON_DEFAULT_POLICY == stateAndReason.second); in updateProximityStateWorksAsExpectedWhenDisplayDisabled() 130 assertTrue(Display.STATE_REASON_DEFAULT_POLICY == stateAndReason.second); in updateProximityStateWorksAsExpectedWhenTransitionPhase() 148 assertTrue(Display.STATE_REASON_DEFAULT_POLICY == stateAndReason.second); in updateProximityStateWorksAsExpectedWhenScreenOffBecauseOfProximity() 176 Display.STATE_DOZE_SUSPEND, Display.STATE_REASON_DEFAULT_POLICY); in dozeScreenStateOverrideToDozeSuspend_OffPolicy_displayRemainOff() 183 assertTrue(Display.STATE_REASON_DEFAULT_POLICY == stateAndReason.second); in dozeScreenStateOverrideToDozeSuspend_OffPolicy_displayRemainOff()
|
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/ |
D | PowerGroupTest.java | 263 /* dozeScreenStateReason= */ Display.STATE_REASON_DEFAULT_POLICY, in testUpdateWhileAwake_UpdatesDisplayPowerRequest() 303 /* dozeScreenStateReason= */ Display.STATE_REASON_DEFAULT_POLICY, in testUpdateWhileDozing_UpdatesDisplayPowerRequest() 342 /* dozeScreenStateReason= */ Display.STATE_REASON_DEFAULT_POLICY, in testUpdateWhileDozing_DozeAfterScreenOff() 380 /* dozeScreenStateReason= */ Display.STATE_REASON_DEFAULT_POLICY, in testUpdateQuiescent() 418 /* dozeScreenStateReason= */ Display.STATE_REASON_DEFAULT_POLICY, in testUpdateWhileAsleep_UpdatesDisplayPowerRequest() 457 /* dozeScreenStateReason= */ Display.STATE_REASON_DEFAULT_POLICY, in testUpdateWhileDreamingWithScreenBrightWakelock_UpdatesDisplayPowerRequest() 494 /* dozeScreenStateReason= */ Display.STATE_REASON_DEFAULT_POLICY, in testUpdateWhileAwakeBootNotComplete_UpdatesDisplayPowerRequest() 532 /* dozeScreenStateReason= */ Display.STATE_REASON_DEFAULT_POLICY, in testUpdateWhileAwakeUserActivityScreenBright_UpdatesDisplayPowerRequest() 569 /* dozeScreenStateReason= */ Display.STATE_REASON_DEFAULT_POLICY, in testUpdateWhileAwakeScreenBrightnessBoostInProgress_UpdatesDisplayPowerRequest()
|
D | PowerManagerServiceTest.java | 1306 Display.STATE_REASON_DEFAULT_POLICY, in testSetDozeOverrideFromDreamManager_triggersSuspendBlocker()
|
/frameworks/base/services/core/java/com/android/server/display/state/ |
D | DisplayStateController.java | 64 int reason = Display.STATE_REASON_DEFAULT_POLICY; in updateDisplayState()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | DisplayPowerControllerTest.java | 270 .setScreenState(Display.STATE_OFF, Display.STATE_REASON_DEFAULT_POLICY); in testScreenOffBecauseOfProximity() 282 .setScreenState(Display.STATE_ON, Display.STATE_REASON_DEFAULT_POLICY); in testScreenOffBecauseOfProximity() 289 .setScreenState(Display.STATE_ON, Display.STATE_REASON_DEFAULT_POLICY); in testScreenOffBecauseOfProximity() 313 .setScreenState(Display.STATE_OFF, Display.STATE_REASON_DEFAULT_POLICY); in testScreenOffBecauseOfProximity_ProxSensorGone() 327 .setScreenState(Display.STATE_ON, Display.STATE_REASON_DEFAULT_POLICY); in testScreenOffBecauseOfProximity_ProxSensorGone() 1592 supportedTargetState, Display.STATE_REASON_DEFAULT_POLICY); in testDozeScreenStateOverride_toSupportedOffloadStateFromDoze_DisplayStateChanges() 1600 .setScreenState(supportedTargetState, Display.STATE_REASON_DEFAULT_POLICY); in testDozeScreenStateOverride_toSupportedOffloadStateFromDoze_DisplayStateChanges() 1624 unSupportedTargetState, Display.STATE_REASON_DEFAULT_POLICY); in testDozeScreenStateOverride_toUnSupportedOffloadStateFromDoze_stateRemains() 1628 .setScreenState(anyInt(), eq(Display.STATE_REASON_DEFAULT_POLICY)); in testDozeScreenStateOverride_toUnSupportedOffloadStateFromDoze_stateRemains() 1651 supportedTargetState, Display.STATE_REASON_DEFAULT_POLICY); in testDozeScreenStateOverride_toSupportedOffloadStateFromOFF_stateRemains()
|
/frameworks/base/core/java/android/view/ |
D | Display.java | 518 public static final int STATE_REASON_DEFAULT_POLICY = field in Display 568 STATE_REASON_DEFAULT_POLICY, 2097 case STATE_REASON_DEFAULT_POLICY: in stateReasonToString()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerGroup.java | 467 Display.STATE_REASON_DEFAULT_POLICY; in updateLocked()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayPowerController.java | 983 noteScreenState(mPowerState.getScreenState(), Display.STATE_REASON_DEFAULT_POLICY); in initialize()
|