Searched refs:STATE_AVAILABLE (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/tests/net/java/android/net/ip/ |
D | IpServerTest.java | 26 import static android.net.ip.IpServer.STATE_AVAILABLE; 176 mIpServer, STATE_AVAILABLE, TETHER_ERROR_NO_ERROR); in startsOutAvailable() 235 mIpServer, STATE_AVAILABLE, TETHER_ERROR_NO_ERROR); in canUnrequestTethering() 333 mIpServer, STATE_AVAILABLE, TETHER_ERROR_NO_ERROR); in canUnrequestTetheringWithUpstream() 371 mIpServer, STATE_AVAILABLE, TETHER_ERROR_TETHER_IFACE_ERROR); in usbShouldBeTornDownOnTetherError() 387 mIpServer, STATE_AVAILABLE, TETHER_ERROR_ENABLE_NAT_ERROR); in shouldTearDownUsbOnUpstreamError()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Tethering.java | 152 lastState = IpServer.STATE_AVAILABLE; in TetherState() 487 if (tetherState.lastState != IpServer.STATE_AVAILABLE) { in tether() 557 } else if (tetherState.lastState == IpServer.STATE_AVAILABLE) { in sendTetherStateChangedBroadcast() 750 tetherMatchingInterfaces(IpServer.STATE_AVAILABLE, TETHERING_USB); in handleUsbAction() 912 case IpServer.STATE_AVAILABLE: in changeInterfaceState() 993 if (tetherState.lastState == IpServer.STATE_AVAILABLE) { in getTetherableIfaces() 1642 case IpServer.STATE_AVAILABLE: in sendOffloadExemptPrefixes() 1747 case IpServer.STATE_AVAILABLE: in dump() 1838 case IpServer.STATE_AVAILABLE:
|
/frameworks/base/services/net/java/android/net/ip/ |
D | IpServer.java | 76 public static final int STATE_AVAILABLE = 1; field in IpServer 83 case STATE_AVAILABLE: return "AVAILABLE"; in getStateString() 231 mServingMode = STATE_AVAILABLE; in IpServer() 691 sendInterfaceState(STATE_AVAILABLE); in enter()
|