Home
last modified time | relevance | path

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

/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringServiceTest.java268 }).when(mTethering).setUsbTethering(anyBoolean(), any(IIntResultListener.class)); in runSetUsbTethering()
269 mTetheringConnector.setUsbTethering(true /* enable */, TEST_CALLER_PKG, in runSetUsbTethering()
273 verify(mTethering).setUsbTethering(eq(true) /* enable */, any(IIntResultListener.class)); in runSetUsbTethering()
280 mTetheringConnector.setUsbTethering(true /* enable */, TEST_CALLER_PKG, in testSetUsbTethering()
299 mTetheringConnector.setUsbTethering(true /* enable */, TEST_CALLER_PKG, in testSetUsbTethering()
/packages/modules/Connectivity/Tethering/common/TetheringLib/src/android/net/
DITetheringConnector.aidl31 void setUsbTethering(boolean enable, String callerPkg, in setUsbTethering() method
DTetheringManager.java646 public int setUsbTethering(final boolean enable) {
654 connector.setUsbTethering(enable, callerPkg, getAttributionTag(),
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTetheringService.java124 public void setUsbTethering(boolean enable, String callerPkg, String callingAttributionTag, in setUsbTethering() method in TetheringService.TetheringConnector
128 mTethering.setUsbTethering(enable, listener); in setUsbTethering()
DTethering.java711 result = setUsbTethering(enable); in enableTetheringInternal()
1582 void setUsbTethering(boolean enable, IIntResultListener listener) { in setUsbTethering() method in Tethering
1585 listener.onResult(setUsbTethering(enable)); in setUsbTethering()
1590 private int setUsbTethering(boolean enable) { in setUsbTethering() method in Tethering
/packages/modules/Connectivity/Tethering/common/TetheringLib/api/
Dmodule-lib-current.txt24 method @Deprecated public int setUsbTethering(boolean);
/packages/modules/Connectivity/framework/src/android/net/
DConnectivityManager.java3406 public int setUsbTethering(boolean enable) { in setUsbTethering() method in ConnectivityManager
3407 return getTetheringManager().setUsbTethering(enable); in setUsbTethering()
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt230 Landroid/net/IConnectivityManager$Stub$Proxy;->setUsbTethering(ZLjava/lang/String;)I
370 Landroid/net/IConnectivityManager;->setUsbTethering(ZLjava/lang/String;)I