Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/display/
DDisplayManagerInternal.java59 public abstract boolean requestPowerState(DisplayPowerRequest request, in requestPowerState()
247 public static final class DisplayPowerRequest { class in DisplayManagerInternal
303 public DisplayPowerRequest() { in DisplayPowerRequest() method in DisplayManagerInternal.DisplayPowerRequest
315 public DisplayPowerRequest(DisplayPowerRequest other) { in DisplayPowerRequest() method in DisplayManagerInternal.DisplayPowerRequest
327 public void copyFrom(DisplayPowerRequest other) { in copyFrom()
343 return o instanceof DisplayPowerRequest in equals()
344 && equals((DisplayPowerRequest)o); in equals()
347 public boolean equals(DisplayPowerRequest other) { in equals()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DPowerManagerServiceTest.java52 import android.hardware.display.DisplayManagerInternal.DisplayPowerRequest;
114 private DisplayPowerRequest mDisplayPowerRequest;
153 mDisplayPowerRequest = new DisplayPowerRequest(); in setUp()
296 DisplayPowerRequest.POLICY_BRIGHT); in testGetDesiredScreenPolicy_WithVR()
301 DisplayPowerRequest.POLICY_VR); in testGetDesiredScreenPolicy_WithVR()
307 DisplayPowerRequest.POLICY_OFF); in testGetDesiredScreenPolicy_WithVR()
312 DisplayPowerRequest.POLICY_VR); in testGetDesiredScreenPolicy_WithVR()
317 DisplayPowerRequest.POLICY_BRIGHT); in testGetDesiredScreenPolicy_WithVR()
/frameworks/base/services/core/java/com/android/server/display/
DAutomaticBrightnessController.java31 import android.hardware.display.DisplayManagerInternal.DisplayPowerRequest;
191 private int mDisplayPolicy = DisplayPowerRequest.POLICY_OFF;
306 if (mDisplayPolicy == DisplayPowerRequest.POLICY_DOZE) { in getAutomaticScreenBrightness()
328 boolean dozing = (displayPolicy == DisplayPowerRequest.POLICY_DOZE); in configure()
381 return policy == DisplayPowerRequest.POLICY_BRIGHT in isInteractivePolicy()
382 || policy == DisplayPowerRequest.POLICY_DIM in isInteractivePolicy()
383 || policy == DisplayPowerRequest.POLICY_VR; in isInteractivePolicy()
454 pw.println(" mDisplayPolicy=" + DisplayPowerRequest.policyToString(mDisplayPolicy)); in dump()
DDisplayPowerController.java36 import android.hardware.display.DisplayManagerInternal.DisplayPowerRequest;
223 private DisplayPowerRequest mPendingRequestLocked;
249 private DisplayPowerRequest mPowerRequest;
610 public boolean requestPowerState(DisplayPowerRequest request, in requestPowerState()
627 mPendingRequestLocked = new DisplayPowerRequest(request); in requestPowerState()
753 mPowerRequest = new DisplayPowerRequest(mPendingRequestLocked); in updatePowerState()
760 previousPolicy = DisplayPowerRequest.POLICY_BRIGHT; in updatePowerState()
786 case DisplayPowerRequest.POLICY_OFF: in updatePowerState()
790 case DisplayPowerRequest.POLICY_DOZE: in updatePowerState()
801 case DisplayPowerRequest.POLICY_VR: in updatePowerState()
[all …]
DDisplayManagerService.java2370 public boolean requestPowerState(DisplayPowerRequest request, in requestPowerState()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DAutomaticBrightnessControllerTest.java32 import android.hardware.display.DisplayManagerInternal.DisplayPowerRequest;
96 false /* userChanged */, DisplayPowerRequest.POLICY_BRIGHT); in setupController()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java42 import android.hardware.display.DisplayManagerInternal.DisplayPowerRequest;
319 private final DisplayPowerRequest mDisplayPowerRequest = new DisplayPowerRequest();
2068 if (mDisplayPowerRequest.policy == DisplayPowerRequest.POLICY_BRIGHT in updateUserActivitySummaryLocked()
2069 || mDisplayPowerRequest.policy == DisplayPowerRequest.POLICY_VR) { in updateUserActivitySummaryLocked()
2071 } else if (mDisplayPowerRequest.policy == DisplayPowerRequest.POLICY_DIM) { in updateUserActivitySummaryLocked()
2483 if (mDisplayPowerRequest.policy == DisplayPowerRequest.POLICY_DOZE) { in updateDisplayPowerStateLocked()
2559 return DisplayPowerRequest.POLICY_OFF; in getDesiredScreenPolicyLocked()
2564 return DisplayPowerRequest.POLICY_DOZE; in getDesiredScreenPolicyLocked()
2567 return DisplayPowerRequest.POLICY_OFF; in getDesiredScreenPolicyLocked()
2577 return DisplayPowerRequest.POLICY_VR; in getDesiredScreenPolicyLocked()
[all …]
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt22704 Landroid/hardware/display/DisplayManagerInternal$DisplayPowerRequest;-><init>()V
22705 …play/DisplayManagerInternal$DisplayPowerRequest;-><init>(Landroid/hardware/display/DisplayManagerI…
22706 Landroid/hardware/display/DisplayManagerInternal$DisplayPowerRequest;->blockScreenOn:Z
22707 Landroid/hardware/display/DisplayManagerInternal$DisplayPowerRequest;->boostScreenBrightness:Z
22708 …lay/DisplayManagerInternal$DisplayPowerRequest;->copyFrom(Landroid/hardware/display/DisplayManager…
22709 Landroid/hardware/display/DisplayManagerInternal$DisplayPowerRequest;->dozeScreenBrightness:I
22710 Landroid/hardware/display/DisplayManagerInternal$DisplayPowerRequest;->dozeScreenState:I
22711 …play/DisplayManagerInternal$DisplayPowerRequest;->equals(Landroid/hardware/display/DisplayManagerI…
22712 Landroid/hardware/display/DisplayManagerInternal$DisplayPowerRequest;->floatEquals(FF)Z
22713 Landroid/hardware/display/DisplayManagerInternal$DisplayPowerRequest;->isBrightOrDim()Z
[all …]
Dboot-image-profile.txt7225 …play/DisplayManagerInternal$DisplayPowerRequest;-><init>(Landroid/hardware/display/DisplayManagerI…
7226 …lay/DisplayManagerInternal$DisplayPowerRequest;->copyFrom(Landroid/hardware/display/DisplayManager…
7227 …play/DisplayManagerInternal$DisplayPowerRequest;->equals(Landroid/hardware/display/DisplayManagerI…
33735 Landroid/hardware/display/DisplayManagerInternal$DisplayPowerRequest;
/frameworks/base/services/
Dart-profile6686 …ervice;->requestPowerState(Landroid/hardware/display/DisplayManagerInternal$DisplayPowerRequest;Z)Z
6804 …roller;->requestPowerState(Landroid/hardware/display/DisplayManagerInternal$DisplayPowerRequest;Z)Z