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() 2018 case IpServer.STATE_AVAILABLE: in sendOffloadExemptPrefixes() 2248 case IpServer.STATE_AVAILABLE: in dump() 2356 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; 279 mIpServer, STATE_AVAILABLE, TETHER_ERROR_NO_ERROR); in startsOutAvailable() 345 mIpServer, STATE_AVAILABLE, TETHER_ERROR_NO_ERROR); in canUnrequestTethering() 465 mIpServer, STATE_AVAILABLE, TETHER_ERROR_NO_ERROR); in canUnrequestTetheringWithUpstream() 507 mIpServer, STATE_AVAILABLE, TETHER_ERROR_TETHER_IFACE_ERROR); in usbShouldBeTornDownOnTetherError() 525 mIpServer, STATE_AVAILABLE, TETHER_ERROR_ENABLE_FORWARDING_ERROR); in shouldTearDownUsbOnUpstreamError()
|
/frameworks/base/packages/Tethering/src/android/net/ip/ |
D | IpServer.java | 93 public static final int STATE_AVAILABLE = 1; field in IpServer 101 case STATE_AVAILABLE: return "AVAILABLE"; in getStateString() 304 mServingMode = STATE_AVAILABLE; in IpServer() 1049 sendInterfaceState(STATE_AVAILABLE); in enter()
|