Searched refs:STATE_AVAILABLE (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | Tethering.java | 177 lastState = IpServer.STATE_AVAILABLE; in TetherState() 762 if (tetherState.lastState != IpServer.STATE_AVAILABLE) { in tether() 864 } else if (tetherState.lastState == IpServer.STATE_AVAILABLE) { in sendTetherStateChangedBroadcast() 978 tetherMatchingInterfaces(IpServer.STATE_AVAILABLE, TETHERING_USB); in handleUsbAction() 1241 case IpServer.STATE_AVAILABLE: in changeInterfaceState() 1332 if (tetherState.lastState == IpServer.STATE_AVAILABLE) { in getTetherableIfaces() 2017 case IpServer.STATE_AVAILABLE: in sendOffloadExemptPrefixes() 2247 case IpServer.STATE_AVAILABLE: in dump() 2355 case IpServer.STATE_AVAILABLE:
|
/frameworks/base/packages/Tethering/tests/unit/src/android/net/ip/ |
D | IpServerTest.java | 30 import static android.net.ip.IpServer.STATE_AVAILABLE; 273 mIpServer, STATE_AVAILABLE, TETHER_ERROR_NO_ERROR); in startsOutAvailable() 339 mIpServer, STATE_AVAILABLE, TETHER_ERROR_NO_ERROR); in canUnrequestTethering() 459 mIpServer, STATE_AVAILABLE, TETHER_ERROR_NO_ERROR); in canUnrequestTetheringWithUpstream() 501 mIpServer, STATE_AVAILABLE, TETHER_ERROR_TETHER_IFACE_ERROR); in usbShouldBeTornDownOnTetherError() 519 mIpServer, STATE_AVAILABLE, TETHER_ERROR_ENABLE_FORWARDING_ERROR); in shouldTearDownUsbOnUpstreamError()
|
/frameworks/base/packages/Tethering/src/android/net/ip/ |
D | IpServer.java | 94 public static final int STATE_AVAILABLE = 1; field in IpServer 102 case STATE_AVAILABLE: return "AVAILABLE"; in getStateString() 301 mServingMode = STATE_AVAILABLE; in IpServer() 1042 sendInterfaceState(STATE_AVAILABLE); in enter()
|