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.cpp160 if (!supportedDevices().containsDeviceAmongTypes(deviceTypes)) { in setVolume()
321 DeviceVector SwAudioOutputDescriptor::supportedDevices() const in supportedDevices() function in android::SwAudioOutputDescriptor
324 DeviceVector supportedDevices = mOutput1->supportedDevices(); in supportedDevices() local
325 supportedDevices.merge(mOutput2->supportedDevices()); in supportedDevices()
326 return supportedDevices; in supportedDevices()
333 return supportedDevices().contains(device); in supportsDevice()
338 return supportedDevices().containsAllDevices(devices); in supportsAllDevices()
343 DeviceVector filteredDevices = supportedDevices(); in filterSupportedDevices()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioInputDescriptor.h54 DeviceVector supportedDevices() const { in supportedDevices() function
DAudioOutputDescriptor.h157 virtual DeviceVector supportedDevices() const { return mDevices; } in supportedDevices() function
338 virtual DeviceVector supportedDevices() const;
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp2447 || !mAvailableInputDevices.containsAtLeastOne(input->supportedDevices())) { in checkCloseInputs()
2454 if (!input->supportedDevices().contains(device)) { in checkCloseInputs()
2962 if (!desc->isDuplicated() && desc->supportedDevices().contains(device)) { in registerPolicyMixes()
4626 const DeviceVector &supportedDevices = outProfile->getSupportedDevices(); in onNewAudioModulesAvailableInt() local
4627 DeviceVector availProfileDevices = supportedDevices.filter(mOutputDevicesAll); in onNewAudioModulesAvailableInt()
4629 if (supportedDevices.contains(mDefaultOutputDevice)) { in onNewAudioModulesAvailableInt()
4692 const DeviceVector &supportedDevices = inProfile->getSupportedDevices(); in onNewAudioModulesAvailableInt() local
4693 DeviceVector availProfileDevices = supportedDevices.filter(mInputDevicesAll); in onNewAudioModulesAvailableInt()
4936 } else if (!mAvailableOutputDevices.containsAtLeastOne(desc->supportedDevices())) { in checkOutputsForDevice()
5201 openOutputs.valueAt(i)->supportedDevices().toString().c_str()); in getOutputsForDevices()
[all …]
DAudioPolicyManager.h658 return mAvailableOutputDevices.filter(mPrimaryOutput->supportedDevices()); in availablePrimaryOutputDevices()
/frameworks/av/services/audiopolicy/enginedefault/src/
DEngine.cpp214 primaryOutput->supportedDevices().types()); in getDevicesForStrategyInt()
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp454 uint32_t supportedDevices; in findSuitableHwDev_l() local
455 if (dev->getSupportedDevices(&supportedDevices) == OK && in findSuitableHwDev_l()
456 (supportedDevices & deviceType) == deviceType) { in findSuitableHwDev_l()