Home
last modified time | relevance | path

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

/packages/modules/Connectivity/Tethering/common/TetheringLib/api/
Dmodule-lib-current.txt17 method @NonNull public String[] getTetherableUsbRegexs();
45 method @Deprecated @NonNull public java.util.List<java.lang.String> getTetherableUsbRegexs();
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DTetherEnablerTest.java103 when(mTetheringManager.getTetherableUsbRegexs()).thenReturn(new String[0]); in setUp()
112 when(mTetheringManager.getTetherableUsbRegexs()).thenReturn(USB_TETHERED); in lifecycle_onStart_setCheckedCorrectly()
260 when(mTetheringManager.getTetherableUsbRegexs()).thenReturn(USB_TETHERED); in updateState_shouldEnableSwitchBarTethering()
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-unsupported.txt7 Landroid/net/IConnectivityManager$Stub$Proxy;->getTetherableUsbRegexs()[Ljava/lang/String;
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/tether/
DTetherSettingsTest.java120 when(mTetheringManager.getTetherableUsbRegexs()).thenReturn(new String[0]); in setUp()
180 when(mTetheringManager.getTetherableUsbRegexs()).thenReturn(new String[0]); in testTetherNonIndexableKeys_usbNotAvailable_usbKeyReturned()
192 when(mTetheringManager.getTetherableUsbRegexs()).thenReturn(new String[]{"fakeRegex"}); in testTetherNonIndexableKeys_usbAvailable_usbKeyNotReturned()
/packages/modules/Connectivity/tests/cts/tethering/src/android/tethering/cts/
DTetheringManagerTest.java304 final List<String> usbRegexs = tetherableRegexs.getTetherableUsbRegexs(); in testGetTetherableInterfaceRegexps()
308 assertEquals(usbRegexs, Arrays.asList(mTM.getTetherableUsbRegexs())); in testGetTetherableInterfaceRegexps()
/packages/apps/Settings/src/com/android/settings/network/tether/
DTetherSettings.java186 mUsbRegexs = mTm.getTetherableUsbRegexs(); in onCreate()
645 tm.getTetherableUsbRegexs().length != 0;
/packages/modules/Connectivity/framework/src/android/net/
DIConnectivityManager.aidl118 String[] getTetherableUsbRegexs(); in getTetherableUsbRegexs() method
DConnectivityManager.java3345 public String[] getTetherableUsbRegexs() { in getTetherableUsbRegexs() method in ConnectivityManager
3346 return getTetheringManager().getTetherableUsbRegexs(); in getTetherableUsbRegexs()
/packages/apps/Settings/src/com/android/settings/network/
DTetherEnabler.java266 String[] usbRegexs = mTetheringManager.getTetherableUsbRegexs(); in getTetheringState()
/packages/modules/Connectivity/Tethering/common/TetheringLib/src/android/net/
DTetheringManager.java1306 public List<String> getTetherableUsbRegexs() {
1546 public @NonNull String[] getTetherableUsbRegexs() {
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java6832 public String[] getTetherableUsbRegexs() {
6837 return tm.getTetherableUsbRegexs();
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java18765 assertThrows(SecurityException.class, () -> mService.getTetherableUsbRegexs());
18781 mService.getTetherableUsbRegexs();
18782 verify(mTetheringManager).getTetherableUsbRegexs();