Searched refs:requestedState (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeMachine.java | 152 public void requestState(State requestedState) { in requestState() argument 153 Preconditions.checkArgument(requestedState != State.DOZE_REQUEST_PULSE); in requestState() 154 requestState(requestedState, DozeLog.PULSE_REASON_NONE); in requestState() 166 private void requestState(State requestedState, int pulseReason) { in requestState() argument 169 Log.i(TAG, "request: current=" + mState + " req=" + requestedState, in requestState() 174 mQueuedRequests.add(requestedState); in requestState() 226 private void transitionTo(State requestedState, int pulseReason) { in transitionTo() argument 227 State newState = transitionPolicy(requestedState); in transitionTo() 230 Log.i(TAG, "transition: old=" + mState + " req=" + requestedState + " new=" + newState); in transitionTo() 305 private State transitionPolicy(State requestedState) { in transitionPolicy() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Tethering.java | 477 private int tether(String iface, int requestedState) { in tether() argument 496 tetherState.ipServer.sendMessage(IpServer.CMD_TETHER_REQUESTED, requestedState); in tether() 879 private void tetherMatchingInterfaces(int requestedState, int interfaceType) { in tetherMatchingInterfaces() argument 881 Log.d(TAG, "tetherMatchingInterfaces(" + requestedState + ", " + interfaceType + ")"); in tetherMatchingInterfaces() 905 changeInterfaceState(chosenIface, requestedState); in tetherMatchingInterfaces() 908 private void changeInterfaceState(String ifname, int requestedState) { in changeInterfaceState() argument 910 switch (requestedState) { in changeInterfaceState() 917 result = tether(ifname, requestedState); in changeInterfaceState() 920 Log.wtf(TAG, "Unknown interface state: " + requestedState); in changeInterfaceState()
|