Searched refs:POLICY_DOZE (Results 1 – 15 of 15) sorted by relevance
21 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()
386 if (mDisplayPowerRequest.policy == DisplayPowerRequest.POLICY_DOZE in needSuspendBlockerLocked()406 return DisplayPowerRequest.POLICY_DOZE; in getDesiredScreenPolicyLocked()447 if (mDisplayPowerRequest.policy == DisplayPowerRequest.POLICY_DOZE) { in updateLocked()
21 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()
80 validDisplayState(DisplayManagerInternal.DisplayPowerRequest.POLICY_DOZE, in updateProximityStateEvaluatesDozePolicyAsExpected()158 displayPowerRequest.policy = DisplayManagerInternal.DisplayPowerRequest.POLICY_DOZE; in dozeScreenStateOverrideToDozeSuspend_DozePolicy_updateDisplayStateToDozeSuspend()
70 case DisplayManagerInternal.DisplayPowerRequest.POLICY_DOZE: in updateDisplayState()
455 public static final int POLICY_DOZE = 1; field in DisplayManagerInternal.DisplayPowerRequest591 case POLICY_DOZE: in policyToString()
883 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 …]
1102 /* 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,
152 int policy = DisplayManagerInternal.DisplayPowerRequest.POLICY_DOZE; in testAutoBrightnessState_DisplayIsInDoze_ConfigDoesNotAllow()200 int policy = DisplayManagerInternal.DisplayPowerRequest.POLICY_DOZE; in testAutoBrightnessState_DisplayIsInDoze_ConfigDoesAllow()
162 int policy = DisplayManagerInternal.DisplayPowerRequest.POLICY_DOZE; in testAutoBrightnessState_DisplayIsInDoze_ConfigDoesNotAllow()210 int policy = DisplayManagerInternal.DisplayPowerRequest.POLICY_DOZE; in testAutoBrightnessState_DisplayIsInDoze_ConfigDoesAllow()
193 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()
339 return displayPowerRequest.policy == DisplayManagerInternal.DisplayPowerRequest.POLICY_DOZE in shouldUseDozeBrightnessStrategy()
22 import static android.hardware.display.DisplayManagerInternal.DisplayPowerRequest.POLICY_DOZE;315 assertThat(displayPowerRequest.policy).isEqualTo(POLICY_DOZE); in testUpdateWhileDozing_UpdatesDisplayPowerRequest()
19 import static android.hardware.display.DisplayManagerInternal.DisplayPowerRequest.POLICY_DOZE;1650 if (mPowerRequest.policy == POLICY_DOZE in updatePowerStateInternal()
19833 Landroid/hardware/display/DisplayManagerInternal$DisplayPowerRequest;->POLICY_DOZE:I