Home
last modified time | relevance | path

Searched refs:POLICY_DOZE (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/
DScreenUndimDetector.java21 import static android.hardware.display.DisplayManagerInternal.DisplayPowerRequest.POLICY_DOZE;
177 if (newPolicy == POLICY_OFF || newPolicy == POLICY_DOZE) { in recordScreenPolicy()
184 if (newPolicy == POLICY_OFF || newPolicy == POLICY_DOZE) { in recordScreenPolicy()
DPowerGroup.java386 if (mDisplayPowerRequest.policy == DisplayPowerRequest.POLICY_DOZE in needSuspendBlockerLocked()
406 return DisplayPowerRequest.POLICY_DOZE; in getDesiredScreenPolicyLocked()
447 if (mDisplayPowerRequest.policy == DisplayPowerRequest.POLICY_DOZE) { in updateLocked()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/power/
DScreenUndimDetectorTest.java21 import static android.hardware.display.DisplayManagerInternal.DisplayPowerRequest.POLICY_DOZE;
59 POLICY_DOZE,
297 for (int to : Arrays.asList(POLICY_OFF, POLICY_DOZE)) { in recordScreenPolicy_dimToNonBright_resets()
316 for (int to : Arrays.asList(POLICY_OFF, POLICY_DOZE)) { in recordScreenPolicy_brightToNonDim_resets()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/state/
DDisplayStateControllerTest.java80 validDisplayState(DisplayManagerInternal.DisplayPowerRequest.POLICY_DOZE, in updateProximityStateEvaluatesDozePolicyAsExpected()
158 displayPowerRequest.policy = DisplayManagerInternal.DisplayPowerRequest.POLICY_DOZE; in dozeScreenStateOverrideToDozeSuspend_DozePolicy_updateDisplayStateToDozeSuspend()
/frameworks/base/services/core/java/com/android/server/display/state/
DDisplayStateController.java70 case DisplayManagerInternal.DisplayPowerRequest.POLICY_DOZE: in updateDisplayState()
/frameworks/base/core/java/android/hardware/display/
DDisplayManagerInternal.java455 public static final int POLICY_DOZE = 1; field in DisplayManagerInternal.DisplayPowerRequest
591 case POLICY_DOZE: in policyToString()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DDisplayPowerControllerTest.java883 dpr.policy = DisplayPowerRequest.POLICY_DOZE; in testSetScreenOffBrightnessSensorEnabled_DisplayIsInDoze()
1008 dpr.policy = DisplayPowerRequest.POLICY_DOZE; in testAutoBrightnessEnabled_DisplayIsInDoze()
1017 /* userChangedAutoBrightnessAdjustment= */ false, DisplayPowerRequest.POLICY_DOZE, in testAutoBrightnessEnabled_DisplayIsInDoze()
1038 dpr.policy = DisplayPowerRequest.POLICY_DOZE; in testAutoBrightnessEnabled_DisplayIsInDoze_OffloadAllows()
1047 /* userChangedAutoBrightnessAdjustment= */ false, DisplayPowerRequest.POLICY_DOZE, in testAutoBrightnessEnabled_DisplayIsInDoze_OffloadAllows()
1110 dpr.policy = DisplayPowerRequest.POLICY_DOZE; in testAutoBrightnessDisabled_DisplayIsInDoze_ConfigDoesNotAllow()
1119 /* userChangedAutoBrightnessAdjustment= */ false, DisplayPowerRequest.POLICY_DOZE, in testAutoBrightnessDisabled_DisplayIsInDoze_ConfigDoesNotAllow()
1140 dpr.policy = DisplayPowerRequest.POLICY_DOZE; in testAutoBrightnessDisabled_DisplayIsInDoze_OffloadDoesNotAllow()
1149 /* userChangedAutoBrightnessAdjustment= */ false, DisplayPowerRequest.POLICY_DOZE, in testAutoBrightnessDisabled_DisplayIsInDoze_OffloadDoesNotAllow()
1437 dpr.policy = DisplayPowerRequest.POLICY_DOZE; in testRampRateForClampersControllerNotApplied_ifDoze()
[all …]
DAutomaticBrightnessControllerTest.java1102 /* userChanged= */ false, DisplayPowerRequest.POLICY_DOZE, Display.STATE_DOZE,
1138 /* userChanged= */ false, DisplayPowerRequest.POLICY_DOZE, Display.STATE_DOZE,
1170 /* userChanged= */ false, DisplayPowerRequest.POLICY_DOZE, Display.STATE_ON,
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/strategy/
DAutomaticBrightnessStrategy2Test.java152 int policy = DisplayManagerInternal.DisplayPowerRequest.POLICY_DOZE; in testAutoBrightnessState_DisplayIsInDoze_ConfigDoesNotAllow()
200 int policy = DisplayManagerInternal.DisplayPowerRequest.POLICY_DOZE; in testAutoBrightnessState_DisplayIsInDoze_ConfigDoesAllow()
DAutomaticBrightnessStrategyTest.java162 int policy = DisplayManagerInternal.DisplayPowerRequest.POLICY_DOZE; in testAutoBrightnessState_DisplayIsInDoze_ConfigDoesNotAllow()
210 int policy = DisplayManagerInternal.DisplayPowerRequest.POLICY_DOZE; in testAutoBrightnessState_DisplayIsInDoze_ConfigDoesAllow()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/
DDisplayBrightnessStrategySelectorTest.java193 displayPowerRequest.policy = DisplayManagerInternal.DisplayPowerRequest.POLICY_DOZE; in selectStrategySelectsDozeStrategyWhenValid()
207 displayPowerRequest.policy = DisplayManagerInternal.DisplayPowerRequest.POLICY_DOZE; in selectStrategyDoesNotSelectDozeStrategyWhenInvalidBrightness()
231 displayPowerRequest.policy = DisplayManagerInternal.DisplayPowerRequest.POLICY_DOZE; in selectStrategyDoesNotSelectDozeStrategyWhenOffloadSessionAutoBrightnessIsEnabled()
/frameworks/base/services/core/java/com/android/server/display/brightness/
DDisplayBrightnessStrategySelector.java339 return displayPowerRequest.policy == DisplayManagerInternal.DisplayPowerRequest.POLICY_DOZE in shouldUseDozeBrightnessStrategy()
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DPowerGroupTest.java22 import static android.hardware.display.DisplayManagerInternal.DisplayPowerRequest.POLICY_DOZE;
315 assertThat(displayPowerRequest.policy).isEqualTo(POLICY_DOZE); in testUpdateWhileDozing_UpdatesDisplayPowerRequest()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayPowerController.java19 import static android.hardware.display.DisplayManagerInternal.DisplayPowerRequest.POLICY_DOZE;
1650 if (mPowerRequest.policy == POLICY_DOZE in updatePowerStateInternal()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt19833 Landroid/hardware/display/DisplayManagerInternal$DisplayPowerRequest;->POLICY_DOZE:I