Home
last modified time | relevance | path

Searched refs:supportedDevices (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioOutputDescriptor.cpp297 DeviceVector SwAudioOutputDescriptor::supportedDevices() const in supportedDevices() function in android::SwAudioOutputDescriptor
300 DeviceVector supportedDevices = mOutput1->supportedDevices(); in supportedDevices() local
301 supportedDevices.merge(mOutput2->supportedDevices()); in supportedDevices()
302 return supportedDevices; in supportedDevices()
309 return supportedDevices().contains(device); in supportsDevice()
314 return supportedDevices().containsAllDevices(devices); in supportsAllDevices()
319 DeviceVector filteredDevices = supportedDevices(); in filterSupportedDevices()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioInputDescriptor.h50 DeviceVector supportedDevices() const { in supportedDevices() function
DAudioOutputDescriptor.h155 virtual DeviceVector supportedDevices() const { return mDevices; } in supportedDevices() function
321 virtual DeviceVector supportedDevices() const;
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp2399 || !mAvailableInputDevices.containsAtLeastOne(input->supportedDevices()) in checkCloseInputs()
2407 if (!input->supportedDevices().contains(device)) { in checkCloseInputs()
2922 if (desc->supportedDevices().contains(device)) { in registerPolicyMixes()
4365 const DeviceVector &supportedDevices = outProfile->getSupportedDevices(); in initialize() local
4366 DeviceVector availProfileDevices = supportedDevices.filter(mAvailableOutputDevices); in initialize()
4368 if (supportedDevices.contains(mDefaultOutputDevice)) { in initialize()
4423 const DeviceVector &supportedDevices = inProfile->getSupportedDevices(); in initialize() local
4424 DeviceVector availProfileDevices = supportedDevices.filter(mAvailableInputDevices); in initialize()
4732 } else if (!mAvailableOutputDevices.containsAtLeastOne(desc->supportedDevices())) { in checkOutputsForDevice()
4999 openOutputs.valueAt(i)->supportedDevices().toString().c_str()); in getOutputsForDevices()
[all …]
DAudioPolicyManager.h628 return mAvailableOutputDevices.filter(mPrimaryOutput->supportedDevices()); in availablePrimaryOutputDevices()
/frameworks/av/services/audiopolicy/enginedefault/src/
DEngine.cpp210 (primaryOutput->supportedDevices().types() | AUDIO_DEVICE_OUT_HEARING_AID) & in getDeviceForStrategyInt()
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp394 uint32_t supportedDevices; in findSuitableHwDev_l() local
395 if (dev->getSupportedDevices(&supportedDevices) == OK && in findSuitableHwDev_l()
396 (supportedDevices & devices) == devices) { in findSuitableHwDev_l()