Home
last modified time | relevance | path

Searched refs:DisplayPowerRequest (Results 1 – 9 of 9) 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.java49 import android.hardware.display.DisplayManagerInternal.DisplayPowerRequest;
110 private DisplayPowerRequest mDisplayPowerRequest;
149 mDisplayPowerRequest = new DisplayPowerRequest(); in setUp()
284 DisplayPowerRequest.POLICY_BRIGHT); in testGetDesiredScreenPolicy_WithVR()
289 DisplayPowerRequest.POLICY_VR); in testGetDesiredScreenPolicy_WithVR()
295 DisplayPowerRequest.POLICY_OFF); in testGetDesiredScreenPolicy_WithVR()
300 DisplayPowerRequest.POLICY_VR); in testGetDesiredScreenPolicy_WithVR()
305 DisplayPowerRequest.POLICY_BRIGHT); in testGetDesiredScreenPolicy_WithVR()
/frameworks/base/services/core/java/com/android/server/display/
DAutomaticBrightnessController.java31 import android.hardware.display.DisplayManagerInternal.DisplayPowerRequest;
190 private int mDisplayPolicy = DisplayPowerRequest.POLICY_OFF;
285 if (mDisplayPolicy == DisplayPowerRequest.POLICY_DOZE) { in getAutomaticScreenBrightness()
307 boolean dozing = (displayPolicy == DisplayPowerRequest.POLICY_DOZE); in configure()
360 return policy == DisplayPowerRequest.POLICY_BRIGHT in isInteractivePolicy()
361 || policy == DisplayPowerRequest.POLICY_DIM in isInteractivePolicy()
362 || policy == DisplayPowerRequest.POLICY_VR; in isInteractivePolicy()
433 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.java2367 public boolean requestPowerState(DisplayPowerRequest request, in requestPowerState()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java41 import android.hardware.display.DisplayManagerInternal.DisplayPowerRequest;
317 private final DisplayPowerRequest mDisplayPowerRequest = new DisplayPowerRequest();
2050 if (mDisplayPowerRequest.policy == DisplayPowerRequest.POLICY_BRIGHT in updateUserActivitySummaryLocked()
2051 || mDisplayPowerRequest.policy == DisplayPowerRequest.POLICY_VR) { in updateUserActivitySummaryLocked()
2053 } else if (mDisplayPowerRequest.policy == DisplayPowerRequest.POLICY_DIM) { in updateUserActivitySummaryLocked()
2461 if (mDisplayPowerRequest.policy == DisplayPowerRequest.POLICY_DOZE) { in updateDisplayPowerStateLocked()
2537 return DisplayPowerRequest.POLICY_OFF; in getDesiredScreenPolicyLocked()
2542 return DisplayPowerRequest.POLICY_DOZE; in getDesiredScreenPolicyLocked()
2545 return DisplayPowerRequest.POLICY_OFF; in getDesiredScreenPolicyLocked()
2555 return DisplayPowerRequest.POLICY_VR; in getDesiredScreenPolicyLocked()
[all …]
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt24239 Landroid/hardware/display/DisplayManagerInternal$DisplayPowerRequest;
24240 Landroid/hardware/display/DisplayManagerInternal$DisplayPowerRequest;-><init>()V
24241 …play/DisplayManagerInternal$DisplayPowerRequest;-><init>(Landroid/hardware/display/DisplayManagerI…
24242 Landroid/hardware/display/DisplayManagerInternal$DisplayPowerRequest;->blockScreenOn:Z
24243 Landroid/hardware/display/DisplayManagerInternal$DisplayPowerRequest;->boostScreenBrightness:Z
24244 …lay/DisplayManagerInternal$DisplayPowerRequest;->copyFrom(Landroid/hardware/display/DisplayManager…
24245 Landroid/hardware/display/DisplayManagerInternal$DisplayPowerRequest;->dozeScreenBrightness:I
24246 Landroid/hardware/display/DisplayManagerInternal$DisplayPowerRequest;->dozeScreenState:I
24247 …play/DisplayManagerInternal$DisplayPowerRequest;->equals(Landroid/hardware/display/DisplayManagerI…
24248 Landroid/hardware/display/DisplayManagerInternal$DisplayPowerRequest;->floatEquals(FF)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…
33736 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