Searched refs:POLICY_OFF (Results 1 – 15 of 15) sorted by relevance
22 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()
22 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()
403 return DisplayPowerRequest.POLICY_OFF; in getDesiredScreenPolicyLocked()409 return DisplayPowerRequest.POLICY_OFF; in getDesiredScreenPolicyLocked()
77 mRequest.policy = DisplayManagerInternal.DisplayPowerRequest.POLICY_OFF; in testApply_noDimPolicy()132 mRequest.policy = DisplayManagerInternal.DisplayPowerRequest.POLICY_OFF; in testApply_dimPolicyOffAfterDimPolicyOn()
65 displayPowerRequest.policy = DisplayManagerInternal.DisplayPowerRequest.POLICY_OFF; in updateProximityStateEvaluatesStateOffPolicyAsExpected()174 displayPowerRequest.policy = DisplayManagerInternal.DisplayPowerRequest.POLICY_OFF; in dozeScreenStateOverrideToDozeSuspend_OffPolicy_displayRemainOff()
66 case DisplayManagerInternal.DisplayPowerRequest.POLICY_OFF: in updateDisplayState()
453 public static final int POLICY_OFF = 0; field in DisplayManagerInternal.DisplayPowerRequest589 case POLICY_OFF: in policyToString()
19 import static android.hardware.display.DisplayManagerInternal.DisplayPowerRequest.POLICY_OFF;125 mDisplayPolicy = POLICY_OFF; in reset()
23 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()
1766 DisplayPowerRequest.POLICY_OFF); in testQuiescentBoot_DesiredScreenPolicyShouldBeOff()
845 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()
128 int policy = DisplayManagerInternal.DisplayPowerRequest.POLICY_OFF; in testAutoBrightnessState_DisplayIsOff()
138 int policy = DisplayManagerInternal.DisplayPowerRequest.POLICY_OFF; in testAutoBrightnessState_DisplayIsOff()
240 private int mDisplayPolicy = DisplayPowerRequest.POLICY_OFF;
19834 Landroid/hardware/display/DisplayManagerInternal$DisplayPowerRequest;->POLICY_OFF:I