Home
last modified time | relevance | path

Searched refs:DisplayPowerRequest (Results 1 – 5 of 5) 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
217 public DisplayPowerRequest() { in DisplayPowerRequest() method in DisplayManagerInternal.DisplayPowerRequest
228 public DisplayPowerRequest(DisplayPowerRequest other) { in DisplayPowerRequest() method in DisplayManagerInternal.DisplayPowerRequest
236 public void copyFrom(DisplayPowerRequest other) { in copyFrom()
253 return o instanceof DisplayPowerRequest in equals()
254 && equals((DisplayPowerRequest)o); in equals()
257 public boolean equals(DisplayPowerRequest other) { in equals()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayPowerController.java32 import android.hardware.display.DisplayManagerInternal.DisplayPowerRequest;
166 private DisplayPowerRequest mPendingRequestLocked;
192 private DisplayPowerRequest mPowerRequest;
402 public boolean requestPowerState(DisplayPowerRequest request, in requestPowerState()
419 mPendingRequestLocked = new DisplayPowerRequest(request); in requestPowerState()
519 mPowerRequest = new DisplayPowerRequest(mPendingRequestLocked); in updatePowerState()
548 case DisplayPowerRequest.POLICY_OFF: in updatePowerState()
552 case DisplayPowerRequest.POLICY_DOZE: in updatePowerState()
562 case DisplayPowerRequest.POLICY_DIM: in updatePowerState()
563 case DisplayPowerRequest.POLICY_BRIGHT: in updatePowerState()
[all …]
DDisplayManagerService.java1552 public boolean requestPowerState(DisplayPowerRequest request, in requestPowerState()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java33 import android.hardware.display.DisplayManagerInternal.DisplayPowerRequest;
248 private final DisplayPowerRequest mDisplayPowerRequest = new DisplayPowerRequest();
1641 if (mDisplayPowerRequest.policy == DisplayPowerRequest.POLICY_BRIGHT) { in updateUserActivitySummaryLocked()
1643 } else if (mDisplayPowerRequest.policy == DisplayPowerRequest.POLICY_DIM) { in updateUserActivitySummaryLocked()
2035 if (mDisplayPowerRequest.policy == DisplayPowerRequest.POLICY_DOZE) { in updateDisplayPowerStateLocked()
2100 return DisplayPowerRequest.POLICY_OFF; in getDesiredScreenPolicyLocked()
2105 return DisplayPowerRequest.POLICY_DOZE; in getDesiredScreenPolicyLocked()
2108 return DisplayPowerRequest.POLICY_OFF; in getDesiredScreenPolicyLocked()
2118 return DisplayPowerRequest.POLICY_BRIGHT; in getDesiredScreenPolicyLocked()
2121 return DisplayPowerRequest.POLICY_DIM; in getDesiredScreenPolicyLocked()
/frameworks/base/
Dcompiled-classes-phone1593 android.hardware.display.DisplayManagerInternal$DisplayPowerRequest