Lines Matching refs:chain
1460 sp<EffectChain> chain = getOrphanEffectChain_l((audio_session_t)lSessionId); in openRecord() local
1461 if (chain != 0) { in openRecord()
1463 thread->addEffectChain_l(chain); in openRecord()
2116 sp<EffectChain> chain; in closeInput_nonvirtual() local
2122 chain = effectChains[0]; in closeInput_nonvirtual()
2125 if (chain != 0) { in closeInput_nonvirtual()
2135 if (t->hasAudioSession(chain->sessionId()) != 0) { in closeInput_nonvirtual()
2138 t->id(), chain->sessionId()); in closeInput_nonvirtual()
2139 t->addEffectChain_l(chain); in closeInput_nonvirtual()
2145 putOrphanEffectChain_l(chain); in closeInput_nonvirtual()
2580 sp<EffectChain> chain = getOrphanEffectChain_l((audio_session_t)sessionId); in createEffect() local
2581 if (chain != 0) { in createEffect()
2583 thread->addEffectChain_l(chain); in createEffect()
2642 sp<EffectChain> chain = srcThread->getEffectChain_l(sessionId); in moveEffectChain_l() local
2643 if (chain == 0) { in moveEffectChain_l()
2664 srcThread->removeEffectChain_l(chain); in moveEffectChain_l()
2670 sp<EffectModule> effect = chain->getEffectFromId_l(0); in moveEffectChain_l()
2688 dstChain = effect->chain().promote(); in moveEffectChain_l()
2705 effect = chain->getEffectFromId_l(0); in moveEffectChain_l()
2758 status_t AudioFlinger::putOrphanEffectChain_l(const sp<AudioFlinger::EffectChain>& chain) in putOrphanEffectChain_l() argument
2760 audio_session_t session = (audio_session_t)chain->sessionId(); in putOrphanEffectChain_l()
2767 mOrphanEffectChains.add(session, chain); in putOrphanEffectChain_l()
2773 sp<EffectChain> chain; in getOrphanEffectChain_l() local
2777 chain = mOrphanEffectChains.valueAt(index); in getOrphanEffectChain_l()
2780 return chain; in getOrphanEffectChain_l()
2790 sp<EffectChain> chain = mOrphanEffectChains.valueAt(index); in updateOrphanEffectChains() local
2791 if (chain->removeEffect_l(effect) == 0) { in updateOrphanEffectChains()