/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/ |
D | PhonePolicyTest.java | 882 BluetoothDevice[] bondedDevices = new BluetoothDevice[1]; in testReconnectOnPartialConnect() local 883 bondedDevices[0] = getTestDevice(mAdapter, 0); in testReconnectOnPartialConnect() 884 when(mAdapterService.getBondedDevices()).thenReturn(bondedDevices); in testReconnectOnPartialConnect() 888 when(mHeadsetService.getConnectionPolicy(bondedDevices[0])) in testReconnectOnPartialConnect() 890 when(mA2dpService.getConnectionPolicy(bondedDevices[0])) in testReconnectOnPartialConnect() 899 hsConnectedDevices.add(bondedDevices[0]); in testReconnectOnPartialConnect() 902 when(mA2dpService.getConnectionState(bondedDevices[0])) in testReconnectOnPartialConnect() 906 when(mAdapterService.getConnectionState(bondedDevices[0])) in testReconnectOnPartialConnect() 912 bondedDevices[0], in testReconnectOnPartialConnect() 919 .connect(eq(bondedDevices[0])); in testReconnectOnPartialConnect() [all …]
|
/packages/apps/Car/VoiceControl/src/com/android/car/ |
D | TelecomUtils.java | 70 Set<BluetoothDevice> bondedDevices = in getMatchingDevice() local 72 if (bondedDevices == null) { in getMatchingDevice() 76 for (BluetoothDevice bluetoothDevice : bondedDevices) { in getMatchingDevice()
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothUnbondedDevicesPreferenceController.java | 93 Set<BluetoothDevice> bondedDevices = mBluetoothAdapter.getBondedDevices(); in matches() local 94 boolean matches = bondedDevices == null || !bondedDevices.contains(device); in matches()
|
D | BluetoothBondedDevicesPreferenceController.java | 338 Set<BluetoothDevice> bondedDevices = mBluetoothManager.getBluetoothAdapter() in matches() local 340 return bondedDevices != null && bondedDevices.contains(device); in matches()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
D | AccessoriesFragment.java | 83 final Set<BluetoothDevice> bondedDevices = btAdapter.getBondedDevices(); in updateAccessories() local 84 if (bondedDevices == null) { in updateAccessories() 91 final Set<String> touchedKeys = new ArraySet<>(bondedDevices.size() + 1); in updateAccessories() 96 for (final BluetoothDevice device : bondedDevices) { in updateAccessories()
|
D | BluetoothAccessoryFragment.java | 136 final Set<BluetoothDevice> bondedDevices = btAdapter.getBondedDevices(); in onCreate() local 137 if (bondedDevices != null) { in onCreate() 138 for (BluetoothDevice device : bondedDevices) { in onCreate()
|
/packages/modules/Bluetooth/android/pandora/server/src/ |
D | SecurityStorage.kt | 69 val bondedDevices = bluetoothAdapter.getBondedDevices() in isBonded() constant 73 bondedDevices.firstOrNull { it.toByteString() == request.public } in isBonded() 75 bondedDevices.firstOrNull { it.toByteString() == request.random } in isBonded()
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
D | PeripheralHandoverService.java | 268 Set<BluetoothDevice> bondedDevices = mBluetoothAdapter.getBondedDevices(); in hasConnectedBluetoothDevices() local 270 if (bondedDevices != null) { in hasConnectedBluetoothDevices() 271 for (BluetoothDevice device : bondedDevices) { in hasConnectedBluetoothDevices()
|
/packages/modules/Bluetooth/framework/tests/bumble/src/android/bluetooth/pairing/ |
D | PairingTest.java | 148 Set<BluetoothDevice> bondedDevices = sAdapter.getBondedDevices(); in setUp() local 149 if (bondedDevices.contains(mBumbleDevice)) { in setUp() 156 Set<BluetoothDevice> bondedDevices = sAdapter.getBondedDevices(); in tearDown() local 157 if (bondedDevices.contains(mBumbleDevice)) { in tearDown()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/bluetooth/ |
D | BluetoothDeviceFragment.java | 99 Set<BluetoothDevice> bondedDevices = bluetoothAdapter.getBondedDevices(); in checkAllDevices() local 101 for (BluetoothDevice device : bondedDevices) { in checkAllDevices()
|
/packages/apps/Car/Settings/src/com/android/car/settings/qc/ |
D | PairedBluetoothDevices.java | 116 Set<BluetoothDevice> bondedDevices = mBluetoothManager.getBluetoothAdapter() in getQCItem() local 121 if (bondedDevices != null && bondedDevices.contains(cachedDevice.getDevice())) { in getQCItem()
|
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
D | A2dpReceiver.java | 148 Set<BluetoothDevice> bondedDevices = mBluetoothAdapter.getBondedDevices(); in initialize() local 149 if (bondedDevices == null) { in initialize() 153 for (BluetoothDevice bd : bondedDevices) { in initialize()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bas/ |
D | BatteryService.java | 310 final BluetoothDevice[] bondedDevices = mAdapterService.getBondedDevices(); in getDevicesMatchingConnectionStates() local 311 if (bondedDevices == null) { in getDevicesMatchingConnectionStates() 315 for (BluetoothDevice device : bondedDevices) { in getDevicesMatchingConnectionStates()
|
/packages/modules/Bluetooth/framework/tests/bumble/src/android/bluetooth/ |
D | RfcommTest.kt | 327 if (mAdapter.bondedDevices.contains(remoteDevice)) { in bondDevice() 341 if (!mAdapter.bondedDevices.contains(deviceToRemove)) { in removeBondIfBonded()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dpsink/ |
D | A2dpSinkService.java | 409 BluetoothDevice[] bondedDevices = mAdapterService.getBondedDevices(); in getDevicesMatchingConnectionStates() local 411 for (BluetoothDevice device : bondedDevices) { in getDevicesMatchingConnectionStates()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dpsink/ |
D | A2dpSinkServiceTest.java | 93 BluetoothDevice[] bondedDevices = in setUp() local 99 doReturn(bondedDevices).when(mAdapterService).getBondedDevices(); in setUp()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mapclient/ |
D | MapClientServiceTest.java | 199 BluetoothDevice[] bondedDevices = new BluetoothDevice[] {mRemoteDevice}; in getConnectedDevices() local 200 when(mAdapterService.getBondedDevices()).thenReturn(bondedDevices); in getConnectedDevices()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/storage/ |
D | DatabaseManager.java | 1202 BluetoothDevice[] bondedDevices = mAdapterService.getBondedDevices(); in removeUnusedMetadata() local 1207 && !Arrays.asList(bondedDevices).stream() in removeUnusedMetadata() 1257 BluetoothDevice[] bondedDevices = mAdapterService.getBondedDevices(); in migrateSettingsGlobal() local 1260 for (BluetoothDevice device : bondedDevices) { in migrateSettingsGlobal()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hearingaid/ |
D | HearingAidService.java | 401 final BluetoothDevice[] bondedDevices = mAdapterService.getBondedDevices(); in getDevicesMatchingConnectionStates() local 402 if (bondedDevices == null) { in getDevicesMatchingConnectionStates() 406 for (BluetoothDevice device : bondedDevices) { in getDevicesMatchingConnectionStates()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/ |
D | MapClientService.java | 211 BluetoothDevice[] bondedDevices = mAdapterService.getBondedDevices(); in getDevicesMatchingConnectionStates() local 213 for (BluetoothDevice device : bondedDevices) { in getDevicesMatchingConnectionStates()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/csip/ |
D | CsipSetCoordinatorService.java | 354 final BluetoothDevice[] bondedDevices = mAdapterService.getBondedDevices(); in getDevicesMatchingConnectionStates() local 355 if (bondedDevices == null) { in getDevicesMatchingConnectionStates() 359 for (BluetoothDevice device : bondedDevices) { in getDevicesMatchingConnectionStates()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpControllerService.java | 765 BluetoothDevice[] bondedDevices = mAdapterService.getBondedDevices(); in getDevicesMatchingConnectionStates() local 767 for (BluetoothDevice device : bondedDevices) { in getDevicesMatchingConnectionStates()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hap/ |
D | HapClientService.java | 268 final BluetoothDevice[] bondedDevices = mAdapterService.getBondedDevices(); in getDevicesMatchingConnectionStates() local 269 if (bondedDevices == null) { in getDevicesMatchingConnectionStates() 273 for (BluetoothDevice device : bondedDevices) { in getDevicesMatchingConnectionStates()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/ |
D | BluetoothMapService.java | 587 BluetoothDevice[] bondedDevices = mAdapterService.getBondedDevices(); in getDevicesMatchingConnectionStates() local 588 if (bondedDevices == null) { in getDevicesMatchingConnectionStates() 592 for (BluetoothDevice device : bondedDevices) { in getDevicesMatchingConnectionStates()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/sap/ |
D | SapService.java | 571 BluetoothDevice[] bondedDevices = mAdapterService.getBondedDevices(); in getDevicesMatchingConnectionStates() local 574 for (BluetoothDevice device : bondedDevices) { in getDevicesMatchingConnectionStates()
|