Home
last modified time | relevance | path

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

/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTethering.java1073 private int getServedUsbType(boolean forNcmFunction) { in getServedUsbType() argument
1075 if (forNcmFunction && !mConfig.isUsingNcm()) return TETHERING_NCM; in getServedUsbType()
1260 private void changeUsbIpServing(boolean enable, boolean forNcmFunction) { in changeUsbIpServing() argument
1263 enableUsbIpServing(forNcmFunction); in changeUsbIpServing()
1265 disableUsbIpServing(forNcmFunction); in changeUsbIpServing()
1533 private void enableUsbIpServing(boolean forNcmFunction) { in enableUsbIpServing() argument
1540 final int tetheringType = getServedUsbType(forNcmFunction); in enableUsbIpServing()
1553 enableIpServing(tetheringType, iface, requestedState, forNcmFunction); in enableUsbIpServing()
1559 mLog.e("could not enable IpServer for function " + (forNcmFunction ? "NCM" : "RNDIS")); in enableUsbIpServing()
1562 private void disableUsbIpServing(boolean forNcmFunction) { in disableUsbIpServing() argument
[all …]