Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioOutputDescriptor.cpp170 if (!supportedDevices().containsDeviceAmongTypes(deviceTypes)) { in setVolume()
373 DeviceVector SwAudioOutputDescriptor::supportedDevices() const in supportedDevices() function in android::SwAudioOutputDescriptor
376 DeviceVector supportedDevices = mOutput1->supportedDevices(); in supportedDevices() local
377 supportedDevices.merge(mOutput2->supportedDevices()); in supportedDevices()
378 return supportedDevices; in supportedDevices()
388 return supportedDevices().contains(device); in supportsDevice()
393 return supportedDevices().containsAllDevices(devices); in supportsAllDevices()
410 DeviceVector filteredDevices = supportedDevices(); in filterSupportedDevices()
DAudioPolicyMix.cpp305 auto device = desc->supportedDevices().getDevice( in closeOutput()
316 allOutputs[i]->supportedDevices().contains(device)) { in closeOutput()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioInputDescriptor.h54 DeviceVector supportedDevices() const { in supportedDevices() function
DAudioOutputDescriptor.h161 virtual DeviceVector supportedDevices() const { return mDevices; } in supportedDevices() function
369 virtual DeviceVector supportedDevices() const;
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp1124 DeviceVector supportedDevices = curProfile->getSupportedDevices(); in getSpatializerOutputProfile() local
1125 if (!mAvailableOutputDevices.containsAtLeastOne(supportedDevices)) { in getSpatializerOutputProfile()
1128 if (supportedDevices.getDevicesFromDeviceTypeAddrVec(devices).size() in getSpatializerOutputProfile()
3348 || !mAvailableInputDevices.containsAtLeastOne(input->supportedDevices())) { in checkCloseInput()
3355 if (!input->supportedDevices().contains(device)) { in checkCloseInput()
3924 if (!desc->isDuplicated() && desc->supportedDevices().contains(device)) { in registerPolicyMixes()
6315 DeviceVector devices = outputDesc->supportedDevices(); in isOutputOnlyAvailableRouteToSomeDevice()
6561 const DeviceVector &supportedDevices = outProfile->getSupportedDevices(); in onNewAudioModulesAvailableInt() local
6562 DeviceVector availProfileDevices = supportedDevices.filter(mConfig->getOutputDevices()); in onNewAudioModulesAvailableInt()
6564 if (supportedDevices.contains(mConfig->getDefaultOutputDevice())) { in onNewAudioModulesAvailableInt()
[all …]
DAudioPolicyManager.h870 return mAvailableOutputDevices.filter(mPrimaryOutput->supportedDevices()); in availablePrimaryOutputDevices()
/frameworks/av/services/audiopolicy/enginedefault/src/
DEngine.cpp242 primaryOutput->supportedDevices().types()); in filterOutputDevicesForStrategy()
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp654 uint32_t supportedDevices; in findSuitableHwDev_l() local
655 if (dev->getSupportedDevices(&supportedDevices) == OK && in findSuitableHwDev_l()
656 (supportedDevices & deviceType) == deviceType) { in findSuitableHwDev_l()