Home
last modified time | relevance | path

Searched refs:groupDevices (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DPhonePolicy.java208 List<BluetoothDevice> groupDevices = in isLeAudioOnlyGroup() local
211 if (groupDevices.size() != groupSize) { in isLeAudioOnlyGroup()
214 + groupDevices.size() in isLeAudioOnlyGroup()
221 for (BluetoothDevice dev : groupDevices) { in isLeAudioOnlyGroup()
647 List<BluetoothDevice> groupDevices = new ArrayList<>(); in handleLeAudioOnlyDeviceAfterCsipConnect() local
654 groupDevices = in handleLeAudioOnlyDeviceAfterCsipConnect()
659 for (BluetoothDevice dev : groupDevices) { in handleLeAudioOnlyDeviceAfterCsipConnect()
681 for (BluetoothDevice dev : groupDevices) { in handleLeAudioOnlyDeviceAfterCsipConnect()
DAdapterService.java1621 private boolean isDuplexAudioSupported(List<BluetoothDevice> groupDevices) { in isDuplexAudioSupported() argument
1622 for (BluetoothDevice device : groupDevices) { in isDuplexAudioSupported()
1640 private boolean isOutputOnlyAudioSupported(List<BluetoothDevice> groupDevices) { in isOutputOnlyAudioSupported() argument
1641 for (BluetoothDevice device : groupDevices) { in isOutputOnlyAudioSupported()
4294 List<BluetoothDevice> groupDevices = mLeAudioService.getGroupDevices(device); in getPreferredAudioProfiles() local
4295 if (groupDevices.isEmpty()) { in getPreferredAudioProfiles()
4301 for (BluetoothDevice groupDevice : groupDevices) { in getPreferredAudioProfiles()
4312 if (isOutputOnlyAudioSupported(groupDevices)) { in getPreferredAudioProfiles()
4325 if (isDuplexAudioSupported(groupDevices)) { in getPreferredAudioProfiles()
4369 List<BluetoothDevice> groupDevices = mLeAudioService.getGroupDevices(groupId); in setPreferredAudioProfiles() local
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/storage/
DDatabaseManager.java920 List<BluetoothDevice> groupDevices, Bundle modeToProfileBundle) { in setPreferredAudioProfiles() argument
921 Objects.requireNonNull(groupDevices, "groupDevices must not be null"); in setPreferredAudioProfiles()
923 if (groupDevices.isEmpty()) { in setPreferredAudioProfiles()
931 for (BluetoothDevice device : groupDevices) { in setPreferredAudioProfiles()
977 BluetoothDevice firstGroupDevice = groupDevices.get(0); in setPreferredAudioProfiles()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/storage/
DDatabaseManagerTest.java1767 List<BluetoothDevice> groupDevices = new ArrayList<>(); in testSetGetPreferredAudioProfilesCase() local
1768 groupDevices.add(mTestDevice); in testSetGetPreferredAudioProfilesCase()
1769 groupDevices.add(mTestDevice2); in testSetGetPreferredAudioProfilesCase()
1773 mDatabaseManager.setPreferredAudioProfiles(groupDevices, preferencesToSet)); in testSetGetPreferredAudioProfilesCase()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bass_client/
DBassClientServiceTest.java479 List<BluetoothDevice> groupDevices = new ArrayList<>(); in prepareConnectedDeviceGroup() local
480 groupDevices.add(mCurrentDevice); in prepareConnectedDeviceGroup()
481 groupDevices.add(mCurrentDevice1); in prepareConnectedDeviceGroup()
482 doReturn(groupDevices) in prepareConnectedDeviceGroup()
485 doReturn(groupDevices) in prepareConnectedDeviceGroup()