Home
last modified time | relevance | path

Searched refs:mDisplayPowerRequest (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/
DPowerGroup.java59 final DisplayPowerRequest mDisplayPowerRequest = new DisplayPowerRequest(); field in PowerGroup
322 return mDisplayPowerRequest.policy == DisplayPowerRequest.POLICY_BRIGHT; in isPolicyBrightLocked()
326 return mDisplayPowerRequest.policy == DisplayPowerRequest.POLICY_DIM; in isPolicyDimLocked()
330 return mDisplayPowerRequest.isBrightOrDim(); in isBrightOrDimLocked()
380 if (!mDisplayPowerRequest.useProximitySensor || !proximityPositive in needSuspendBlockerLocked()
386 if (mDisplayPowerRequest.policy == DisplayPowerRequest.POLICY_DOZE in needSuspendBlockerLocked()
387 && mDisplayPowerRequest.dozeScreenState == Display.STATE_ON) { in needSuspendBlockerLocked()
430 return mDisplayPowerRequest.policy; in getPolicyLocked()
441 mDisplayPowerRequest.policy = getDesiredScreenPolicyLocked(quiescent, dozeAfterScreenOff, in updateLocked()
443 mDisplayPowerRequest.screenBrightnessOverride = screenBrightnessOverride; in updateLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/display/brightness/
DStrategyExecutionRequest.java28 private final DisplayManagerInternal.DisplayPowerRequest mDisplayPowerRequest; field in StrategyExecutionRequest
37 mDisplayPowerRequest = displayPowerRequest; in StrategyExecutionRequest()
43 return mDisplayPowerRequest; in getDisplayPowerRequest()
60 return Objects.equals(mDisplayPowerRequest, other.getDisplayPowerRequest()) in equals()
67 return Objects.hash(mDisplayPowerRequest, mCurrentScreenBrightness, in hashCode()
DStrategySelectionNotifyRequest.java31 private DisplayManagerInternal.DisplayPowerRequest mDisplayPowerRequest; field in StrategySelectionNotifyRequest
57 mDisplayPowerRequest = displayPowerRequest; in StrategySelectionNotifyRequest()
78 && Objects.equals(mDisplayPowerRequest, other.getDisplayPowerRequest()) in equals()
89 return Objects.hash(mSelectedDisplayBrightnessStrategy, mDisplayPowerRequest, in hashCode()
103 return mDisplayPowerRequest; in getDisplayPowerRequest()
123 + " mDisplayPowerRequest=" + mDisplayPowerRequest in toString()
DStrategySelectionRequest.java29 private DisplayManagerInternal.DisplayPowerRequest mDisplayPowerRequest; field in StrategySelectionRequest
47 mDisplayPowerRequest = displayPowerRequest; in StrategySelectionRequest()
55 return mDisplayPowerRequest; in getDisplayPowerRequest()
81 return Objects.equals(mDisplayPowerRequest, other.getDisplayPowerRequest()) in equals()
90 return Objects.hash(mDisplayPowerRequest, mTargetDisplayState, in hashCode()
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DPowerGroupTest.java274 mPowerGroup.mDisplayPowerRequest; in testUpdateWhileAwake_UpdatesDisplayPowerRequest()
314 mPowerGroup.mDisplayPowerRequest; in testUpdateWhileDozing_UpdatesDisplayPowerRequest()
353 mPowerGroup.mDisplayPowerRequest; in testUpdateWhileDozing_DozeAfterScreenOff()
391 mPowerGroup.mDisplayPowerRequest; in testUpdateQuiescent()
429 mPowerGroup.mDisplayPowerRequest; in testUpdateWhileAsleep_UpdatesDisplayPowerRequest()
468 mPowerGroup.mDisplayPowerRequest; in testUpdateWhileDreamingWithScreenBrightWakelock_UpdatesDisplayPowerRequest()
505 mPowerGroup.mDisplayPowerRequest; in testUpdateWhileAwakeBootNotComplete_UpdatesDisplayPowerRequest()
543 mPowerGroup.mDisplayPowerRequest; in testUpdateWhileAwakeUserActivityScreenBright_UpdatesDisplayPowerRequest()
580 mPowerGroup.mDisplayPowerRequest; in testUpdateWhileAwakeScreenBrightnessBoostInProgress_UpdatesDisplayPowerRequest()