Home
last modified time | relevance | path

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

/aosp12/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
H A DTetheringServiceTest.java224 }).when(mTethering).setUsbTethering(anyBoolean(), any(IIntResultListener.class)); in runSetUsbTethering()
225 mTetheringConnector.setUsbTethering(true /* enable */, TEST_CALLER_PKG, in runSetUsbTethering()
228 verify(mTethering).setUsbTethering(eq(true) /* enable */, any(IIntResultListener.class)); in runSetUsbTethering()
235 mTetheringConnector.setUsbTethering(true /* enable */, TEST_CALLER_PKG, in testSetUsbTethering()
/aosp12/packages/modules/Connectivity/Tethering/common/TetheringLib/src/android/net/
H A DITetheringConnector.aidl31 void setUsbTethering(boolean enable, String callerPkg, in setUsbTethering() method
H A DTetheringManager.java548 public int setUsbTethering(final boolean enable) {
556 connector.setUsbTethering(enable, callerPkg, getAttributionTag(),
/aosp12/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
H A DTetheringService.java122 public void setUsbTethering(boolean enable, String callerPkg, String callingAttributionTag, in setUsbTethering() method in TetheringService.TetheringConnector
126 mTethering.setUsbTethering(enable, listener); in setUsbTethering()
H A DTethering.java640 result = setUsbTethering(enable); in enableTetheringInternal()
1415 void setUsbTethering(boolean enable, IIntResultListener listener) { in setUsbTethering() method in Tethering
1418 listener.onResult(setUsbTethering(enable)); in setUsbTethering()
1423 private int setUsbTethering(boolean enable) { in setUsbTethering() method in Tethering
/aosp12/packages/modules/Connectivity/Tethering/common/TetheringLib/api/
H A Dmodule-lib-current.txt24 method @Deprecated public int setUsbTethering(boolean);
/aosp12/packages/modules/Connectivity/core/java/android/net/
H A DIConnectivityManager.aidl100 int setUsbTethering(boolean enable); in setUsbTethering() method
H A DConnectivityManager.java1478 public int setUsbTethering(boolean enable) { in setUsbTethering() method in ConnectivityManager
1480 return mService.setUsbTethering(enable); in setUsbTethering()
/aosp12/frameworks/layoutlib/bridge/src/android/net/
H A DConnectivityManager.java560 public int setUsbTethering(boolean enable) { in setUsbTethering() method in ConnectivityManager
/aosp12/packages/modules/Connectivity/framework/src/android/net/
H A DConnectivityManager.java2880 public int setUsbTethering(boolean enable) { in setUsbTethering() method in ConnectivityManager
2881 return getTetheringManager().setUsbTethering(enable); in setUsbTethering()
/aosp12/packages/modules/Connectivity/Tethering/apex/hiddenapi/
H A 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
/aosp12/packages/modules/Connectivity/services/core/java/com/android/server/
H A DConnectivityService.java3557 public int setUsbTethering(boolean enable) { in setUsbTethering() method in ConnectivityService
3560 return mTethering.setUsbTethering(enable); in setUsbTethering()