Home
last modified time | relevance | path

Searched refs:sourceDevices (Results 1 – 2 of 2) sorted by relevance

/aosp12/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DHwModule.cpp175 DeviceVector sourceDevices; in getRouteSourceDevices() local
178 sourceDevices.add(mDeclaredDevices.getDeviceFromTagName(source->getTagName())); in getRouteSourceDevices()
181 return sourceDevices; in getRouteSourceDevices()
195 DeviceVector sourceDevices; in refreshSupportedDevices() local
207 sourceDevices.add(sourceDevicesForRoute); in refreshSupportedDevices()
209 if (sourceDevices.isEmpty()) { in refreshSupportedDevices()
213 stream->setSupportedDevices(sourceDevices); in refreshSupportedDevices()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
H A DMediaOutputController.java310 final Collection<MediaDevice> sourceDevices = new ArrayList<>(); in getGroupMediaDevices() local
312 sourceDevices.addAll(selectedDevices); in getGroupMediaDevices()
313 sourceDevices.addAll(selectableDevices); in getGroupMediaDevices()
315 for (MediaDevice newDevice : sourceDevices) { in getGroupMediaDevices()
318 sourceDevices.remove(newDevice); in getGroupMediaDevices()
324 if (!sourceDevices.isEmpty()) { in getGroupMediaDevices()
325 targetMediaDevices.addAll(sourceDevices); in getGroupMediaDevices()