Lines Matching refs:common
38 using ::aidl::android::media::audio::common::AudioUuid;
52 status = factory->createEffect(desc.common.id.uuid, &sub.handle); in EffectProxy()
56 ::android::audio::utils::toString(desc.common.id.uuid).c_str()); in EffectProxy()
85 return offload->isOffload == desc.common.flags.offloadIndication; in setOffloadParam()
97 ::android::audio::utils::toString(mSubEffects[mActiveSubIdx].descriptor.common.id.uuid) in setOffloadParam()
105 ndk::ScopedAStatus EffectProxy::open(const Parameter::Common& common, in open() argument
112 if (!sub.handle || !(status = sub.handle->open(common, specific, &openReturn)).isOk()) { in open()
114 ::android::audio::utils::toString(sub.descriptor.common.id.uuid).c_str()); in open()
139 ::android::audio::utils::toString(sub.descriptor.common.id.uuid).c_str()); in reopen()
166 desc->common = mDescriptorCommon; in getDescriptor()
184 desc->common = buildDescriptorCommon(uuid, subEffectDescs); in buildDescriptor()
194 const Flags& firstFlag = subEffectDescs[0].common.flags; in buildDescriptorCommon()
197 if (desc.common.flags.offloadIndication) { in buildDescriptorCommon()
200 swCommon = desc.common; in buildDescriptorCommon()
202 if (desc.common.flags.audioModeIndication != firstFlag.audioModeIndication || in buildDescriptorCommon()
203 desc.common.flags.audioSourceIndication != firstFlag.audioSourceIndication || in buildDescriptorCommon()
204 desc.common.flags.sinkMetadataIndication != firstFlag.sinkMetadataIndication || in buildDescriptorCommon()
205 desc.common.flags.sourceMetadataIndication != firstFlag.sourceMetadataIndication || in buildDescriptorCommon()
206 desc.common.flags.deviceIndication != firstFlag.deviceIndication) { in buildDescriptorCommon()
207 ALOGW("Inconsistent flags %s vs %s", desc.common.flags.toString().c_str(), in buildDescriptorCommon()
265 mSubEffects[i].descriptor.common.id.uuid.toString().c_str()); in runWithActiveSubEffectThenOthers()
302 return mSubEffects[mActiveSubIdx].descriptor.common.flags.bypass; in isBypassing()
306 return mSubEffects[mActiveSubIdx].descriptor.common.flags.hwAcceleratorMode == in isTunnel()