Home
last modified time | relevance | path

Searched refs:effectDesc (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DEffectDescriptor.cpp67 sp<EffectDescriptor> effectDesc = in registerEffect() local
69 add(id, effectDesc); in registerEffect()
85 sp<EffectDescriptor> effectDesc = getEffect(id); in unregisterEffect() local
86 if (effectDesc == nullptr) { in unregisterEffect()
91 if (mTotalEffectsMemory < effectDesc->mDesc.memoryUsage) { in unregisterEffect()
93 effectDesc->mDesc.memoryUsage, mTotalEffectsMemory); in unregisterEffect()
94 effectDesc->mDesc.memoryUsage = mTotalEffectsMemory; in unregisterEffect()
96 mTotalEffectsMemory -= effectDesc->mDesc.memoryUsage; in unregisterEffect()
98 effectDesc->mDesc.name, id, effectDesc->mDesc.memoryUsage, mTotalEffectsMemory); in unregisterEffect()
125 status_t EffectDescriptorCollection::setEffectEnabled(const sp<EffectDescriptor> &effectDesc, in setEffectEnabled() argument
[all …]
/frameworks/av/media/libeffects/factory/
DEffectsXmlConfigLoader.cpp209 UniqueCPtr<effect_descriptor_t> effectDesc; member
224 result.effectDesc = makeUniqueC<effect_descriptor_t>(); in loadEffect()
227 if (result.lib->desc->get_descriptor(&effect.uuid, result.effectDesc.get()) != 0) { in loadEffect()
230 result.effectDesc.reset(); in loadEffect()
237 dumpEffectDescriptor(result.effectDesc.get(), s, sizeof(s), 0 /* indent */); in loadEffect()
238 ALOGV("loadEffect() read descriptor %p:%s", result.effectDesc.get(), s); in loadEffect()
243 if (EFFECT_API_VERSION_MAJOR(result.effectDesc->apiVersion) != expectedMajorVersion) { in loadEffect()
245 result.effectDesc->apiVersion, name.c_str(), result.lib->name, expectedMajorVersion); in loadEffect()
267 if (effectLoadResult.effectDesc != nullptr) { in loadEffects()
268 listPush(std::move(effectLoadResult.effectDesc), skippedEffects); in loadEffects()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DEffectDescriptor.h78 status_t setEffectEnabled(const sp<EffectDescriptor> &effectDesc, bool enabled);
/frameworks/av/services/audiopolicy/service/
DAudioPolicyEffects.cpp969 for (const auto& effectDesc : deviceEffects->mEffectDescriptors->mEffects) { in initDefaultDeviceEffects() local
971 EFFECT_UUID_NULL, String16("android"), &effectDesc->mUuid, 0, nullptr, in initDefaultDeviceEffects()
978 effectDesc->mName, deviceEffects->getDeviceType(), in initDefaultDeviceEffects()
985 effectDesc->mName, deviceEffects->getDeviceType(), in initDefaultDeviceEffects()