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.cpp169 sp<SwAudioOutputDescriptor> policyDesc = policyMix->getOutput(); in getOutputForAttr() local
170 if (!policyDesc) { in getOutputForAttr()
191 policyDesc->mPolicyMix = policyMix; in getOutputForAttr()
193 primaryDesc = policyDesc; in getOutputForAttr()
196 if (policyDesc->mIoHandle == AUDIO_IO_HANDLE_NONE) { in getOutputForAttr()
200 secondaryDescs->push_back(policyDesc); in getOutputForAttr()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp935 sp<SwAudioOutputDescriptor> policyDesc; in getOutputForAttrInt() local
936 status = mPolicyMixes.getOutputForAttr(*resultAttr, uid, *flags, policyDesc, secondaryDescs); in getOutputForAttrInt()
942 bool usePrimaryOutputFromPolicyMixes = requestedDevice == nullptr && policyDesc != nullptr; in getOutputForAttrInt()
951 *output = policyDesc->mIoHandle; in getOutputForAttrInt()
952 sp<AudioPolicyMix> mix = policyDesc->mPolicyMix.promote(); in getOutputForAttrInt()