Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/tests/src/com/android/bluetooth/btservice/
DPhonePolicyTest.java140 BluetoothDevice[] bondedDevices = new BluetoothDevice[1]; in testAdapterOnAutoConnect() local
141 bondedDevices[0] = device; in testAdapterOnAutoConnect()
142 when(mockAdapterService.getBondedDevices()).thenReturn(bondedDevices); in testAdapterOnAutoConnect()
188 BluetoothDevice[] bondedDevices = new BluetoothDevice[1]; in testReconnectOnPartialConnect() local
189 bondedDevices[0] = device; in testReconnectOnPartialConnect()
190 when(mockAdapterService.getBondedDevices()).thenReturn(bondedDevices); in testReconnectOnPartialConnect()
251 BluetoothDevice[] bondedDevices = new BluetoothDevice[1]; in testNoReconnectOnNoConnect() local
252 bondedDevices[0] = device; in testNoReconnectOnNoConnect()
253 when(mockAdapterService.getBondedDevices()).thenReturn(bondedDevices); in testNoReconnectOnNoConnect()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DPhonePolicy.java296 final BluetoothDevice bondedDevices[] = mAdapterService.getBondedDevices(); in autoConnectHeadset() local
297 if (bondedDevices == null) { in autoConnectHeadset()
301 for (BluetoothDevice device : bondedDevices) { in autoConnectHeadset()
316 final BluetoothDevice bondedDevices[] = mAdapterService.getBondedDevices(); in autoConnectA2dp() local
317 if (bondedDevices == null) { in autoConnectA2dp()
321 for (BluetoothDevice device : bondedDevices) { in autoConnectA2dp()
DAdapterService.java1588 BluetoothDevice[] bondedDevices = getBondedDevices(); in updateUuids() local
1589 if (bondedDevices == null) return; in updateUuids()
1591 for (BluetoothDevice device : bondedDevices) { in updateUuids()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DMainFragment.java314 final Set<BluetoothDevice> bondedDevices = mBtAdapter.getBondedDevices(); in updateAccessories() local
315 if (bondedDevices == null) { in updateAccessories()
323 final Set<String> touchedKeys = new ArraySet<>(bondedDevices.size() + 1); in updateAccessories()
328 for (final BluetoothDevice device : bondedDevices) { in updateAccessories()
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DA2dpReceiver.java147 Set<BluetoothDevice> bondedDevices = mBluetoothAdapter.getBondedDevices(); in initialize() local
148 if (bondedDevices == null) { in initialize()
152 for (BluetoothDevice bd : bondedDevices) { in initialize()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothAccessoryFragment.java130 final Set<BluetoothDevice> bondedDevices = btAdapter.getBondedDevices(); in onCreate() local
131 if (bondedDevices != null) { in onCreate()
132 for (BluetoothDevice device : bondedDevices) { in onCreate()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothDeviceListAdapter.java360 Set<BluetoothDevice> bondedDevices = mLocalAdapter.getBondedDevices(); in addBondDevices() local
361 if (bondedDevices == null) { in addBondDevices()
365 for (BluetoothDevice device : bondedDevices) { in addBondDevices()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
DMapClientService.java100 Set<BluetoothDevice> bondedDevices = mAdapter.getBondedDevices(); in getDevicesMatchingConnectionStates() local
102 for (BluetoothDevice device : bondedDevices) { in getDevicesMatchingConnectionStates()
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapService.java514 Set<BluetoothDevice> bondedDevices = mAdapter.getBondedDevices(); in getDevicesMatchingConnectionStates() local
517 for (BluetoothDevice device : bondedDevices) { in getDevicesMatchingConnectionStates()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStateMachine.java729 Set<BluetoothDevice> bondedDevices = mAdapter.getBondedDevices(); in getDevicesMatchingConnectionStates() local
732 for (BluetoothDevice device : bondedDevices) { in getDevicesMatchingConnectionStates()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpStateMachine.java894 Set<BluetoothDevice> bondedDevices = mAdapter.getBondedDevices(); in getDevicesMatchingConnectionStates() local
897 for (BluetoothDevice device : bondedDevices) { in getDevicesMatchingConnectionStates()
/packages/services/Car/service/src/com/android/car/
DBluetoothDeviceConnectionPolicy.java1498 Set<BluetoothDevice> bondedDevices = mBluetoothAdapter.getBondedDevices(); in getBondedDeviceWithGivenName() local
1499 for (BluetoothDevice bd : bondedDevices) { in getBondedDeviceWithGivenName()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapService.java532 Set<BluetoothDevice> bondedDevices = mAdapter.getBondedDevices(); in getDevicesMatchingConnectionStates() local
535 for (BluetoothDevice device : bondedDevices) { in getDevicesMatchingConnectionStates()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java1722 Set<BluetoothDevice> bondedDevices = mAdapter.getBondedDevices(); in getDevicesMatchingConnectionStates() local
1725 for (BluetoothDevice device : bondedDevices) { in getDevicesMatchingConnectionStates()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetStateMachine.java2251 Set<BluetoothDevice> bondedDevices = mAdapter.getBondedDevices(); in getDevicesMatchingConnectionStates() local
2254 for (BluetoothDevice device : bondedDevices) { in getDevicesMatchingConnectionStates()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DGattService.java1529 Set<BluetoothDevice> bondedDevices = mAdapter.getBondedDevices(); in getDevicesMatchingConnectionStates() local
1530 for (BluetoothDevice device : bondedDevices) { in getDevicesMatchingConnectionStates()