Home
last modified time | relevance | path

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

/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringServiceTest.java217 when(mTethering.setUsbTethering(true /* enable */)).thenReturn(TETHER_ERROR_NO_ERROR); in runSetUsbTethering()
218 mTetheringConnector.setUsbTethering(true /* enable */, TEST_CALLER_PKG, result); in runSetUsbTethering()
220 verify(mTethering).setUsbTethering(true /* enable */); in runSetUsbTethering()
227 mTetheringConnector.setUsbTethering(true /* enable */, TEST_CALLER_PKG, result); in testSetUsbTethering()
/frameworks/base/packages/Tethering/common/TetheringLib/src/android/net/
DITetheringConnector.aidl29 void setUsbTethering(boolean enable, String callerPkg, IIntResultListener receiver); in setUsbTethering() method
DTetheringManager.java539 public int setUsbTethering(final boolean enable) {
547 connector.setUsbTethering(enable, callerPkg, listener);
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTetheringService.java123 public void setUsbTethering(boolean enable, String callerPkg, IIntResultListener listener) { in setUsbTethering() method in TetheringService.TetheringConnector
127 listener.onResult(mTethering.setUsbTethering(enable)); in setUsbTethering()
DTethering.java594 result = setUsbTethering(enable); in enableTetheringInternal()
1288 int setUsbTethering(boolean enable) { in setUsbTethering() method in Tethering
/frameworks/base/packages/Tethering/common/TetheringLib/api/
Dmodule-lib-current.txt44 method @Deprecated public int setUsbTethering(boolean);
/frameworks/base/api/
Dmodule-lib-current.txt44 method @Deprecated public int setUsbTethering(boolean);
/frameworks/base/core/java/android/net/
DConnectivityManager.java2688 public int setUsbTethering(boolean enable) { in setUsbTethering() method in ConnectivityManager
2689 return mTetheringManager.setUsbTethering(enable); in setUsbTethering()