Searched refs:forNcmFunction (Results 1 – 1 of 1) sorted by relevance
1073 private int getServedUsbType(boolean forNcmFunction) { in getServedUsbType() argument1075 if (forNcmFunction && !mConfig.isUsingNcm()) return TETHERING_NCM; in getServedUsbType()1260 private void changeUsbIpServing(boolean enable, boolean forNcmFunction) { in changeUsbIpServing() argument1263 enableUsbIpServing(forNcmFunction); in changeUsbIpServing()1265 disableUsbIpServing(forNcmFunction); in changeUsbIpServing()1533 private void enableUsbIpServing(boolean forNcmFunction) { in enableUsbIpServing() argument1540 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 …]