Home
last modified time | relevance | path

Searched refs:stopTethering (Results 1 – 25 of 31) sorted by relevance

12

/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiTetheringHandler.java103 stopTethering(); in updateWifiTetheringState()
160 private void stopTethering() { in stopTethering() method in WifiTetheringHandler
161 mTetheringManager.stopTethering(ConnectivityManager.TETHERING_WIFI); in stopTethering()
165 stopTethering(); in restartTethering()
/packages/apps/Settings/src/com/android/settings/network/
DTetherEnabler.java266 stopTethering(TETHERING_USB); in onSwitchToggled()
267 stopTethering(TETHERING_WIFI); in onSwitchToggled()
268 stopTethering(TETHERING_BLUETOOTH); in onSwitchToggled()
269 stopTethering(TETHERING_ETHERNET); in onSwitchToggled()
274 public void stopTethering(int choice) { in stopTethering() method in TetherEnabler
278 mConnectivityManager.stopTethering(choice); in stopTethering()
DTetherBasePreferenceController.java89 mTetherEnabler.stopTethering(getTetherType()); in setChecked()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DTetherEnablerTest.java198 verify(mConnectivityManager).stopTethering(TETHERING_WIFI); in onSwitchToggled_stopAllTetheringInterfaces()
202 verify(mConnectivityManager).stopTethering(TETHERING_USB); in onSwitchToggled_stopAllTetheringInterfaces()
206 verify(mConnectivityManager).stopTethering(TETHERING_BLUETOOTH); in onSwitchToggled_stopAllTetheringInterfaces()
210 verify(mConnectivityManager).stopTethering(TETHERING_ETHERNET); in onSwitchToggled_stopAllTetheringInterfaces()
232 mEnabler.stopTethering(TetheringManager.TETHERING_BLUETOOTH); in stopTethering_setBluetoothTetheringStoppedByUserAndUpdateState()
DUsbTetherPreferenceControllerTest.java114 verify(mTetherEnabler).stopTethering(TetheringManager.TETHERING_USB); in setUnchecked_shouldStopUsbTethering()
DBluetoothTetherPreferenceControllerTest.java118 verify(mTetherEnabler).stopTethering(TetheringManager.TETHERING_BLUETOOTH); in setUnchecked_shouldStopBluetoothTethering()
DEthernetTetherPreferenceControllerTest.java124 verify(mTetherEnabler).stopTethering(TetheringManager.TETHERING_ETHERNET); in setUnchecked_shouldStopEthernetTethering()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/
DConnectivityFragment.java493 view.findViewById(R.id.stopTethering).setOnClickListener(v -> stopTethering()); in onCreateView()
621 private void stopTethering() { in stopTethering() method in ConnectivityFragment
623 mConnectivityManager.stopTethering(ConnectivityManager.TETHERING_WIFI); in stopTethering()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringServiceTest.java319 mTetheringConnector.stopTethering(TETHERING_WIFI, TEST_CALLER_PKG, in runStopTethering()
322 verify(mTethering).stopTethering(TETHERING_WIFI); in runStopTethering()
329 mTetheringConnector.stopTethering(TETHERING_WIFI, TEST_CALLER_PKG, in testStopTethering()
DTetheringTest.java1479 mTethering.stopTethering(TETHERING_WIFI); in workingWifiTetheringEnrichedApBroadcast()
1869 mTethering.stopTethering(TETHERING_WIFI); in testRegisterTetheringEventCallback()
1913 mTethering.stopTethering(TETHERING_USB); in runStopUSBTethering()
1951 mTethering.stopTethering(TETHERING_ETHERNET); in testNoDuplicatedEthernetRequest()
1954 mTethering.stopTethering(TETHERING_ETHERNET); in testNoDuplicatedEthernetRequest()
2270 mTethering.stopTethering(TETHERING_WIFI); in testExemptFromEntitlementCheck()
2284 mTethering.stopTethering(TETHERING_WIFI); in testExemptFromEntitlementCheck()
2304 mTethering.stopTethering(TETHERING_WIFI); in testExemptFromEntitlementCheck()
2588 mTethering.stopTethering(TETHERING_BLUETOOTH); in testBluetoothTethering()
/packages/apps/Settings/src/com/android/settings/
DTetherSettings.java532 mCm.stopTethering(TETHERING_USB); in onPreferenceTreeClick()
538 mCm.stopTethering(TETHERING_BLUETOOTH); in onPreferenceTreeClick()
544 mCm.stopTethering(TETHERING_ETHERNET); in onPreferenceTreeClick()
DAllInOneTetherSettings.java366 mTetherEnabler.stopTethering(TETHERING_WIFI); in onTetherConfigUpdated()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTetheringService.java143 public void stopTethering(int type, String callerPkg, String callingAttributionTag, in stopTethering() method in TetheringService.TetheringConnector
148 mTethering.stopTethering(type); in stopTethering()
DTethering.java307 stopTethering(downstream); in Tethering()
616 void stopTethering(int type) { in stopTethering() method in Tethering
845 stopTethering(TETHERING_WIFI); in untetherAll()
846 stopTethering(TETHERING_WIFI_P2P); in untetherAll()
847 stopTethering(TETHERING_USB); in untetherAll()
848 stopTethering(TETHERING_BLUETOOTH); in untetherAll()
849 stopTethering(TETHERING_ETHERNET); in untetherAll()
/packages/modules/Connectivity/Tethering/common/TetheringLib/src/android/net/
DITetheringConnector.aidl37 void stopTethering(int type, String callerPkg, String callingAttributionTag, in stopTethering() method
DTetheringManager.java856 public void stopTethering(@TetheringType final int type) {
860 getConnector(c -> c.stopTethering(type, callerPkg, getAttributionTag(),
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowConnectivityManager.java79 public void stopTethering(int type) { in stopTethering() method in ShadowConnectivityManager
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/
DHotspotConditionController.java87 cm.stopTethering(ConnectivityManager.TETHERING_WIFI); in onActionClick()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherSwitchBarController.java106 mConnectivityManager.stopTethering(TETHERING_WIFI); in stopTether()
DTetherService.java259 tm.stopTethering(tetheringType); in disableTethering()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/
DWifiTetheringHandlerTest.java122 verify(mTetheringManager).stopTethering(ConnectivityManager.TETHERING_WIFI); in onSwitchOff_shouldAttemptTetherOff()
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/
DPanService.java611 stopTethering(iface); in handlePanDeviceStateChange()
652 private String stopTethering(String iface) { in stopTethering() method in PanService
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DNetdWrapper.java424 public void stopTethering() { in stopTethering() method in NetdWrapper
/packages/modules/Connectivity/Tethering/common/TetheringLib/api/
Dsystem-current.txt36 …ion.TETHER_PRIVILEGED, android.Manifest.permission.WRITE_SETTINGS}) public void stopTethering(int);
/packages/modules/Connectivity/tests/cts/net/util/java/android/net/cts/util/
DCtsTetheringUtils.java514 mTm.stopTethering(TETHERING_WIFI); in stopWifiTethering()

12