Home
last modified time | relevance | path

Searched refs:groupedDevices (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingDialogHandler.java198 Map<Integer, List<CachedBluetoothDevice>> groupedDevices = in handleNonLeAudioDeviceConnected() local
202 mLocalBtManager, groupedDevices, /* filterByInSharing= */ true); in handleNonLeAudioDeviceConnected()
241 Map<Integer, List<CachedBluetoothDevice>> groupedDevices = in handleLeAudioDeviceConnected() local
247 if (groupedDevices.containsKey(groupId) in handleLeAudioDeviceConnected()
248 && groupedDevices.get(groupId).stream() in handleLeAudioDeviceConnected()
270 mLocalBtManager, groupedDevices, /* filterByInSharing= */ true); in handleLeAudioDeviceConnected()
277 removeSourceForGroup(item.getGroupId(), groupedDevices); in handleLeAudioDeviceConnected()
279 addSourceForGroup(groupId, groupedDevices); in handleLeAudioDeviceConnected()
306 addSourceForGroup(groupId, groupedDevices); in handleLeAudioDeviceConnected()
332 for (List<CachedBluetoothDevice> devices : groupedDevices.values()) { in handleLeAudioDeviceConnected()
[all …]
DAudioSharingUtils.java81 Map<Integer, List<CachedBluetoothDevice>> groupedDevices = new HashMap<>(); in fetchConnectedDevicesByGroupId() local
84 return groupedDevices; in fetchConnectedDevicesByGroupId()
90 return groupedDevices; in fetchConnectedDevicesByGroupId()
109 if (!groupedDevices.containsKey(groupId)) { in fetchConnectedDevicesByGroupId()
110 groupedDevices.put(groupId, new ArrayList<>()); in fetchConnectedDevicesByGroupId()
112 groupedDevices.get(groupId).add(cachedDevice); in fetchConnectedDevicesByGroupId()
115 Log.d(TAG, "fetchConnectedDevicesByGroupId: " + groupedDevices); in fetchConnectedDevicesByGroupId()
117 return groupedDevices; in fetchConnectedDevicesByGroupId()
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamsHelper.java173 var groupedDevices = AudioSharingUtils.fetchConnectedDevicesByGroupId(manager); in getCachedBluetoothDeviceInSharingOrLeConnected() local
175 AudioSharingUtils.buildOrderedConnectedLeadDevices(manager, groupedDevices, false); in getCachedBluetoothDeviceInSharingOrLeConnected()
206 var groupedDevices = AudioSharingUtils.fetchConnectedDevicesByGroupId(manager); in getCachedBluetoothDeviceInSharing() local
208 AudioSharingUtils.buildOrderedConnectedLeadDevices(manager, groupedDevices, false); in getCachedBluetoothDeviceInSharing()