Home
last modified time | relevance | path

Searched refs:getTetheredIfaces (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DTetherEnablerTest.java102 when(mTetheringManager.getTetheredIfaces()).thenReturn(new String[0]); in setUp()
111 when(mTetheringManager.getTetheredIfaces()).thenReturn(USB_TETHERED); in lifecycle_onStart_setCheckedCorrectly()
152 when(mTetheringManager.getTetheredIfaces()).thenReturn(new String[0]); in startTether_fail_resetSwitchBar()
259 when(mTetheringManager.getTetheredIfaces()).thenReturn(USB_TETHERED); in updateState_shouldEnableSwitchBarTethering()
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-unsupported.txt8 Landroid/net/IConnectivityManager$Stub$Proxy;->getTetheredIfaces()[Ljava/lang/String;
/packages/modules/Connectivity/Tethering/common/TetheringLib/api/
Dmodule-lib-current.txt19 method @NonNull public String[] getTetheredIfaces();
/packages/apps/Settings/src/com/android/settings/network/tether/
DTetherSettings.java435 String[] tethered = mTm.getTetheredIfaces(); in updateBluetoothAndEthernetState()
446 String[] tethered = mTm.getTetheredIfaces(); in updateUsbState()
/packages/modules/Connectivity/framework/src/android/net/
DIConnectivityManager.aidl109 String[] getTetheredIfaces(); in getTetheredIfaces() method
DConnectivityManager.java3018 public String[] getTetheredIfaces() { in getTetheredIfaces() method in ConnectivityManager
3019 return getTetheringManager().getTetheredIfaces(); in getTetheredIfaces()
/packages/apps/Settings/src/com/android/settings/network/
DTetherEnabler.java249 tethered = mTetheringManager.getTetheredIfaces(); in getTetheringState()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringTest.java2139 assertContains(Arrays.asList(mTethering.getTetheredIfaces()), TEST_RNDIS_IFNAME); in testUntetherUsbWhenRestrictionIsOn()
2587 assertContains(Arrays.asList(mTethering.getTetheredIfaces()), TEST_RNDIS_IFNAME); in testDataSaverChanged()
2594 assertEquals(mTethering.getTetheredIfaces(), new String[0]); in testDataSaverChanged()
2599 assertContains(Arrays.asList(mTethering.getTetheredIfaces()), TEST_RNDIS_IFNAME); in testDataSaverChanged()
2604 assertContains(Arrays.asList(mTethering.getTetheredIfaces()), TEST_RNDIS_IFNAME); in testDataSaverChanged()
2609 assertContains(Arrays.asList(mTethering.getTetheredIfaces()), TEST_RNDIS_IFNAME); in testDataSaverChanged()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/tether/
DTetherSettingsTest.java409 when(mTetheringManager.getTetheredIfaces()).thenReturn(new String[0]); in updateOnlyBluetoothState()
/packages/modules/Connectivity/Tethering/common/TetheringLib/src/android/net/
DTetheringManager.java1603 public @NonNull String[] getTetheredIfaces() {
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTethering.java1370 return getTetheredIfaces().length > 0; in isTetheringActive()
1618 String[] getTetheredIfaces() { in getTetheredIfaces() method in Tethering
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java6812 public String[] getTetheredIfaces() {
6816 return tm.getTetheredIfaces();
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java18763 assertThrows(SecurityException.class, () -> mService.getTetheredIfaces());
18775 mService.getTetheredIfaces();
18776 verify(mTetheringManager).getTetheredIfaces();