Home
last modified time | relevance | path

Searched refs:startTethering (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Settings/src/com/android/settings/
DTetherSettings.java256 startTethering(TETHERING_BLUETOOTH); in onReceive()
435 private void startTethering(int choice) { in startTethering() method in TetherSettings
447 mCm.startTethering(choice, true, mStartTetheringCallback, mHandler); in startTethering()
454 startTethering(TETHERING_USB); in onPreferenceTreeClick()
460 startTethering(TETHERING_BLUETOOTH); in onPreferenceTreeClick()
466 startTethering(TETHERING_ETHERNET); in onPreferenceTreeClick()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DTetherSettings.java234 startTethering(TETHERING_BLUETOOTH); in onReceive()
378 private void startTethering(int choice) { in startTethering() method in TetherSettings
390 mCm.startTethering(choice, true, mStartTetheringCallback, mHandler); in startTethering()
397 startTethering(TETHERING_USB); in onPreferenceTreeClick()
403 startTethering(TETHERING_BLUETOOTH); in onPreferenceTreeClick()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
DWifiTetherSwitchBarControllerTest.java108 verify(mConnectivityManager, never()).startTethering(anyInt(), anyBoolean(), any(), any()); in onSwitchToggled_onlyStartsTetherWhenNeeded()
114 .startTethering(anyInt(), anyBoolean(), any(), any()); in onSwitchToggled_onlyStartsTetherWhenNeeded()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/
DConnectivityFragment.java487 view.findViewById(R.id.startTethering).setOnClickListener(v -> startTethering()); in onCreateView()
599 private void startTethering() { in startTethering() method in ConnectivityFragment
613 mConnectivityManager.startTethering(ConnectivityManager.TETHERING_WIFI, false, cb); in startTethering()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/
DUsbDetailsFunctionsControllerTest.java236 verify(mConnectivityManager).startTethering(TETHERING_USB, true, in onRadioButtonClicked_functionRndis_startTetheringInvoked()
262 verify(mConnectivityManager, never()).startTethering(TETHERING_USB, true, in onRadioButtonClicked_clickSameButton_doNothing()
DUsbDefaultFragmentTest.java134 verify(mConnectivityManager).startTethering(TETHERING_USB, true, in setDefaultKey_functionRndis_startTetheringInvoked()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowConnectivityManager.java72 public void startTethering(int type, boolean showProvisioningUi, in startTethering() method in ShadowConnectivityManager
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/connecteddevice/usb/
DUsbDefaultFragment.java124 mConnectivityManager.startTethering(TETHERING_USB, true /* showProvisioningUi */, in setDefaultKey()
DUsbDetailsFunctionsController.java129 mConnectivityManager.startTethering(TETHERING_USB, true /* showProvisioningUi */, in onRadioButtonClicked()
/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/
DUsbDefaultFragment.java124 mConnectivityManager.startTethering(TETHERING_USB, true /* showProvisioningUi */, in setDefaultKey()
DUsbDetailsFunctionsController.java129 mConnectivityManager.startTethering(TETHERING_USB, true /* showProvisioningUi */, in onRadioButtonClicked()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiTetherFragment.java75 mConnectivityManager.startTethering(ConnectivityManager.TETHERING_WIFI, in onCreate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/tether/
DWifiTetherSwitchBarController.java109 mConnectivityManager.startTethering(TETHERING_WIFI, true /* showProvisioningUi */, in startTether()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherSwitchBarController.java109 mConnectivityManager.startTethering(TETHERING_WIFI, true /* showProvisioningUi */, in startTether()
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/
DPanService.java605 mNapIfaceAddr = startTethering(iface); in handlePanDeviceStateChange()
655 private String startTethering(String iface) { in startTethering() method in PanService
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DPMCMainActivity.java307 mConnManager.startTethering(ConnectivityManager.TETHERING_USB, true, tetherCallback); in startUSBTethering()