Home
last modified time | relevance | path

Searched refs:requestedState (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeMachine.java212 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/
DDeviceStateRequest.java75 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/
DDeviceStateManagerShellCommand.java101 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()
DOverrideRequest.java71 OverrideRequest(IBinder token, int pid, int requestedState, in OverrideRequest() argument
75 mRequestedState = requestedState; in OverrideRequest()