frameworks/av/services/audioflinger/Effects.h:231: void addEffectToHal_l() override REQUIRES(audio_utils::EffectChain_Mutex); frameworks/av/services/audioflinger/Effects.h:329: void addEffectToHal_l() final REQUIRES(audio_utils::EffectChain_Mutex); frameworks/av/services/audioflinger/Effects.h:341:// The EffectHandle is obtained by calling AudioFlinger::createEffect(). frameworks/av/services/audioflinger/Effects.h:483: status_t createEffect(sp& effect, effect_descriptor_t* desc, int id, frameworks/av/services/audioflinger/Effects.h:548: void setEffectSuspended_l(const effect_uuid_t* type, bool suspend) final frameworks/av/services/audioflinger/Effects.h:625: // createEffectHal and allocateHalBuffer. frameworks/av/services/audioflinger/Effects.h:643: status_t createEffectHal(const effect_uuid_t *pEffectUuid, frameworks/av/services/audioflinger/Effects.h:664: status_t addEffectToHal(const sp& effect) override; frameworks/av/services/audioflinger/Effects.h:775: // Updated by setEffectSuspended_l() and setEffectSuspendedAll_l() only. frameworks/av/services/audioflinger/Effects.h:809: status_t addEffectToHal(const sp& effect) final; frameworks/av/services/audioflinger/Effects.h:833: status_t createEffectHal(const effect_uuid_t *pEffectUuid, frameworks/av/services/audioflinger/Effects.h:860: status_t addEffectToHal(const sp& effect) override; frameworks/av/services/audioflinger/IAfEffect.h:65: virtual status_t addEffectToHal(const sp& effect) = 0; frameworks/av/services/audioflinger/IAfEffect.h:75: virtual status_t createEffectHal(const effect_uuid_t *pEffectUuid, frameworks/av/services/audioflinger/IAfEffect.h:217: virtual void addEffectToHal_l() = 0; frameworks/av/services/audioflinger/IAfEffect.h:242: virtual status_t createEffect(sp& effect, effect_descriptor_t* desc, int id, frameworks/av/services/audioflinger/IAfEffect.h:295: virtual void setEffectSuspended_l(const effect_uuid_t* type, bool suspend) = 0; frameworks/av/services/audioflinger/IAfEffect.h:426: virtual status_t addEffectToHal(const sp& effect) = 0; frameworks/av/services/audioflinger/DeviceEffectManager.h:30: virtual status_t addEffectToHal( frameworks/av/services/audioflinger/DeviceEffectManager.h:48: sp createEffect_l(effect_descriptor_t *descriptor, frameworks/av/services/audioflinger/DeviceEffectManager.h:59: static status_t createEffectHal(const effect_uuid_t *pEffectUuid, frameworks/av/services/audioflinger/DeviceEffectManager.h:62: status_t addEffectToHal(const struct audio_port_config *device, frameworks/av/services/audioflinger/DeviceEffectManager.h:100: status_t createEffectHal(const effect_uuid_t *pEffectUuid, frameworks/av/services/audioflinger/DeviceEffectManager.h:102: return mManager.createEffectHal(pEffectUuid, sessionId, deviceId, effect); frameworks/av/services/audioflinger/DeviceEffectManager.h:129: status_t addEffectToHal(const sp& /* effect */) final { frameworks/av/services/audioflinger/DeviceEffectManager.h:154: status_t addEffectToHal(const struct audio_port_config *device, frameworks/av/services/audioflinger/DeviceEffectManager.h:156: return mManager.addEffectToHal(device, effect); frameworks/av/services/audioflinger/IAfThread.h:247: virtual sp createEffect_l( frameworks/av/services/audioflinger/IAfThread.h:397: virtual void setEffectSuspended_l( frameworks/av/services/audioflinger/Threads.h:409: sp createEffect_l( frameworks/av/services/audioflinger/Threads.h:586: void setEffectSuspended_l(const effect_uuid_t *type, frameworks/av/services/audioflinger/Effects.cpp:583: mStatus = callback->createEffectHal( frameworks/av/services/audioflinger/Effects.cpp:586: ALOGE("%s createEffectHal failed: %d", __func__, mStatus); frameworks/av/services/audioflinger/Effects.cpp:1040:void EffectModule::addEffectToHal_l() frameworks/av/services/audioflinger/Effects.cpp:1048: status_t status = getCallback()->addEffectToHal(mEffectInterface); frameworks/av/services/audioflinger/Effects.cpp:1055:void HwAccDeviceEffectModule::addEffectToHal_l() frameworks/av/services/audioflinger/Effects.cpp:1060: status_t status = getCallback()->addEffectToHal(mEffectInterface); frameworks/av/services/audioflinger/Effects.cpp:1099: addEffectToHal_l(); frameworks/av/services/audioflinger/Effects.cpp:2402:status_t EffectChain::createEffect(sp& effect, frameworks/av/services/audioflinger/Effects.cpp:2824: mEffects[i]->addEffectToHal_l(); frameworks/av/services/audioflinger/Effects.cpp:2864:void EffectChain::setEffectSuspended_l( frameworks/av/services/audioflinger/Effects.cpp:2878: ALOGV("setEffectSuspended_l() add entry for %08x", type->timeLow); frameworks/av/services/audioflinger/Effects.cpp:2895: ALOGW("setEffectSuspended_l() restore refcount should not be 0 %d", desc->mRefCount); frameworks/av/services/audioflinger/Effects.cpp:2900: ALOGV("setEffectSuspended_l() remove entry for %08x", it->first); frameworks/av/services/audioflinger/Effects.cpp:2937: setEffectSuspended_l(&effect->desc().type, true); frameworks/av/services/audioflinger/Effects.cpp:2958: setEffectSuspended_l(type, false); frameworks/av/services/audioflinger/Effects.cpp:2977: if ((memcmp(type, FX_IID_AEC, sizeof(effect_uuid_t)) == 0) || frameworks/av/services/audioflinger/Effects.cpp:3026: setEffectSuspended_l(&effect->desc().type, enabled); frameworks/av/services/audioflinger/Effects.cpp:3168:status_t EffectChain::EffectCallback::createEffectHal( frameworks/av/services/audioflinger/Effects.cpp:3175: status = effectsFactory->createEffect(pEffectUuid, sessionId, io(), deviceId, effect); frameworks/av/services/audioflinger/Effects.cpp:3191:status_t EffectChain::EffectCallback::addEffectToHal( frameworks/av/services/audioflinger/Effects.cpp:3563:// calling function 'createEffect_l' requires holding mutex 'AudioFlinger_Mutex' exclusively frameworks/av/services/audioflinger/Effects.cpp:3625: *handle = thread->createEffect_l(nullptr, nullptr, 0, AUDIO_SESSION_DEVICE, frameworks/av/services/audioflinger/Effects.cpp:3629: ALOGV("%s thread->createEffect_l status %d", __func__, status); frameworks/av/services/audioflinger/Effects.cpp:3672:status_t DeviceEffectProxy::addEffectToHal( frameworks/av/services/audioflinger/Effects.cpp:3677: return mManagerCallback->addEffectToHal(&mDevicePort, effect); frameworks/av/services/audioflinger/Effects.cpp:3805:status_t DeviceEffectProxy::ProxyCallback::createEffectHal( frameworks/av/services/audioflinger/Effects.cpp:3808: return mManagerCallback->createEffectHal(pEffectUuid, sessionId, deviceId, effect); frameworks/av/services/audioflinger/Effects.cpp:3811:status_t DeviceEffectProxy::ProxyCallback::addEffectToHal( frameworks/av/services/audioflinger/Effects.cpp:3817: return proxy->addEffectToHal(effect); frameworks/av/services/audioflinger/AudioFlinger.h:172: status_t createEffect(const media::CreateEffectRequest& request, frameworks/av/services/audioflinger/AudioFlinger.h:173: media::CreateEffectResponse* response) final EXCLUDES_AudioFlinger_Mutex; frameworks/av/services/audioflinger/AudioFlinger.h:304: status_t addEffectToHal( frameworks/av/services/audioflinger/DeviceEffectManager.cpp:47:status_t DeviceEffectManager::addEffectToHal(const struct audio_port_config* device, frameworks/av/services/audioflinger/DeviceEffectManager.cpp:49: return mAfDeviceEffectManagerCallback->addEffectToHal(device, effect); frameworks/av/services/audioflinger/DeviceEffectManager.cpp:102:// DeviceEffectManager::createEffect_l() must be called with AudioFlinger::mutex() held frameworks/av/services/audioflinger/DeviceEffectManager.cpp:103:sp DeviceEffectManager::createEffect_l( frameworks/av/services/audioflinger/DeviceEffectManager.cpp:197:status_t DeviceEffectManager::createEffectHal( frameworks/av/services/audioflinger/DeviceEffectManager.cpp:204: status = effectsFactory->createEffect( frameworks/av/services/audioflinger/Threads.cpp:1351:void ThreadBase::setEffectSuspended_l( frameworks/av/services/audioflinger/Threads.cpp:1357: chain->setEffectSuspended_l(type, suspend); frameworks/av/services/audioflinger/Threads.cpp:1382: chain->setEffectSuspended_l(&desc->mType, true); frameworks/av/services/audioflinger/Threads.cpp:1465: setEffectSuspended_l(NULL, enabled, AUDIO_SESSION_OUTPUT_MIX); frameworks/av/services/audioflinger/Threads.cpp:1682:// ThreadBase::createEffect_l() must be called with AudioFlinger::mutex() held frameworks/av/services/audioflinger/Threads.cpp:1683:sp ThreadBase::createEffect_l( frameworks/av/services/audioflinger/Threads.cpp:1705: ALOGW("createEffect_l() Audio driver not initialized."); frameworks/av/services/audioflinger/Threads.cpp:1709: ALOGV("createEffect_l() thread %p effect %s on session %d", this, desc->name, sessionId); frameworks/av/services/audioflinger/Threads.cpp:1723: ALOGV("createEffect_l() new effect chain for session %d", sessionId); frameworks/av/services/audioflinger/Threads.cpp:1732: ALOGV("createEffect_l() got effect %p on chain %p", effect.get(), chain.get()); frameworks/av/services/audioflinger/Threads.cpp:1737: lStatus = chain->createEffect(effect, desc, effectId, sessionId, pinned); frameworks/av/services/audioflinger/Threads.cpp:8110:// 'createEffect_l' requires holding mutex 'AudioFlinger_Mutex' exclusively frameworks/av/services/audioflinger/Threads.cpp:8143: finalDownMixer = createEffect_l(nullptr /*client*/, nullptr /*effectClient*/, frameworks/av/services/audioflinger/Threads.cpp:9900: setEffectSuspended_l(FX_IID_AEC, suspend, mEffectChains[i]->sessionId()); frameworks/av/services/audioflinger/Threads.cpp:9901: setEffectSuspended_l(FX_IID_NS, suspend, mEffectChains[i]->sessionId()); frameworks/av/services/audioflinger/AudioFlinger.cpp:209:BINDER_METHOD_ENTRY(createEffect) \ frameworks/av/services/audioflinger/AudioFlinger.cpp:660:status_t AudioFlinger::addEffectToHal( frameworks/av/services/audioflinger/AudioFlinger.cpp:4070:status_t AudioFlinger::createEffect(const media::CreateEffectRequest& request, frameworks/av/services/audioflinger/AudioFlinger.cpp:4071: media::CreateEffectResponse* response) { frameworks/av/services/audioflinger/AudioFlinger.cpp:4102: ALOGV("createEffect pid %d, effectClient %p, priority %d, sessionId %d, io %d, factory %p", frameworks/av/services/audioflinger/AudioFlinger.cpp:4186: ALOGW("createEffect() error %d from getEffectDescriptor", lStatus); frameworks/av/services/audioflinger/AudioFlinger.cpp:4229: ALOGV("createEffect got output %d", io); frameworks/av/services/audioflinger/AudioFlinger.cpp:4237: handle = mDeviceEffectManager->createEffect_l( frameworks/av/services/audioflinger/AudioFlinger.cpp:4309: ALOGV("createEffect() got io %d for effect %s", io, descOut.name); frameworks/av/services/audioflinger/AudioFlinger.cpp:4341: ALOGE("createEffect() unknown output thread"); frameworks/av/services/audioflinger/AudioFlinger.cpp:4375: handle = thread->createEffect_l(client, effectClient, priority, sessionId, frameworks/av/services/audioflinger/AudioFlinger.cpp:4452: chain->createEffect(effect, desc, effectId, sessionId, pinned); frameworks/av/services/audioflinger/AudioFlinger.cpp:4583: thread->setEffectSuspended_l(&effect->desc().type, suspended, sessionId); frameworks/av/services/audioflinger/AudioFlinger.cpp:4874: chain->setEffectSuspended_l(FX_IID_AEC, false); frameworks/av/services/audioflinger/AudioFlinger.cpp:4875: chain->setEffectSuspended_l(FX_IID_NS, false);