Searched refs:mDisplayPowerRequest (Results 1 – 2 of 2) sorted by relevance
319 private final DisplayPowerRequest mDisplayPowerRequest = new DisplayPowerRequest(); field in PowerManagerService2068 if (mDisplayPowerRequest.policy == DisplayPowerRequest.POLICY_BRIGHT in updateUserActivitySummaryLocked()2069 || mDisplayPowerRequest.policy == DisplayPowerRequest.POLICY_VR) { in updateUserActivitySummaryLocked()2071 } else if (mDisplayPowerRequest.policy == DisplayPowerRequest.POLICY_DIM) { in updateUserActivitySummaryLocked()2408 || !mDisplayPowerRequest.isBrightOrDim() in canDreamLocked()2409 || mDisplayPowerRequest.isVr() in canDreamLocked()2456 mDisplayPowerRequest.policy = getDesiredScreenPolicyLocked(); in updateDisplayPowerStateLocked()2476 mDisplayPowerRequest.screenBrightnessOverride = screenBrightnessOverride; in updateDisplayPowerStateLocked()2477 mDisplayPowerRequest.useAutoBrightness = autoBrightness; in updateDisplayPowerStateLocked()2478 mDisplayPowerRequest.useProximitySensor = shouldUseProximitySensorLocked(); in updateDisplayPowerStateLocked()[all …]
114 private DisplayPowerRequest mDisplayPowerRequest; field in PowerManagerServiceTest153 mDisplayPowerRequest = new DisplayPowerRequest(); in setUp()275 mService.updatePowerRequestFromBatterySaverPolicy(mDisplayPowerRequest); in testUpdatePowerScreenPolicy_UpdateDisplayPowerRequest()276 assertThat(mDisplayPowerRequest.lowPowerMode).isEqualTo(BATTERY_SAVER_ENABLED); in testUpdatePowerScreenPolicy_UpdateDisplayPowerRequest()277 assertThat(mDisplayPowerRequest.screenLowPowerBrightnessFactor) in testUpdatePowerScreenPolicy_UpdateDisplayPowerRequest()