Home
last modified time | relevance | path

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

/frameworks/base/packages/Tethering/tests/unit/common/android/net/
DTetheredClientTest.kt22 import android.net.TetheringManager.TETHERING_USB
90 TETHERING_USB)) in makeLinkAddress()
95 val client1 = TetheredClient(TEST_MACADDR, listOf(TEST_ADDRINFO1), TETHERING_USB) in makeLinkAddress()
96 val client2 = TetheredClient(TEST_OTHER_MACADDR, listOf(TEST_ADDRINFO2), TETHERING_USB) in makeLinkAddress()
100 TETHERING_USB), client1.addAddresses(client2)) in makeLinkAddress()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DEntitlementManagerTest.java29 import static android.net.TetheringManager.TETHERING_USB;
378 mEnMgr.requestLatestTetheringEntitlementResult(TETHERING_USB, receiver, false); in testRequestLastEntitlementCacheValue()
442 mEnMgr.startProvisioningIfNeeded(TETHERING_USB, true); in verifyPermissionIfAllNotApproved()
469 mEnMgr.startProvisioningIfNeeded(TETHERING_USB, true); in verifyPermissionIfAnyApproved()
500 mEnMgr.startProvisioningIfNeeded(TETHERING_USB, true); in testRunTetherProvisioning()
610 mEnMgr.startProvisioningIfNeeded(TETHERING_USB, true); in testsetExemptedDownstreamType()
616 verify(mEntitlementFailedListener).onUiEntitlementFailed(TETHERING_USB); in testsetExemptedDownstreamType()
617 mEnMgr.stopProvisioningIfNeeded(TETHERING_USB); in testsetExemptedDownstreamType()
DConnectedClientsTrackerTest.kt23 import android.net.TetheringManager.TETHERING_USB
63 TETHERING_USB)
DTetheringTest.java34 import static android.net.TetheringManager.TETHERING_USB;
648 if (type == TETHERING_USB) { in sendUsbBroadcast()
716 mTethering.startTethering(createTetheringRequestParcel(TETHERING_USB), null); in prepareUsbTethering()
732 sendUsbBroadcast(true, true, true, TETHERING_USB); in testUsbConfiguredBroadcastStartsTethering()
822 sendUsbBroadcast(true, true, true, TETHERING_USB); in runUsbTethering()
1455 mTethering.stopTethering(TETHERING_USB); in runStopUSBTethering()
1697 mTethering.startTethering(createTetheringRequestParcel(TETHERING_USB, in testMultipleStartTethering()
1705 mTethering.startTethering(createTetheringRequestParcel(TETHERING_USB, in testMultipleStartTethering()
1714 mTethering.startTethering(createTetheringRequestParcel(TETHERING_USB, in testMultipleStartTethering()
1723 sendUsbBroadcast(true, true, true, TETHERING_USB); in testMultipleStartTethering()
[all …]
/frameworks/base/packages/Tethering/tests/unit/src/android/net/util/
DTetheringUtilsTest.java18 import static android.net.TetheringManager.TETHERING_USB;
69 request.tetheringType = TETHERING_USB; in testIsTetheringRequestEquals()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DEntitlementManager.java29 import static android.net.TetheringManager.TETHERING_USB;
505 case TETHERING_USB: in isValidDownstreamType()
551 case TETHERING_USB: return "TETHERING_USB"; in typeString()
DTethering.java40 import static android.net.TetheringManager.TETHERING_USB;
527 return TETHERING_USB; in ifaceNameToType()
593 case TETHERING_USB: in enableTetheringInternal()
802 stopTethering(TETHERING_USB); in untetherAll()
870 downstreamTypesMask |= (1 << TETHERING_USB); in sendTetherStateChangedBroadcast()
978 tetherMatchingInterfaces(IpServer.STATE_AVAILABLE, TETHERING_USB); in handleUsbAction()
979 mEntitlementMgr.stopProvisioningIfNeeded(TETHERING_USB); in handleUsbAction()
982 tetherMatchingInterfaces(IpServer.STATE_TETHERED, TETHERING_USB); in handleUsbAction()
/frameworks/base/packages/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java23 import static android.net.TetheringManager.TETHERING_USB;
353 initStateMachine(TETHERING_USB); in canBeTetheredAsUsb()
474 initTetheredStateMachine(TETHERING_USB, null); in interfaceDownLeadsToUnavailable()
495 initStateMachine(TETHERING_USB); in usbShouldBeTornDownOnTetherError()
515 initTetheredStateMachine(TETHERING_USB, null); in shouldTearDownUsbOnUpstreamError()
/frameworks/base/packages/Tethering/common/TetheringLib/src/android/net/
DTetheringManager.java121 TETHERING_USB,
146 public static final int TETHERING_USB = 1; field in TetheringManager
/frameworks/base/packages/Tethering/common/TetheringLib/api/
Dsystem-current.txt38 field public static final int TETHERING_USB = 1; // 0x1
/frameworks/base/core/java/android/net/
DConnectivityManager.java459 public static final int TETHERING_USB = TetheringManager.TETHERING_USB; field in ConnectivityManager
/frameworks/base/api/
Dtest-current.txt1638 field public static final int TETHERING_USB = 1; // 0x1
Dsystem-current.txt4353 field public static final int TETHERING_USB = 1; // 0x1
4803 field public static final int TETHERING_USB = 1; // 0x1
/frameworks/base/non-updatable-api/
Dsystem-current.txt4353 field public static final int TETHERING_USB;