Lines Matching refs:resultAttr
978 audio_attributes_t *resultAttr, in getOutputForAttrInt() argument
998 status_t status = getAudioAttributes(resultAttr, attr, *stream); in getOutputForAttrInt()
1003 resultAttr->flags = static_cast<audio_flags_mask_t>(resultAttr->flags | it->second); in getOutputForAttrInt()
1005 *stream = mEngine->getStreamTypeForAttributes(*resultAttr); in getOutputForAttrInt()
1008 toString(*resultAttr).c_str(), toString(*stream).c_str(), session, requestedPortId); in getOutputForAttrInt()
1014 status = mPolicyMixes.getOutputForAttr(*resultAttr, uid, *flags, primaryMix, secondaryMixes); in getOutputForAttrInt()
1055 if (resultAttr->usage == AUDIO_USAGE_VIRTUAL_SOURCE) { in getOutputForAttrInt()
1064 if (resultAttr->usage == AUDIO_USAGE_VIRTUAL_SOURCE) { in getOutputForAttrInt()
1070 outputDevices = mEngine->getOutputDevicesForAttributes(*resultAttr, requestedDevice, false); in getOutputForAttrInt()
1072 if ((resultAttr->flags & AUDIO_FLAG_HW_AV_SYNC) != 0) { in getOutputForAttrInt()
1082 (*stream == AUDIO_STREAM_MUSIC || resultAttr->usage == AUDIO_USAGE_VOICE_COMMUNICATION) && in getOutputForAttrInt()
1107 flags, resultAttr->flags & AUDIO_FLAG_MUTE_HAPTIC); in getOutputForAttrInt()
1151 audio_attributes_t resultAttr; in getOutputForAttr() local
1162 status_t status = getOutputForAttrInt(&resultAttr, output, session, attr, stream, uid, in getOutputForAttr()
1188 new TrackClientDescriptor(*portId, uid, session, resultAttr, clientConfig, in getOutputForAttr()
1190 mEngine->getProductStrategyForAttributes(resultAttr), in getOutputForAttr()
1191 toVolumeSource(resultAttr), in getOutputForAttr()
4010 audio_attributes_t resultAttr; in createAudioPatchInternal() local
4019 getOutputForAttrInt(&resultAttr, &output, AUDIO_SESSION_NONE, &attributes, in createAudioPatchInternal()