/packages/modules/Connectivity/Tethering/tests/unit/common/android/net/ |
D | TetheredClientTest.kt | 21 import android.net.TetheringManager.TETHERING_BLUETOOTH 66 TETHERING_BLUETOOTH)) in makeLinkAddress() 72 TETHERING_BLUETOOTH)) in makeLinkAddress() 78 TETHERING_BLUETOOTH)) in makeLinkAddress() 84 TETHERING_BLUETOOTH)) in makeLinkAddress() 107 assertEquals(TETHERING_BLUETOOTH, makeTestClient().tetheringType) in makeLinkAddress() 121 TETHERING_BLUETOOTH) in makeLinkAddress()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | TetherEnablerTest.java | 19 import static android.net.ConnectivityManager.TETHERING_BLUETOOTH; 187 verify(mConnectivityManager, never()).startTethering(eq(TETHERING_BLUETOOTH), anyBoolean(), in onSwitchToggled_onlyStartsWifiTetherWhenNeeded() 207 verify(mConnectivityManager).stopTethering(TETHERING_BLUETOOTH); in onSwitchToggled_stopAllTetheringInterfaces() 218 mEnabler.startTethering(ConnectivityManager.TETHERING_BLUETOOTH); in startTethering_startsBluetoothTetherWhenOff() 222 mEnabler.startTethering(ConnectivityManager.TETHERING_BLUETOOTH); in startTethering_startsBluetoothTetherWhenOff() 224 eq(ConnectivityManager.TETHERING_BLUETOOTH), anyBoolean(), any(), any()); in startTethering_startsBluetoothTetherWhenOff() 233 mEnabler.stopTethering(TetheringManager.TETHERING_BLUETOOTH); in stopTethering_setBluetoothTetheringStoppedByUserAndUpdateState() 308 assertThat(TetherEnabler.isTethering(TETHERING_BLUETOOTH_ON, TETHERING_BLUETOOTH)).isTrue(); in isTethering_shouldReturnCorrectly() 309 assertThat(TetherEnabler.isTethering(~TETHERING_BLUETOOTH_ON, TETHERING_BLUETOOTH)) in isTethering_shouldReturnCorrectly()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | TetherEnabler.java | 19 import static android.net.ConnectivityManager.TETHERING_BLUETOOTH; 114 public static final int TETHERING_BLUETOOTH_ON = 1 << TETHERING_BLUETOOTH; 292 stopTethering(TETHERING_BLUETOOTH); in onSwitchToggled() 303 if (choice == TETHERING_BLUETOOTH) { in stopTethering() 313 if (choice == TETHERING_BLUETOOTH) { in startTethering() 321 if (choice == TETHERING_BLUETOOTH && mBluetoothAdapter != null in startTethering() 359 startTethering(TETHERING_BLUETOOTH); in handleBluetoothStateChanged()
|
D | TetheredRepository.kt | 53 if (isBluetoothTetheringOn) mutableSet += TetheringManager.TETHERING_BLUETOOTH in <lambda>()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/ |
D | IpServerTest.java | 24 import static android.net.TetheringManager.TETHERING_BLUETOOTH; 211 if (interfaceType == TETHERING_BLUETOOTH) { in initStateMachine() 319 mIpServer = createIpServer(TETHERING_BLUETOOTH); in startsOutAvailable() 330 initStateMachine(TETHERING_BLUETOOTH); in shouldDoNothingUntilRequested() 350 initStateMachine(TETHERING_BLUETOOTH); in handlesImmediateInterfaceDown() 361 initStateMachine(TETHERING_BLUETOOTH); in canBeTetheredAsBluetooth() 385 initTetheredStateMachine(TETHERING_BLUETOOTH, null); in canUnrequestTethering() 404 verify(mTetheringMetrics).updateErrorCode(eq(TETHERING_BLUETOOTH), in canUnrequestTethering() 406 verify(mTetheringMetrics).sendReport(eq(TETHERING_BLUETOOTH)); in canUnrequestTethering() 456 initTetheredStateMachine(TETHERING_BLUETOOTH, null); in handlesFirstUpstreamChange() [all …]
|
/packages/modules/Bluetooth/android/pandora/server/src/ |
D | Pan.kt | 25 import android.net.TetheringManager.TETHERING_BLUETOOTH 81 TETHERING_BLUETOOTH, in enableTethering()
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/ |
D | TetherPreferenceControllerTest.kt | 80 setOf(TetheringManager.TETHERING_WIFI, TetheringManager.TETHERING_BLUETOOTH) in getSummaryResId_bothWifiAndBluetoothOn() 95 val summaryResId = controller.getSummaryResId(setOf(TetheringManager.TETHERING_BLUETOOTH)) in getSummaryResId_onlyBluetoothTetheringOn()
|
D | TetheredRepositoryTest.kt | 144 assertThat(tetheredTypes).containsExactly(TetheringManager.TETHERING_BLUETOOTH) in <lambda>()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/metrics/ |
D | TetheringMetricsTest.java | 25 import static android.net.TetheringManager.TETHERING_BLUETOOTH; 184 runDownstreamTypesTest(TETHERING_BLUETOOTH, DownstreamType.DS_TETHERING_BLUETOOTH); in testDownstreamTypes() 295 mTetheringMetrics.createBuilder(TETHERING_BLUETOOTH, GMS_PKG); in testMultiBuildersCreatedBeforeSendReport() 317 updateErrorAndSendReport(TETHERING_BLUETOOTH, TETHER_ERROR_TETHER_IFACE_ERROR); in testMultiBuildersCreatedBeforeSendReport()
|
/packages/apps/Settings/src/com/android/settings/network/tether/ |
D | TetherSettings.java | 19 import static android.net.ConnectivityManager.TETHERING_BLUETOOTH; 340 startTethering(TETHERING_BLUETOOTH); in onReceive() 562 if (choice == TETHERING_BLUETOOTH) { in startTethering() 586 startTethering(TETHERING_BLUETOOTH); in onPreferenceTreeClick() 588 mCm.stopTethering(TETHERING_BLUETOOTH); in onPreferenceTreeClick()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | Tethering.java | 36 import static android.net.TetheringManager.TETHERING_BLUETOOTH; 602 if (type == TETHERING_BLUETOOTH && SdkLevel.isAtLeastT()) return; in processInterfaceStateChange() 617 if (!up && type != TETHERING_BLUETOOTH && type != TETHERING_WIGIG) { in interfaceStatusChanged() 645 return TETHERING_BLUETOOTH; in ifaceNameToType() 713 case TETHERING_BLUETOOTH: in enableTetheringInternal() 728 if (type != TETHERING_BLUETOOTH) { in enableTetheringInternal() 774 sendTetherResult(listener, TETHER_ERROR_SERVICE_UNAVAIL, TETHERING_BLUETOOTH); in setBluetoothTethering() 834 TETHERING_BLUETOOTH); in onServiceDisconnected() 860 sendTetherResult(listener, result, TETHERING_BLUETOOTH); in setBluetoothTetheringSettings() 906 enableIpServing(TETHERING_BLUETOOTH, iface, getRequestedState(TETHERING_BLUETOOTH)); in onAvailable() [all …]
|
D | EntitlementManager.java | 27 import static android.net.TetheringManager.TETHERING_BLUETOOTH; 561 case TETHERING_BLUETOOTH: in isValidDownstreamType() 600 case TETHERING_BLUETOOTH: return "TETHERING_BLUETOOTH"; in typeString()
|
D | PrivateAddressCoordinator.java | 21 import static android.net.TetheringManager.TETHERING_BLUETOOTH; 92 mCachedAddresses.put(new AddressKey(TETHERING_BLUETOOTH, CONNECTIVITY_SCOPE_GLOBAL), in PrivateAddressCoordinator()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pan/ |
D | PanServiceTest.java | 19 import static android.net.TetheringManager.TETHERING_BLUETOOTH; 232 TetheringInterface iface = new TetheringInterface(TETHERING_BLUETOOTH, "iface"); in tetheringCallback_onError_clearsPanDevices()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/metrics/ |
D | TetheringMetrics.java | 25 import static android.net.TetheringManager.TETHERING_BLUETOOTH; 295 case TETHERING_BLUETOOTH: in downstreamTypeToEnum()
|
/packages/apps/Settings/src/com/android/settings/wifi/tether/ |
D | TetherService.java | 23 import static android.net.TetheringManager.TETHERING_BLUETOOTH; 110 mPendingCallbacks.put(TETHERING_BLUETOOTH, new ArrayList<ResultReceiver>()); in onCreate()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | EntitlementManagerTest.java | 26 import static android.net.TetheringManager.TETHERING_BLUETOOTH; 474 mEnMgr.startProvisioningIfNeeded(TETHERING_BLUETOOTH, true); in verifyPermissionIfAllNotApproved() 548 mEnMgr.startProvisioningIfNeeded(TETHERING_BLUETOOTH, true); in testRunTetherProvisioning()
|
D | TetheringTest.java | 42 import static android.net.TetheringManager.TETHERING_BLUETOOTH; 3238 mTethering.startTethering(createTetheringRequestParcel(TETHERING_BLUETOOTH), in testBluetoothTethering() 3260 mTethering.stopTethering(TETHERING_BLUETOOTH); in testBluetoothTethering() 3275 mTethering.startTethering(createTetheringRequestParcel(TETHERING_BLUETOOTH), in testBluetoothTetheringBeforeT() 3297 mTethering.startTethering(createTetheringRequestParcel(TETHERING_BLUETOOTH), in testBluetoothTetheringBeforeT() 3304 mTethering.stopTethering(TETHERING_BLUETOOTH); in testBluetoothTetheringBeforeT() 3320 mTethering.startTethering(createTetheringRequestParcel(TETHERING_BLUETOOTH), in testBluetoothServiceDisconnects() 3514 TETHERING_WIFI_P2P, TETHERING_BLUETOOTH, TETHERING_ETHERNET }); in getAllSupportedTetheringTypes() 3564 expectedTypes.remove(TETHERING_BLUETOOTH); in testTetheringSupported()
|
/packages/modules/Connectivity/Tethering/common/TetheringLib/src/android/net/ |
D | TetheringManager.java | 138 TETHERING_BLUETOOTH, 168 public static final int TETHERING_BLUETOOTH = 2; field in TetheringManager
|
/packages/modules/Connectivity/Tethering/common/TetheringLib/api/ |
D | system-current.txt | 45 field public static final int TETHERING_BLUETOOTH = 2; // 0x2
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pan/ |
D | PanService.java | 94 if (mIsTethering && iface.getType() == TetheringManager.TETHERING_BLUETOOTH) {
|
/packages/modules/Connectivity/Tethering/src/android/net/ip/ |
D | IpServer.java | 717 return (mInterfaceType == TetheringManager.TETHERING_BLUETOOTH) && !SdkLevel.isAtLeastT(); in shouldNotConfigureBluetoothInterface()
|
/packages/modules/Connectivity/framework/api/ |
D | system-current.txt | 70 field public static final int TETHERING_BLUETOOTH = 2; // 0x2
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | ConnectivityManager.java | 524 public static final int TETHERING_BLUETOOTH = 2; field in ConnectivityManager
|