Home
last modified time | relevance | path

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

/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DIPv6TetheringCoordinatorTest.java22 import static android.net.ip.IpServer.STATE_TETHERED;
111 mIPv6TetheringCoordinator.addActiveDownstream(firstServer, STATE_TETHERED); in testUpdateIpv6Upstream()
DTetheringTest.java808 eq(IpServer.STATE_TETHERED)); in sendIPv6TetherUpdates()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTethering.java183 case IpServer.STATE_TETHERED: in isCurrentlyServing()
731 changeInterfaceState(iface, IpServer.STATE_TETHERED); in onAvailable()
749 return tether(iface, IpServer.STATE_TETHERED); in tether()
868 } else if (tetherState.lastState == IpServer.STATE_TETHERED) { in sendTetherStateChangedBroadcast()
982 tetherMatchingInterfaces(IpServer.STATE_TETHERED, TETHERING_USB); in handleUsbAction()
1182 ipServingMode = IpServer.STATE_TETHERED; in enableWifiIpServingLocked()
1244 case IpServer.STATE_TETHERED: in changeInterfaceState()
1319 if (tetherState.lastState == IpServer.STATE_TETHERED) { in getTetheredIfaces()
1630 if (mode == IpServer.STATE_TETHERED) { in handleInterfaceServingStateActive()
1645 case IpServer.STATE_TETHERED: in handleInterfaceServingStateActive()
[all …]
/frameworks/base/packages/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java32 import static android.net.ip.IpServer.STATE_TETHERED;
208 dispatchCommand(IpServer.CMD_TETHER_REQUESTED, STATE_TETHERED); in initTetheredStateMachine()
319 dispatchCommand(IpServer.CMD_TETHER_REQUESTED, STATE_TETHERED); in canBeTethered()
327 mIpServer, STATE_TETHERED, TETHER_ERROR_NO_ERROR); in canBeTethered()
355 dispatchCommand(IpServer.CMD_TETHER_REQUESTED, STATE_TETHERED); in canBeTetheredAsUsb()
365 mIpServer, STATE_TETHERED, TETHER_ERROR_NO_ERROR); in canBeTetheredAsUsb()
498 dispatchCommand(IpServer.CMD_TETHER_REQUESTED, STATE_TETHERED); in usbShouldBeTornDownOnTetherError()
981 dispatchCommand(IpServer.CMD_TETHER_REQUESTED, STATE_TETHERED); in testStopObsoleteDhcpServer()
/frameworks/base/packages/Tethering/src/android/net/ip/
DIpServer.java94 public static final int STATE_TETHERED = 2; field in IpServer
102 case STATE_TETHERED: return "TETHERED"; in getStateString()
1063 case STATE_TETHERED: in processMessage()
1215 sendInterfaceState(STATE_TETHERED); in enter()