Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/enginedefault/src/
DEngine.cpp146 DeviceVector& availableOutputDevices, in filterOutputDevicesForStrategy() argument
155 availableOutputDevices.remove(availableOutputDevices.getDevicesFromType( in filterOutputDevicesForStrategy()
177 DeviceVector availPrimaryOutputDevices = availableOutputDevices.getDevicesFromTypes( in filterOutputDevicesForStrategy()
180 availableOutputDevices.getDevicesFromType(AUDIO_DEVICE_OUT_HEARING_AID)); in filterOutputDevicesForStrategy()
187 availableOutputDevices = availPrimaryOutputDevices; in filterOutputDevicesForStrategy()
194 availableOutputDevices.remove(availableOutputDevices.getDevicesFromTypes({ in filterOutputDevicesForStrategy()
199 if (!availableOutputDevices.getDevicesFromTypes({AUDIO_DEVICE_OUT_DGTL_DOCK_HEADSET}) in filterOutputDevicesForStrategy()
201 availableOutputDevices.remove( in filterOutputDevicesForStrategy()
202 availableOutputDevices.getDevicesFromTypes({AUDIO_DEVICE_OUT_SPEAKER})); in filterOutputDevicesForStrategy()
211 availableOutputDevices.remove(desc->devices().getDevicesFromTypes({ in filterOutputDevicesForStrategy()
[all …]
DEngine.h80 DeviceVector& availableOutputDevices,
87 DeviceVector availableOutputDevices,
96 const DeviceVector& availableOutputDevices, legacy_strategy legacyStrategy) const;
98 const DeviceVector& availableOutputDevices, product_strategy_t strategy) const;
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DEngine.cpp215 const DeviceVector availableOutputDevices = getApmObserver()->getAvailableOutputDevices(); in getDevicesForProductStrategy() local
217 DeviceTypeSet availableOutputDevicesTypes = availableOutputDevices.types(); in getDevicesForProductStrategy()
264 auto busDevice = availableOutputDevices.getDevice( in getDevicesForProductStrategy()
276 return availableOutputDevices.getDevicesFromTypes(deviceTypes); in getDevicesForProductStrategy()
289 const DeviceVector availableOutputDevices = getApmObserver()->getAvailableOutputDevices(); in getOutputDevicesForAttributes() local
297 sp<DeviceDescriptor> device = findPreferredDevice(outputs, strategy, availableOutputDevices); in getOutputDevicesForAttributes()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPolicyMix.h92 const DeviceVector &availableOutputDevices);
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPolicyMix.cpp386 const DeviceVector &availableOutputDevices) in getDeviceAndMixForOutput() argument
395 return availableOutputDevices.getDevice(deviceType, address, AUDIO_FORMAT_DEFAULT); in getDeviceAndMixForOutput()