Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/power/
DScreenUndimDetectorTest.java22 import static android.hardware.display.DisplayManagerInternal.DisplayPowerRequest.POLICY_OFF;
58 Arrays.asList(POLICY_OFF,
216 mScreenUndimDetector.recordScreenPolicy(DEFAULT_DISPLAY_GROUP, POLICY_OFF); in recordScreenPolicy_dimBrightDimOff_resetsCounter_doesNotExtend()
232 mScreenUndimDetector.recordScreenPolicy(DEFAULT_DISPLAY_GROUP, POLICY_OFF); in recordScreenPolicy_undimToOff_resetsCounter()
249 mScreenUndimDetector.recordScreenPolicy(DEFAULT_DISPLAY_GROUP, POLICY_OFF); in recordScreenPolicy_undimToOff_otherDisplayDoesNotResetCounter()
267 mScreenUndimDetector.recordScreenPolicy(DEFAULT_DISPLAY_GROUP, POLICY_OFF); in recordScreenPolicy_undimOffUndim_doesNotExtend()
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()
348 mScreenUndimDetector.mCurrentScreenPolicy = POLICY_OFF; in recordScreenPolicy_otherTransitions_doesNotReset()
/frameworks/base/services/core/java/com/android/server/power/
DScreenUndimDetector.java22 import static android.hardware.display.DisplayManagerInternal.DisplayPowerRequest.POLICY_OFF;
177 if (newPolicy == POLICY_OFF || newPolicy == POLICY_DOZE) { in recordScreenPolicy()
184 if (newPolicy == POLICY_OFF || newPolicy == POLICY_DOZE) { in recordScreenPolicy()
DPowerGroup.java403 return DisplayPowerRequest.POLICY_OFF; in getDesiredScreenPolicyLocked()
409 return DisplayPowerRequest.POLICY_OFF; in getDesiredScreenPolicyLocked()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/clamper/
DDisplayDimModifierTest.java77 mRequest.policy = DisplayManagerInternal.DisplayPowerRequest.POLICY_OFF; in testApply_noDimPolicy()
132 mRequest.policy = DisplayManagerInternal.DisplayPowerRequest.POLICY_OFF; in testApply_dimPolicyOffAfterDimPolicyOn()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/state/
DDisplayStateControllerTest.java65 displayPowerRequest.policy = DisplayManagerInternal.DisplayPowerRequest.POLICY_OFF; in updateProximityStateEvaluatesStateOffPolicyAsExpected()
174 displayPowerRequest.policy = DisplayManagerInternal.DisplayPowerRequest.POLICY_OFF; in dozeScreenStateOverrideToDozeSuspend_OffPolicy_displayRemainOff()
/frameworks/base/services/core/java/com/android/server/display/state/
DDisplayStateController.java66 case DisplayManagerInternal.DisplayPowerRequest.POLICY_OFF: in updateDisplayState()
/frameworks/base/core/java/android/hardware/display/
DDisplayManagerInternal.java453 public static final int POLICY_OFF = 0; field in DisplayManagerInternal.DisplayPowerRequest
589 case POLICY_OFF: in policyToString()
/frameworks/base/services/core/java/com/android/server/display/brightness/
DBrightnessEvent.java19 import static android.hardware.display.DisplayManagerInternal.DisplayPowerRequest.POLICY_OFF;
125 mDisplayPolicy = POLICY_OFF; in reset()
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DPowerGroupTest.java23 import static android.hardware.display.DisplayManagerInternal.DisplayPowerRequest.POLICY_OFF;
354 assertThat(displayPowerRequest.policy).isEqualTo(POLICY_OFF); in testUpdateWhileDozing_DozeAfterScreenOff()
392 assertThat(displayPowerRequest.policy).isEqualTo(POLICY_OFF); in testUpdateQuiescent()
430 assertThat(displayPowerRequest.policy).isEqualTo(POLICY_OFF); in testUpdateWhileAsleep_UpdatesDisplayPowerRequest()
DPowerManagerServiceTest.java1766 DisplayPowerRequest.POLICY_OFF); in testQuiescentBoot_DesiredScreenPolicyShouldBeOff()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DDisplayPowerControllerTest.java845 dpr.policy = DisplayPowerRequest.POLICY_OFF; in testSetScreenOffBrightnessSensorEnabled_DisplayIsOff()
913 dpr.policy = DisplayPowerRequest.POLICY_OFF; in testSetScreenOffBrightnessSensorDisabled_AutoBrightnessIsDisabled()
951 dpr.policy = DisplayPowerRequest.POLICY_OFF; in testSetScreenOffBrightnessSensorDisabled_DisplayIsAFollower()
1084 dpr.policy = DisplayPowerRequest.POLICY_OFF; in testAutoBrightnessDisabled_DisplayIsOff()
1093 /* userChangedAutoBrightnessAdjustment= */ false, DisplayPowerRequest.POLICY_OFF, in testAutoBrightnessDisabled_DisplayIsOff()
1646 dpr.policy = DisplayPowerRequest.POLICY_OFF; in testDozeScreenStateOverride_toSupportedOffloadStateFromOFF_stateRemains()
1666 dpr.policy = DisplayPowerRequest.POLICY_OFF; in testOffloadBlocker_turnON_screenOnBlocked()
1691 dpr.policy = DisplayPowerRequest.POLICY_OFF; in testOffloadBlocker_turnOFF_screenOnNotBlocked()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/strategy/
DAutomaticBrightnessStrategy2Test.java128 int policy = DisplayManagerInternal.DisplayPowerRequest.POLICY_OFF; in testAutoBrightnessState_DisplayIsOff()
DAutomaticBrightnessStrategyTest.java138 int policy = DisplayManagerInternal.DisplayPowerRequest.POLICY_OFF; in testAutoBrightnessState_DisplayIsOff()
/frameworks/base/services/core/java/com/android/server/display/
DAutomaticBrightnessController.java240 private int mDisplayPolicy = DisplayPowerRequest.POLICY_OFF;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt19834 Landroid/hardware/display/DisplayManagerInternal$DisplayPowerRequest;->POLICY_OFF:I