Home
last modified time | relevance | path

Searched refs:mSupportedDevices (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DHwModule.cpp39 mOutputProfiles[i]->mSupportedDevices.clear(); in ~HwModule()
42 mInputProfiles[i]->mSupportedDevices.clear(); in ~HwModule()
61 profile->mSupportedDevices.loadDevicesFromTag((char *)node->value, in loadInput()
70 ALOGW_IF(profile->mSupportedDevices.isEmpty(), in loadInput()
78 if (!profile->mSupportedDevices.isEmpty() && in loadInput()
84 profile->mSupportedDevices.types()); in loadInput()
108 profile->mSupportedDevices.loadDevicesFromTag((char *)node->value, in loadOutput()
117 ALOGW_IF(profile->mSupportedDevices.isEmpty(), in loadOutput()
125 if (!profile->mSupportedDevices.isEmpty() && in loadOutput()
131 profile->mSupportedDevices.types(), profile->mFlags); in loadOutput()
[all …]
DIOProfile.cpp56 if ((mSupportedDevices.types() & device) != device) { in isCompatibleProfile()
59 } else if (mSupportedDevices.getDevice(device, address) == 0) { in isCompatibleProfile()
134 for (size_t i = 0; i < mSupportedDevices.size(); i++) { in dump()
135 mSupportedDevices[i]->dump(fd, 6, i); in dump()
160 ALOGV(" - devices: 0x%04x\n", mSupportedDevices.types()); in log()
DAudioOutputDescriptor.cpp286 return mProfile->mSupportedDevices.types() ; in supportedDevices()
476 audio_devices_t devices = outputDesc->mProfile->mSupportedDevices.types(); in getSupportedDevices()
DAudioInputDescriptor.cpp175 audio_devices_t devices = inputDesc->mProfile->mSupportedDevices.types(); in getSupportedDevices()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DIOProfile.h56 DeviceVector mSupportedDevices; // supported devices variable
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp611 if ((mAvailableOutputDevices.types() & curProfile->mSupportedDevices.types()) == 0) { in getProfileForDirectOutput()
2736 if (outProfile->mSupportedDevices.isEmpty()) { in AudioPolicyManager()
2744 audio_devices_t profileType = outProfile->mSupportedDevices.types(); in AudioPolicyManager()
2750 for (size_t k = 0; k < outProfile->mSupportedDevices.size(); k++) { in AudioPolicyManager()
2751 profileType = outProfile->mSupportedDevices[k]->type(); in AudioPolicyManager()
2786 for (size_t k = 0; k < outProfile->mSupportedDevices.size(); k++) { in AudioPolicyManager()
2787 audio_devices_t type = outProfile->mSupportedDevices[k]->type(); in AudioPolicyManager()
2789 mAvailableOutputDevices.indexOf(outProfile->mSupportedDevices[k]); in AudioPolicyManager()
2811 if (inProfile->mSupportedDevices.isEmpty()) { in AudioPolicyManager()
2818 for (size_t k = 0; k < inProfile->mSupportedDevices.size(); k++) { in AudioPolicyManager()
[all …]