Home
last modified time | relevance | path

Searched refs:STATE_AVAILABLE (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java33 import static android.net.ip.IpServer.STATE_AVAILABLE;
323 mIpServer, STATE_AVAILABLE, TETHER_ERROR_NO_ERROR); in startsOutAvailable()
401 mIpServer, STATE_AVAILABLE, TETHER_ERROR_NO_ERROR); in canUnrequestTethering()
575 mIpServer, STATE_AVAILABLE, TETHER_ERROR_NO_ERROR); in canUnrequestTetheringWithUpstream()
617 mIpServer, STATE_AVAILABLE, TETHER_ERROR_TETHER_IFACE_ERROR); in usbShouldBeTornDownOnTetherError()
638 mIpServer, STATE_AVAILABLE, TETHER_ERROR_ENABLE_FORWARDING_ERROR); in shouldTearDownUsbOnUpstreamError()
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DIpServer.java113 public static final int STATE_AVAILABLE = 1; field in IpServer
121 case STATE_AVAILABLE: return "AVAILABLE"; in getStateString()
347 mServingMode = STATE_AVAILABLE; in IpServer()
1112 sendInterfaceState(STATE_AVAILABLE); in enter()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTethering.java201 lastState = IpServer.STATE_AVAILABLE; in TetherState()
992 if (tetherState.lastState != IpServer.STATE_AVAILABLE) { in tether()
1099 } else if (tetherState.lastState == IpServer.STATE_AVAILABLE) { in sendTetherStateChangedBroadcast()
1633 if (tetherState.lastState == IpServer.STATE_AVAILABLE) { in getTetherableIfacesForTest()
2334 case IpServer.STATE_AVAILABLE: in sendOffloadExemptPrefixes()
2633 case IpServer.STATE_AVAILABLE: in doDump()
2732 case IpServer.STATE_AVAILABLE: in updateInterfaceState()