Lines Matching refs:policyDesc
1259 sp<SwAudioOutputDescriptor> policyDesc = primaryMix->getOutput(); in getOutputForAttrInt() local
1260 bool tryDirectForFlags = policyDesc == nullptr || in getOutputForAttrInt()
1261 (policyDesc->mFlags & AUDIO_OUTPUT_FLAG_DIRECT) || in getOutputForAttrInt()
1267 bool tryDirectForChannelMask = policyDesc != nullptr in getOutputForAttrInt()
1268 && (audio_channel_count_from_out_mask(policyDesc->getConfig().channel_mask) < in getOutputForAttrInt()
1277 policyDesc = mOutputs.valueFor(newOutput); in getOutputForAttrInt()
1278 primaryMix->setOutput(policyDesc); in getOutputForAttrInt()
1281 policyDesc = nullptr; in getOutputForAttrInt()
1284 if (policyDesc != nullptr) { in getOutputForAttrInt()
1285 policyDesc->mPolicyMix = primaryMix; in getOutputForAttrInt()
1286 *output = policyDesc->mIoHandle; in getOutputForAttrInt()
1289 if ((policyDesc->mFlags & AUDIO_OUTPUT_FLAG_DIRECT) != AUDIO_OUTPUT_FLAG_DIRECT) { in getOutputForAttrInt()