Home
last modified time | relevance | path

Searched refs:TETHERING_USB (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DEntitlementManagerTest.java20 import static android.net.ConnectivityManager.TETHERING_USB;
342 mEnMgr.getLatestTetheringEntitlementResult(TETHERING_USB, receiver, false); in testGetLastEntitlementCacheValue()
380 mEnMgr.startProvisioningIfNeeded(TETHERING_USB, true); in verifyPermissionIfAllNotApproved()
399 mEnMgr.startProvisioningIfNeeded(TETHERING_USB, true); in verifyPermissionIfAnyApproved()
415 mEnMgr.startProvisioningIfNeeded(TETHERING_USB, true); in testRunTetherProvisioning()
/frameworks/base/tests/net/java/android/net/ip/
DIpServerTest.java20 import static android.net.ConnectivityManager.TETHERING_USB;
243 initStateMachine(TETHERING_USB); in canBeTetheredAsUsb()
342 initTetheredStateMachine(TETHERING_USB, null); in interfaceDownLeadsToUnavailable()
362 initStateMachine(TETHERING_USB); in usbShouldBeTornDownOnTetherError()
379 initTetheredStateMachine(TETHERING_USB, null); in shouldTearDownUsbOnUpstreamError()
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DEntitlementManager.java24 import static android.net.ConnectivityManager.TETHERING_USB;
546 case TETHERING_USB: in isValidDownstreamType()
577 case TETHERING_USB: return "TETHERING_USB"; in typeString()
/frameworks/base/services/core/java/com/android/server/connectivity/
DTethering.java31 import static android.net.ConnectivityManager.TETHERING_USB;
361 return TETHERING_USB; in ifaceNameToType()
405 case TETHERING_USB: in enableTetheringInternal()
520 stopTethering(TETHERING_USB); in untetherAll()
750 tetherMatchingInterfaces(IpServer.STATE_AVAILABLE, TETHERING_USB); in handleUsbAction()
751 mEntitlementMgr.stopProvisioningIfNeeded(TETHERING_USB); in handleUsbAction()
754 tetherMatchingInterfaces(IpServer.STATE_TETHERED, TETHERING_USB); in handleUsbAction()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DTetheringTest.java26 import static android.net.ConnectivityManager.TETHERING_USB;
459 mTethering.startTethering(TETHERING_USB, null, false); in prepareUsbTethering()
963 mTethering.stopTethering(TETHERING_USB); in testRegisterTetheringEventCallback()
/frameworks/base/services/net/java/android/net/ip/
DIpServer.java400 if (mInterfaceType == ConnectivityManager.TETHERING_USB) { in configureIPv4()
/frameworks/base/core/java/android/net/
DConnectivityManager.java465 public static final int TETHERING_USB = 1; field in ConnectivityManager
/frameworks/base/api/
Dsystem-current.txt4022 field public static final int TETHERING_USB = 1; // 0x1