Searched refs:setUsbTethering (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TetheringServiceTest.java | 217 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/ |
D | ITetheringConnector.aidl | 29 void setUsbTethering(boolean enable, String callerPkg, IIntResultListener receiver); in setUsbTethering() method
|
D | TetheringManager.java | 539 public int setUsbTethering(final boolean enable) { 547 connector.setUsbTethering(enable, callerPkg, listener);
|
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | TetheringService.java | 123 public void setUsbTethering(boolean enable, String callerPkg, IIntResultListener listener) { in setUsbTethering() method in TetheringService.TetheringConnector 127 listener.onResult(mTethering.setUsbTethering(enable)); in setUsbTethering()
|
D | Tethering.java | 594 result = setUsbTethering(enable); in enableTetheringInternal() 1288 int setUsbTethering(boolean enable) { in setUsbTethering() method in Tethering
|
/frameworks/base/packages/Tethering/common/TetheringLib/api/ |
D | module-lib-current.txt | 44 method @Deprecated public int setUsbTethering(boolean);
|
/frameworks/base/api/ |
D | module-lib-current.txt | 44 method @Deprecated public int setUsbTethering(boolean);
|
/frameworks/base/core/java/android/net/ |
D | ConnectivityManager.java | 2688 public int setUsbTethering(boolean enable) { in setUsbTethering() method in ConnectivityManager 2689 return mTetheringManager.setUsbTethering(enable); in setUsbTethering()
|