Home
last modified time | relevance | path

Searched refs:tetheringType (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTethering.java666 request.tetheringType); in startTethering()
671 enableTetheringInternal(request.tetheringType, false /* disabled */, null); in startTethering()
672 mEntitlementMgr.stopProvisioningIfNeeded(request.tetheringType); in startTethering()
674 mActiveTetheringRequests.put(request.tetheringType, request); in startTethering()
677 mEntitlementMgr.setExemptedDownstreamType(request.tetheringType); in startTethering()
679 mEntitlementMgr.startProvisioningIfNeeded(request.tetheringType, in startTethering()
682 enableTetheringInternal(request.tetheringType, true /* enabled */, listener); in startTethering()
683 mTetheringMetrics.createBuilder(request.tetheringType, callerPkg); in startTethering()
1425 private void enableIpServing(int tetheringType, String ifname, int ipServingMode) { in enableIpServing() argument
1426 enableIpServing(tetheringType, ifname, ipServingMode, false /* isNcm */); in enableIpServing()
[all …]
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/util/
DTetheringUtils.java167 && request.tetheringType == otherRequest.tetheringType in isTetheringRequestEquals()
/packages/modules/Connectivity/Tethering/common/TetheringLib/src/android/net/
DTetheredClient.java45 @NonNull Collection<AddressInfo> addresses, int tetheringType) { in TetheredClient() argument
48 mTetheringType = tetheringType; in TetheredClient()
DTetheringRequestParcel.aidl26 int tetheringType;
DTetheringManager.java732 mBuilderParcel.tetheringType = type;
789 if (!checkConnectivityScope(mBuilderParcel.tetheringType, scope)) {
825 return mRequestParcel.tetheringType;
862 public static @ConnectivityScope int getDefaultConnectivityScope(int tetheringType) {
863 return tetheringType != TETHERING_NCM
887 return "TetheringRequest [ type= " + mRequestParcel.tetheringType
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DTetherService.java258 private void disableTethering(final int tetheringType) { in disableTethering() argument
259 Log.w(TAG, "Disable tethering, type:" + tetheringType); in disableTethering()
261 tm.stopTethering(tetheringType); in disableTethering()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/util/
DTetheringUtilsTest.java73 request.tetheringType = TETHERING_WIFI; in makeTetheringRequestParcel()
92 request.tetheringType = TETHERING_USB; in testIsTetheringRequestEquals()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringServiceTest.java320 request.tetheringType = TETHERING_WIFI; in testStartTethering()
354 request.tetheringType = TETHERING_WIFI; in runStartTetheringAndVerifyNoPermission()
365 request.tetheringType = TETHERING_WIFI; in testFailToBypassEntitlementWithoutNeworkStackPermission()
DTetheringTest.java754 request.tetheringType = type; in createTetheringRequestParcel()
/packages/modules/Connectivity/Tethering/tests/unit/common/android/net/
DTetheredClientTest.kt107 assertEquals(TETHERING_BLUETOOTH, makeTestClient().tetheringType) in makeLinkAddress()
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DIpServer.java178 public void requestEnableTethering(int tetheringType, boolean enabled) { } in requestEnableTethering() argument