Home
last modified time | relevance | path

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

/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/metrics/
DTetheringMetrics.java27 import static android.net.TetheringManager.TETHERING_NCM;
297 case TETHERING_NCM: in downstreamTypeToEnum()
/packages/modules/Connectivity/Tethering/common/TetheringLib/src/android/net/
DTetheringManager.java140 TETHERING_NCM,
181 public static final int TETHERING_NCM = 4; field in TetheringManager
863 return tetheringType != TETHERING_NCM
874 return type == TETHERING_USB || type == TETHERING_ETHERNET || type == TETHERING_NCM;
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTethering.java39 import static android.net.TetheringManager.TETHERING_NCM;
440 stopTetheringInternal(TETHERING_NCM); in onChange()
600 if (type == TETHERING_USB || type == TETHERING_NCM) return; in processInterfaceStateChange()
647 return TETHERING_NCM; in ifaceNameToType()
716 case TETHERING_NCM: in enableTetheringInternal()
1075 if (forNcmFunction && !mConfig.isUsingNcm()) return TETHERING_NCM; in getServedUsbType()
1272 if (type == TETHERING_USB || type == TETHERING_NCM) { in maybeStopUsbProvisioning()
1566 if (type != TETHERING_USB && type != TETHERING_NCM) continue; in disableUsbIpServing()
2558 if (config.tetherableNcmRegexs.length != 0) types |= (1 << TETHERING_NCM); in makeSupportedDownstreams()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/metrics/
DTetheringMetricsTest.java27 import static android.net.TetheringManager.TETHERING_NCM;
186 runDownstreamTypesTest(TETHERING_NCM, DownstreamType.DS_TETHERING_NCM); in testDownstreamTypes()
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java25 import static android.net.TetheringManager.TETHERING_NCM;
689 initStateMachine(TETHERING_NCM); in startsDhcpServerOnNcm()
698 initStateMachine(TETHERING_NCM); in testOnNewPrefixRequest()
914 if (mIpServer.interfaceType() == TETHERING_NCM) { in assertDhcpServingParams()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringTest.java44 import static android.net.TetheringManager.TETHERING_NCM;
914 mTethering.startTethering(createTetheringRequestParcel(TETHERING_NCM), TEST_CALLER_PKG, in prepareNcmTethering()
3477 verify(mTetheringMetrics).createBuilder(eq(TETHERING_NCM), anyString()); in testUsbFunctionConfigurationChange()
3485 verify(mTetheringMetrics).sendReport(eq(TETHERING_NCM)); in testUsbFunctionConfigurationChange()
3490 mTethering.startTethering(createTetheringRequestParcel(TETHERING_NCM), TEST_CALLER_PKG, in testUsbFunctionConfigurationChange()
3494 verify(mTetheringMetrics, times(2)).createBuilder(eq(TETHERING_NCM), anyString()); in testUsbFunctionConfigurationChange()
3496 verify(mTetheringMetrics).updateErrorCode(eq(TETHERING_NCM), in testUsbFunctionConfigurationChange()
3498 verify(mTetheringMetrics, times(2)).sendReport(eq(TETHERING_NCM)); in testUsbFunctionConfigurationChange()
3513 return new ArraySet<>(new Integer[] { TETHERING_USB, TETHERING_NCM, TETHERING_WIFI, in getAllSupportedTetheringTypes()
3579 expectedTypes.remove(TETHERING_NCM); in testTetheringSupported()
/packages/modules/Connectivity/Tethering/common/TetheringLib/api/
Dsystem-current.txt48 field public static final int TETHERING_NCM = 4; // 0x4
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DIpServer.java587 (mInterfaceType == TetheringManager.TETHERING_NCM && clientAddr == null); in makeServingParams()