Searched refs:requestedState (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeMachine.java | 212 public void requestState(State requestedState) { in requestState() argument 213 Preconditions.checkArgument(requestedState != State.DOZE_REQUEST_PULSE); in requestState() 214 requestState(requestedState, DozeLog.PULSE_REASON_NONE); in requestState() 241 private void requestState(State requestedState, int pulseReason) { in requestState() argument 244 Log.i(TAG, "request: current=" + mState + " req=" + requestedState, in requestState() 249 mQueuedRequests.add(requestedState); in requestState() 302 private void transitionTo(State requestedState, int pulseReason) { in transitionTo() argument 303 State newState = transitionPolicy(requestedState); in transitionTo() 306 Log.i(TAG, "transition: old=" + mState + " req=" + requestedState + " new=" + newState); in transitionTo() 379 private State transitionPolicy(State requestedState) { in transitionPolicy() argument [all …]
|
/frameworks/base/core/java/android/hardware/devicestate/ |
D | DeviceStateRequest.java | 75 public static Builder newBuilder(int requestedState) { in newBuilder() argument 76 return new Builder(requestedState); in newBuilder() 87 private Builder(int requestedState) { in Builder() argument 88 mRequestedState = requestedState; in Builder() 149 private DeviceStateRequest(int requestedState, @RequestFlags int flags) { in DeviceStateRequest() argument 150 mRequestedState = requestedState; in DeviceStateRequest()
|
/frameworks/base/services/core/java/com/android/server/devicestate/ |
D | DeviceStateManagerShellCommand.java | 101 int requestedState = Integer.parseInt(nextArg); in runState() local 102 DeviceStateRequest request = DeviceStateRequest.newBuilder(requestedState).build(); in runState() 142 int requestedState = Integer.parseInt(nextArg); in runBaseState() local 143 DeviceStateRequest request = DeviceStateRequest.newBuilder(requestedState).build(); in runBaseState()
|
D | OverrideRequest.java | 71 OverrideRequest(IBinder token, int pid, int requestedState, in OverrideRequest() argument 75 mRequestedState = requestedState; in OverrideRequest()
|