Home
last modified time | relevance | path

Searched refs:isUsingNcm (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTetheringConfiguration.java176 if (isUsingNcm() && (ncmRegexs.length != 0)) { in TetheringConfiguration()
234 public boolean isUsingNcm() { in isUsingNcm() method in TetheringConfiguration
325 pw.println(isUsingNcm() ? "NCM" : "RNDIS"); in dump()
DTethering.java382 final boolean isUsingNcm = mConfig.isUsingNcm(); in onChange()
384 if (isUsingNcm != mConfig.isUsingNcm()) { in onChange()
905 if (forNcmFunction && !mConfig.isUsingNcm()) return TETHERING_NCM; in getServedUsbType()
1431 final long usbFunction = mConfig.isUsingNcm() in setUsbTethering()
1443 if (mConfig.isUsingNcm() && enable) return TETHER_ERROR_SERVICE_UNAVAIL; in setNcmTethering()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringConfigurationTest.java594 assertEquals(expected, cfg.isUsingNcm()); in assertIsUsingNcm()
DTetheringTest.java847 if (mTethering.getTetheringConfiguration().isUsingNcm()) { in prepareUsbTethering()
953 if (mTethering.getTetheringConfiguration().isUsingNcm()) { in runUsbTethering()