Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DPowerManagerServiceTest.java28 import android.hardware.display.DisplayManagerInternal.DisplayPowerRequest;
53 private DisplayPowerRequest mDisplayPowerRequest;
67 mDisplayPowerRequest = new DisplayPowerRequest(); in setUp()
92 DisplayPowerRequest.POLICY_BRIGHT); in testGetDesiredScreenPolicy_WithVR()
97 DisplayPowerRequest.POLICY_VR); in testGetDesiredScreenPolicy_WithVR()
102 DisplayPowerRequest.POLICY_OFF); in testGetDesiredScreenPolicy_WithVR()
107 DisplayPowerRequest.POLICY_VR); in testGetDesiredScreenPolicy_WithVR()
112 DisplayPowerRequest.POLICY_BRIGHT); in testGetDesiredScreenPolicy_WithVR()
/frameworks/base/core/java/android/hardware/display/
DDisplayManagerInternal.java56 public abstract boolean requestPowerState(DisplayPowerRequest request, in requestPowerState()
197 public static final class DisplayPowerRequest { class in DisplayManagerInternal
252 public DisplayPowerRequest() { in DisplayPowerRequest() method in DisplayManagerInternal.DisplayPowerRequest
264 public DisplayPowerRequest(DisplayPowerRequest other) { in DisplayPowerRequest() method in DisplayManagerInternal.DisplayPowerRequest
276 public void copyFrom(DisplayPowerRequest other) { in copyFrom()
292 return o instanceof DisplayPowerRequest in equals()
293 && equals((DisplayPowerRequest)o); in equals()
296 public boolean equals(DisplayPowerRequest other) { in equals()
/frameworks/base/services/core/java/com/android/server/display/
DAutomaticBrightnessController.java29 import android.hardware.display.DisplayManagerInternal.DisplayPowerRequest;
178 private int mDisplayPolicy = DisplayPowerRequest.POLICY_OFF;
232 if (mDisplayPolicy == DisplayPowerRequest.POLICY_DOZE) { in getAutomaticScreenBrightness()
250 boolean dozing = (displayPolicy == DisplayPowerRequest.POLICY_DOZE); in configure()
303 return policy == DisplayPowerRequest.POLICY_BRIGHT in isInteractivePolicy()
304 || policy == DisplayPowerRequest.POLICY_DIM in isInteractivePolicy()
305 || policy == DisplayPowerRequest.POLICY_VR; in isInteractivePolicy()
374 pw.println(" mDisplayPolicy=" + DisplayPowerRequest.policyToString(mDisplayPolicy)); in dump()
DDisplayPowerController.java41 import android.hardware.display.DisplayManagerInternal.DisplayPowerRequest;
214 private DisplayPowerRequest mPendingRequestLocked;
240 private DisplayPowerRequest mPowerRequest;
543 public boolean requestPowerState(DisplayPowerRequest request, in requestPowerState()
560 mPendingRequestLocked = new DisplayPowerRequest(request); in requestPowerState()
680 mPowerRequest = new DisplayPowerRequest(mPendingRequestLocked); in updatePowerState()
707 case DisplayPowerRequest.POLICY_OFF: in updatePowerState()
711 case DisplayPowerRequest.POLICY_DOZE: in updatePowerState()
721 case DisplayPowerRequest.POLICY_VR: in updatePowerState()
724 case DisplayPowerRequest.POLICY_DIM: in updatePowerState()
[all …]
DDisplayManagerService.java2152 public boolean requestPowerState(DisplayPowerRequest request, in requestPowerState()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java39 import android.hardware.display.DisplayManagerInternal.DisplayPowerRequest;
307 private final DisplayPowerRequest mDisplayPowerRequest = new DisplayPowerRequest();
1975 if (mDisplayPowerRequest.policy == DisplayPowerRequest.POLICY_BRIGHT in updateUserActivitySummaryLocked()
1976 || mDisplayPowerRequest.policy == DisplayPowerRequest.POLICY_VR) { in updateUserActivitySummaryLocked()
1978 } else if (mDisplayPowerRequest.policy == DisplayPowerRequest.POLICY_DIM) { in updateUserActivitySummaryLocked()
2379 if (mDisplayPowerRequest.policy == DisplayPowerRequest.POLICY_DOZE) { in updateDisplayPowerStateLocked()
2455 return DisplayPowerRequest.POLICY_OFF; in getDesiredScreenPolicyLocked()
2460 return DisplayPowerRequest.POLICY_DOZE; in getDesiredScreenPolicyLocked()
2463 return DisplayPowerRequest.POLICY_OFF; in getDesiredScreenPolicyLocked()
2473 return DisplayPowerRequest.POLICY_VR; in getDesiredScreenPolicyLocked()
[all …]
/frameworks/base/config/
Dboot-image-profile.txt21536 …play/DisplayManagerInternal$DisplayPowerRequest;-><init>(Landroid/hardware/display/DisplayManagerI…
21537 …lay/DisplayManagerInternal$DisplayPowerRequest;->copyFrom(Landroid/hardware/display/DisplayManager…
21538 …play/DisplayManagerInternal$DisplayPowerRequest;->equals(Landroid/hardware/display/DisplayManagerI…
21548 …ternal;->requestPowerState(Landroid/hardware/display/DisplayManagerInternal$DisplayPowerRequest;Z)Z
55397 Landroid/hardware/display/DisplayManagerInternal$DisplayPowerRequest;