Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeMachine.java160 public void requestState(State requestedState) { in requestState() argument
161 Preconditions.checkArgument(requestedState != State.DOZE_REQUEST_PULSE); in requestState()
162 requestState(requestedState, DozeLog.PULSE_REASON_NONE); in requestState()
174 private void requestState(State requestedState, int pulseReason) { in requestState() argument
177 Log.i(TAG, "request: current=" + mState + " req=" + requestedState, in requestState()
182 mQueuedRequests.add(requestedState); in requestState()
234 private void transitionTo(State requestedState, int pulseReason) { in transitionTo() argument
235 State newState = transitionPolicy(requestedState); in transitionTo()
238 Log.i(TAG, "transition: old=" + mState + " req=" + requestedState + " new=" + newState); in transitionTo()
313 private State transitionPolicy(State requestedState) { in transitionPolicy() argument
[all …]
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTethering.java752 private int tether(String iface, int requestedState) { in tether() argument
776 tetherState.ipServer.sendMessage(IpServer.CMD_TETHER_REQUESTED, requestedState, 0, in tether()
1208 private void tetherMatchingInterfaces(int requestedState, int interfaceType) { in tetherMatchingInterfaces() argument
1210 Log.d(TAG, "tetherMatchingInterfaces(" + requestedState + ", " + interfaceType + ")"); in tetherMatchingInterfaces()
1234 changeInterfaceState(chosenIface, requestedState); in tetherMatchingInterfaces()
1237 private void changeInterfaceState(String ifname, int requestedState) { in changeInterfaceState() argument
1239 switch (requestedState) { in changeInterfaceState()
1246 result = tether(ifname, requestedState); in changeInterfaceState()
1249 Log.wtf(TAG, "Unknown interface state: " + requestedState); in changeInterfaceState()