Home
last modified time | relevance | path

Searched refs:DisplayPowerRequest (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/hardware/display/
DDisplayManagerInternal.java53 public abstract boolean requestPowerState(DisplayPowerRequest request, in requestPowerState()
144 public static final class DisplayPowerRequest { class in DisplayManagerInternal
195 public DisplayPowerRequest() { in DisplayPowerRequest() method in DisplayManagerInternal.DisplayPowerRequest
206 public DisplayPowerRequest(DisplayPowerRequest other) { in DisplayPowerRequest() method in DisplayManagerInternal.DisplayPowerRequest
214 public void copyFrom(DisplayPowerRequest other) { in copyFrom()
229 return o instanceof DisplayPowerRequest in equals()
230 && equals((DisplayPowerRequest)o); in equals()
233 public boolean equals(DisplayPowerRequest other) { in equals()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayPowerController.java33 import android.hardware.display.DisplayManagerInternal.DisplayPowerRequest;
168 private DisplayPowerRequest mPendingRequestLocked;
194 private DisplayPowerRequest mPowerRequest;
379 public boolean requestPowerState(DisplayPowerRequest request, in requestPowerState()
396 mPendingRequestLocked = new DisplayPowerRequest(request); in requestPowerState()
497 mPowerRequest = new DisplayPowerRequest(mPendingRequestLocked); in updatePowerState()
526 case DisplayPowerRequest.POLICY_OFF: in updatePowerState()
530 case DisplayPowerRequest.POLICY_DOZE: in updatePowerState()
540 case DisplayPowerRequest.POLICY_DIM: in updatePowerState()
541 case DisplayPowerRequest.POLICY_BRIGHT: in updatePowerState()
[all …]
DDisplayManagerService.java1467 public boolean requestPowerState(DisplayPowerRequest request, in requestPowerState()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java42 import android.hardware.display.DisplayManagerInternal.DisplayPowerRequest;
219 private final DisplayPowerRequest mDisplayPowerRequest = new DisplayPowerRequest();
1472 if (mDisplayPowerRequest.policy == DisplayPowerRequest.POLICY_BRIGHT) { in updateUserActivitySummaryLocked()
1474 } else if (mDisplayPowerRequest.policy == DisplayPowerRequest.POLICY_DIM) { in updateUserActivitySummaryLocked()
1846 if (mDisplayPowerRequest.policy == DisplayPowerRequest.POLICY_DOZE) { in updateDisplayPowerStateLocked()
1906 return DisplayPowerRequest.POLICY_OFF; in getDesiredScreenPolicyLocked()
1911 return DisplayPowerRequest.POLICY_DOZE; in getDesiredScreenPolicyLocked()
1914 return DisplayPowerRequest.POLICY_OFF; in getDesiredScreenPolicyLocked()
1924 return DisplayPowerRequest.POLICY_BRIGHT; in getDesiredScreenPolicyLocked()
1927 return DisplayPowerRequest.POLICY_DIM; in getDesiredScreenPolicyLocked()