Searched refs:DisplayPowerRequest (Results 1 – 4 of 4) sorted by relevance
53 public abstract boolean requestPowerState(DisplayPowerRequest request, in requestPowerState()159 public static final class DisplayPowerRequest { class in DisplayManagerInternal214 public DisplayPowerRequest() { in DisplayPowerRequest() method in DisplayManagerInternal.DisplayPowerRequest225 public DisplayPowerRequest(DisplayPowerRequest other) { in DisplayPowerRequest() method in DisplayManagerInternal.DisplayPowerRequest233 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()
32 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 …]
1528 public boolean requestPowerState(DisplayPowerRequest request, in requestPowerState()
45 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()