Home
last modified time | relevance | path

Searched refs:mEffectHandles (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/services/audioflinger/
DEffects.cpp3403 for (auto& handle : mEffectHandles) { in setEnabled()
3448 if (mEffectHandles.find(oldPatchHandle) != mEffectHandles.end()) { in onUpdatePatch()
3451 sp<IAfEffectHandle> effect = mEffectHandles.at(oldPatchHandle); in onUpdatePatch()
3452 mEffectHandles.erase(oldPatchHandle); in onUpdatePatch()
3453 mEffectHandles.emplace(newPatchHandle, effect); in onUpdatePatch()
3472 size_t erasedHandle = mEffectHandles.erase(patchHandle); in onCreatePatch()
3475 mEffectHandles.emplace(patchHandle, handle); in onCreatePatch()
3577 if (mEffectHandles.find(patchHandle) != mEffectHandles.end()) { in onReleasePatch()
3578 effect = mEffectHandles.at(patchHandle); in onReleasePatch()
3579 mEffectHandles.erase(patchHandle); in onReleasePatch()
[all …]
DEffects.h842 std::map<audio_patch_handle_t, sp<IAfEffectHandle>> mEffectHandles; // protected by mProxyMutex variable