Searched refs:mDisplayPowerRequest (Results 1 – 2 of 2) sorted by relevance
339 private final DisplayPowerRequest mDisplayPowerRequest = new DisplayPowerRequest(); field in PowerManagerService2303 if (mDisplayPowerRequest.policy == DisplayPowerRequest.POLICY_BRIGHT2304 || mDisplayPowerRequest.policy == DisplayPowerRequest.POLICY_VR) {2306 } else if (mDisplayPowerRequest.policy == DisplayPowerRequest.POLICY_DIM) {2781 || !mDisplayPowerRequest.isBrightOrDim()2782 || mDisplayPowerRequest.isVr()2833 mDisplayPowerRequest.policy = getDesiredScreenPolicyLocked();2853 mDisplayPowerRequest.screenBrightnessOverride = screenBrightnessOverride;2854 mDisplayPowerRequest.useAutoBrightness = autoBrightness;2855 mDisplayPowerRequest.useProximitySensor = shouldUseProximitySensorLocked();[all …]
131 private DisplayPowerRequest mDisplayPowerRequest; field in PowerManagerServiceTest177 mDisplayPowerRequest = new DisplayPowerRequest(); in setUp()368 mService.updatePowerRequestFromBatterySaverPolicy(mDisplayPowerRequest); in testUpdatePowerScreenPolicy_UpdateDisplayPowerRequest()369 assertThat(mDisplayPowerRequest.lowPowerMode).isEqualTo(BATTERY_SAVER_ENABLED); in testUpdatePowerScreenPolicy_UpdateDisplayPowerRequest()370 assertThat(mDisplayPowerRequest.screenLowPowerBrightnessFactor) in testUpdatePowerScreenPolicy_UpdateDisplayPowerRequest()