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()
159 public static final class DisplayPowerRequest { class in DisplayManagerInternal
214 public DisplayPowerRequest() { in DisplayPowerRequest() method in DisplayManagerInternal.DisplayPowerRequest
225 public DisplayPowerRequest(DisplayPowerRequest other) { in DisplayPowerRequest() method in DisplayManagerInternal.DisplayPowerRequest
233 public void copyFrom(DisplayPowerRequest other) { in copyFrom()
249 return o instanceof DisplayPowerRequest in equals()
250 && equals((DisplayPowerRequest)o); in equals()
253 public boolean equals(DisplayPowerRequest other) { in equals()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayPowerController.java32 import android.hardware.display.DisplayManagerInternal.DisplayPowerRequest;
167 private DisplayPowerRequest mPendingRequestLocked;
193 private DisplayPowerRequest mPowerRequest;
391 public boolean requestPowerState(DisplayPowerRequest request, in requestPowerState()
408 mPendingRequestLocked = new DisplayPowerRequest(request); in requestPowerState()
508 mPowerRequest = new DisplayPowerRequest(mPendingRequestLocked); in updatePowerState()
537 case DisplayPowerRequest.POLICY_OFF: in updatePowerState()
541 case DisplayPowerRequest.POLICY_DOZE: in updatePowerState()
551 case DisplayPowerRequest.POLICY_DIM: in updatePowerState()
552 case DisplayPowerRequest.POLICY_BRIGHT: in updatePowerState()
[all …]
DDisplayManagerService.java1528 public boolean requestPowerState(DisplayPowerRequest request, in requestPowerState()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java45 import android.hardware.display.DisplayManagerInternal.DisplayPowerRequest;
230 private final DisplayPowerRequest mDisplayPowerRequest = new DisplayPowerRequest();
1546 if (mDisplayPowerRequest.policy == DisplayPowerRequest.POLICY_BRIGHT) { in updateUserActivitySummaryLocked()
1548 } else if (mDisplayPowerRequest.policy == DisplayPowerRequest.POLICY_DIM) { in updateUserActivitySummaryLocked()
1924 if (mDisplayPowerRequest.policy == DisplayPowerRequest.POLICY_DOZE) { in updateDisplayPowerStateLocked()
1989 return DisplayPowerRequest.POLICY_OFF; in getDesiredScreenPolicyLocked()
1994 return DisplayPowerRequest.POLICY_DOZE; in getDesiredScreenPolicyLocked()
1997 return DisplayPowerRequest.POLICY_OFF; in getDesiredScreenPolicyLocked()
2007 return DisplayPowerRequest.POLICY_BRIGHT; in getDesiredScreenPolicyLocked()
2010 return DisplayPowerRequest.POLICY_DIM; in getDesiredScreenPolicyLocked()