Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/android/net/ip/
DIpServerTest.java27 import static android.net.ip.IpServer.STATE_TETHERED;
155 dispatchCommand(IpServer.CMD_TETHER_REQUESTED, STATE_TETHERED); in initTetheredStateMachine()
216 dispatchCommand(IpServer.CMD_TETHER_REQUESTED, STATE_TETHERED); in canBeTethered()
220 mIpServer, STATE_TETHERED, TETHER_ERROR_NO_ERROR); in canBeTethered()
245 dispatchCommand(IpServer.CMD_TETHER_REQUESTED, STATE_TETHERED); in canBeTetheredAsUsb()
251 mIpServer, STATE_TETHERED, TETHER_ERROR_NO_ERROR); in canBeTetheredAsUsb()
365 dispatchCommand(IpServer.CMD_TETHER_REQUESTED, STATE_TETHERED); in usbShouldBeTornDownOnTetherError()
/frameworks/base/services/core/java/com/android/server/connectivity/
DTethering.java158 case IpServer.STATE_TETHERED: in isCurrentlyServing()
474 return tether(iface, IpServer.STATE_TETHERED); in tether()
561 } else if (tetherState.lastState == IpServer.STATE_TETHERED) { in sendTetherStateChangedBroadcast()
754 tetherMatchingInterfaces(IpServer.STATE_TETHERED, TETHERING_USB); in handleUsbAction()
853 ipServingMode = IpServer.STATE_TETHERED; in enableWifiIpServingLocked()
915 case IpServer.STATE_TETHERED: in changeInterfaceState()
980 if (tetherState.lastState == IpServer.STATE_TETHERED) { in getTetheredIfaces()
1287 if (mode == IpServer.STATE_TETHERED) { in handleInterfaceServingStateActive()
1302 case IpServer.STATE_TETHERED: in handleInterfaceServingStateActive()
1470 if (message.arg1 == IpServer.STATE_TETHERED) { in processMessage()
[all …]
/frameworks/base/services/net/java/android/net/ip/
DIpServer.java77 public static final int STATE_TETHERED = 2; field in IpServer
84 case STATE_TETHERED: return "TETHERED"; in getStateString()
704 case STATE_TETHERED: in processMessage()
847 sendInterfaceState(STATE_TETHERED); in enter()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DTetheringTest.java547 eq(IpServer.STATE_TETHERED)); in sendIPv6TetherUpdates()