Home
last modified time | relevance | path

Searched refs:policyDesc (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPolicyMix.cpp170 sp<SwAudioOutputDescriptor> policyDesc = policyMix->getOutput(); in getOutputForAttr() local
171 if (!policyDesc) { in getOutputForAttr()
192 policyDesc->mPolicyMix = policyMix; in getOutputForAttr()
194 primaryDesc = policyDesc; in getOutputForAttr()
197 if (policyDesc->mIoHandle == AUDIO_IO_HANDLE_NONE) { in getOutputForAttr()
201 secondaryDescs->push_back(policyDesc); in getOutputForAttr()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp963 sp<SwAudioOutputDescriptor> policyDesc; in getOutputForAttrInt() local
964 status = mPolicyMixes.getOutputForAttr(*resultAttr, uid, *flags, policyDesc, secondaryDescs); in getOutputForAttrInt()
970 bool usePrimaryOutputFromPolicyMixes = requestedDevice == nullptr && policyDesc != nullptr; in getOutputForAttrInt()
979 *output = policyDesc->mIoHandle; in getOutputForAttrInt()
980 sp<AudioPolicyMix> mix = policyDesc->mPolicyMix.promote(); in getOutputForAttrInt()