/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | TetherEnablerTest.java | 151 mEnabler.startTethering(TetheringManager.TETHERING_WIFI); in startTether_fail_resetSwitchBar() 179 verify(mConnectivityManager, never()).startTethering(anyInt(), anyBoolean(), any(), any()); in onSwitchToggled_onlyStartsWifiTetherWhenNeeded() 183 verify(mConnectivityManager).startTethering(eq(TETHERING_WIFI), anyBoolean(), any(), any()); in onSwitchToggled_onlyStartsWifiTetherWhenNeeded() 184 verify(mConnectivityManager, never()).startTethering(eq(TETHERING_USB), anyBoolean(), any(), in onSwitchToggled_onlyStartsWifiTetherWhenNeeded() 186 verify(mConnectivityManager, never()).startTethering(eq(TETHERING_BLUETOOTH), anyBoolean(), in onSwitchToggled_onlyStartsWifiTetherWhenNeeded() 188 verify(mConnectivityManager, never()).startTethering(eq(TETHERING_ETHERNET), anyBoolean(), in onSwitchToggled_onlyStartsWifiTetherWhenNeeded() 217 mEnabler.startTethering(ConnectivityManager.TETHERING_BLUETOOTH); in startTethering_startsBluetoothTetherWhenOff() 221 mEnabler.startTethering(ConnectivityManager.TETHERING_BLUETOOTH); in startTethering_startsBluetoothTetherWhenOff() 222 verify(mConnectivityManager).startTethering( in startTethering_startsBluetoothTetherWhenOff()
|
D | UsbTetherPreferenceControllerTest.java | 108 verify(mTetherEnabler).startTethering(TetheringManager.TETHERING_USB); in setChecked_shouldStartUsbTethering()
|
D | BluetoothTetherPreferenceControllerTest.java | 112 verify(mTetherEnabler).startTethering(TetheringManager.TETHERING_BLUETOOTH); in setChecked_shouldStartBluetoothTethering()
|
D | EthernetTetherPreferenceControllerTest.java | 118 verify(mTetherEnabler).startTethering(TetheringManager.TETHERING_ETHERNET); in setChecked_shouldStartEthernetTethering()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | WifiTetheringHandler.java | 101 startTethering(); in updateWifiTetheringState() 137 startTethering(); in handleWifiApStateChanged() 148 private void startTethering() { in startTethering() method in WifiTetheringHandler 149 mTetheringManager.startTethering(ConnectivityManager.TETHERING_WIFI, in startTethering()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/ |
D | UsbDefaultFragmentTest.java | 153 verify(mTetheringManager).startTethering(eq(TetheringManager.TETHERING_USB), in setDefaultKey_functionRndis_startTetheringInvoked() 166 verify(mTetheringManager).startTethering(eq(TetheringManager.TETHERING_USB), in setDefaultKey_functionNcm_invokesStartTethering() 284 verify(mTetheringManager).startTethering(eq(TetheringManager.TETHERING_USB), in usbIsPluginAndUsbTetheringIsOn_startTetheringIsInvoked() 298 verify(mTetheringManager).startTethering(eq(TetheringManager.TETHERING_USB), in usbIsPluginAndUsbTetheringIsOn_receivedNcm_startsTethering() 310 verify(mTetheringManager, never()).startTethering(eq(TetheringManager.TETHERING_USB), in usbIsNotPluginAndUsbTetheringIsOn_startTetheringIsNotInvoked() 325 verify(mTetheringManager, never()).startTethering(eq(TetheringManager.TETHERING_USB), in usbIsPluginAndUsbTetheringIsAlreadyStarted_startTetheringIsNotInvoked()
|
D | UsbDetailsFunctionsControllerTest.java | 262 verify(mTetheringManager).startTethering(eq(TetheringManager.TETHERING_USB), in onRadioButtonClicked_functionRndis_startTetheringInvoked() 276 verify(mTetheringManager).startTethering(eq(TetheringManager.TETHERING_USB), in onRadioButtonClicked_functionNcm_startsTethering() 327 verify(mTetheringManager, never()).startTethering(eq(TetheringManager.TETHERING_USB), in onRadioButtonClicked_clickSameButton_doNothing()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/ |
D | UsbDefaultFragment.java | 81 startTethering(); 171 startTethering(); in setDefaultKey() 182 private void startTethering() { in startTethering() method in UsbDefaultFragment 185 mTetheringManager.startTethering(TETHERING_USB, new HandlerExecutor(mHandler), in startTethering()
|
D | UsbDetailsFunctionsController.java | 156 mTetheringManager.startTethering( in onRadioButtonClicked()
|
/packages/apps/Settings/src/com/android/settings/ |
D | TetherSettings.java | 292 startTethering(TETHERING_BLUETOOTH); in onReceive() 511 private void startTethering(int choice) { in startTethering() method in TetherSettings 523 mCm.startTethering(choice, true, mStartTetheringCallback, mHandler); in startTethering() 530 startTethering(TETHERING_USB); in onPreferenceTreeClick() 536 startTethering(TETHERING_BLUETOOTH); in onPreferenceTreeClick() 542 startTethering(TETHERING_ETHERNET); in onPreferenceTreeClick()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | TetherEnabler.java | 264 startTethering(TETHERING_WIFI); in onSwitchToggled() 288 public void startTethering(int choice) { in startTethering() method in TetherEnabler 308 mConnectivityManager.startTethering(choice, true /* showProvisioningUi */, in startTethering() 335 startTethering(TETHERING_BLUETOOTH); in handleBluetoothStateChanged()
|
D | TetherBasePreferenceController.java | 87 mTetherEnabler.startTethering(getTetherType()); in setChecked()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TetheringTest.java | 833 mTethering.startTethering(createTetheringRequestParcel(TETHERING_NCM), null); in prepareNcmTethering() 841 mTethering.startTethering(request, null); in prepareUsbTethering() 1411 mTethering.startTethering(createTetheringRequestParcel(TETHERING_WIFI), null); in failingWifiTetheringLegacyApBroadcast() 1438 mTethering.startTethering(createTetheringRequestParcel(TETHERING_WIFI), null); in workingWifiTetheringEnrichedApBroadcast() 1514 mTethering.startTethering(createTetheringRequestParcel(TETHERING_WIFI), null); in failureEnablingIpForwarding() 1848 mTethering.startTethering(createTetheringRequestParcel(TETHERING_WIFI), null); in testRegisterTetheringEventCallback() 1945 mTethering.startTethering(createTetheringRequestParcel(TETHERING_ETHERNET), null); in testNoDuplicatedEthernetRequest() 1948 mTethering.startTethering(createTetheringRequestParcel(TETHERING_ETHERNET), null); in testNoDuplicatedEthernetRequest() 2152 mTethering.startTethering(createTetheringRequestParcel(TETHERING_USB), firstResult); in testMultipleStartTethering() 2159 mTethering.startTethering(createTetheringRequestParcel(TETHERING_USB), secondResult); in testMultipleStartTethering() [all …]
|
D | TetheringServiceTest.java | 257 mTetheringConnector.startTethering(request, TEST_CALLER_PKG, TEST_ATTRIBUTION_TAG, in runStartTethering() 260 verify(mTethering).startTethering(eq(request), eq(result)); in runStartTethering() 269 mTetheringConnector.startTethering(request, TEST_CALLER_PKG, TEST_ATTRIBUTION_TAG, in testStartTethering() 293 mTetheringConnector.startTethering(request, TEST_CALLER_PKG, TEST_ATTRIBUTION_TAG, in runStartTetheringAndVerifyNoPermission()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/ |
D | WifiTetherSwitchBarControllerTest.java | 108 verify(mConnectivityManager, never()).startTethering(anyInt(), anyBoolean(), any(), any()); in onSwitchToggled_switchOff_noStartTethering() 119 .startTethering(anyInt(), anyBoolean(), any(), any()); in onSwitchToggled_switchOn_startTethering()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/ |
D | ConnectivityFragment.java | 492 view.findViewById(R.id.startTethering).setOnClickListener(v -> startTethering()); in onCreateView() 604 private void startTethering() { in startTethering() method in ConnectivityFragment 618 mConnectivityManager.startTethering(ConnectivityManager.TETHERING_WIFI, false, cb); in startTethering()
|
/packages/modules/Connectivity/Tethering/common/TetheringLib/src/android/net/ |
D | TetheringManager.java | 802 public void startTethering(@NonNull final TetheringRequest request, 819 getConnector(c -> c.startTethering(request.getParcel(), callerPkg, 840 public void startTethering(int type, @NonNull final Executor executor, 842 startTethering(new TetheringRequest.Builder(type).build(), executor, callback);
|
D | ITetheringConnector.aidl | 34 void startTethering(in TetheringRequestParcel request, String callerPkg, in startTethering() method
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | TetheringService.java | 130 public void startTethering(TetheringRequestParcel request, String callerPkg, in startTethering() method in TetheringService.TetheringConnector 139 mTethering.startTethering(request, listener); in startTethering()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowConnectivityManager.java | 72 public void startTethering(int type, boolean showProvisioningUi, in startTethering() method in ShadowConnectivityManager
|
/packages/modules/Connectivity/tests/cts/tethering/src/android/tethering/cts/ |
D | TetheringManagerTest.java | 219 mTM.startTethering(request, c -> c.run() /* executor */, startTetheringCallback); in testStartTetheringWithStateChangeBroadcast() 334 mTM.startTethering(new TetheringRequest.Builder(TETHERING_WIFI).build(), in testEnableTetheringPermission()
|
/packages/modules/Connectivity/Tethering/common/TetheringLib/api/ |
D | module-lib-current.txt | 25 …PRIVILEGED, android.Manifest.permission.WRITE_SETTINGS}) public void startTethering(int, @NonNull …
|
/packages/apps/Settings/src/com/android/settings/wifi/tether/ |
D | WifiTetherSwitchBarController.java | 111 mConnectivityManager.startTethering(TETHERING_WIFI, true /* showProvisioningUi */, in startTether()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/ |
D | WifiTetheringHandlerTest.java | 110 verify(mTetheringManager).startTethering( in onSwitchOn_shouldAttemptTetherOn()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/ |
D | PanService.java | 598 mNapIfaceAddr = startTethering(iface); in handlePanDeviceStateChange() 648 private String startTethering(String iface) { in startTethering() method in PanService
|