Lines Matching refs:mEffects

1963     size_t size = mEffects.size();  in getEffectFromDesc_l()
1966 if (memcmp(&mEffects[i]->desc().uuid, &descriptor->uuid, sizeof(effect_uuid_t)) == 0) { in getEffectFromDesc_l()
1967 return mEffects[i]; in getEffectFromDesc_l()
1976 size_t size = mEffects.size(); in getEffectFromId_l()
1980 if (id == 0 || mEffects[i]->id() == id) { in getEffectFromId_l()
1981 return mEffects[i]; in getEffectFromId_l()
1991 size_t size = mEffects.size(); in getEffectFromType_l()
1994 if (memcmp(&mEffects[i]->desc().type, type, sizeof(effect_uuid_t)) == 0) { in getEffectFromType_l()
1995 return mEffects[i]; in getEffectFromType_l()
2005 for (size_t i = 0; i < mEffects.size(); i++) { in getEffectIds()
2006 ids.push_back(mEffects[i]->id()); in getEffectIds()
2056 size_t size = mEffects.size(); in process_l()
2066 mEffects[i]->process(); in process_l()
2075 doResetVolume = mEffects[i]->updateState() || doResetVolume; in process_l()
2118 mEffects.insertAt(effect, 0); in addEffect_ll()
2152 size_t size = mEffects.size(); in addEffect_ll()
2158 effect_descriptor_t d = mEffects[i]->desc(); in addEffect_ll()
2208 mEffects[idx_insert-1]->setOutBuffer(mInBuffer); in addEffect_ll()
2209 mEffects[idx_insert-1]->configure(); in addEffect_ll()
2215 mEffects.insertAt(effect, idx_insert); in addEffect_ll()
2230 size_t size = mEffects.size(); in removeEffect_l()
2234 if (effect == mEffects[i]) { in removeEffect_l()
2238 if (mEffects[i]->state() == EffectModule::ACTIVE || in removeEffect_l()
2239 mEffects[i]->state() == EffectModule::STOPPING) { in removeEffect_l()
2240 mEffects[i]->stop(); in removeEffect_l()
2243 mEffects[i]->release_l(); in removeEffect_l()
2248 mEffects[i - 1]->setOutBuffer(mOutBuffer); in removeEffect_l()
2249 mEffects[i - 1]->configure(); in removeEffect_l()
2252 mEffects.removeAt(i); in removeEffect_l()
2260 return mEffects.size(); in removeEffect_l()
2266 size_t size = mEffects.size(); in setDevices_l()
2268 mEffects[i]->setDevices(devices); in setDevices_l()
2275 size_t size = mEffects.size(); in setInputDevice_l()
2277 mEffects[i]->setInputDevice(device); in setInputDevice_l()
2284 size_t size = mEffects.size(); in setMode_l()
2286 mEffects[i]->setMode(mode); in setMode_l()
2293 size_t size = mEffects.size(); in setAudioSource_l()
2295 mEffects[i]->setAudioSource(source); in setAudioSource_l()
2306 size_t size = mEffects.size(); in setVolume_l()
2310 if (mEffects[i - 1]->isVolumeControlEnabled()) { in setVolume_l()
2332 mEffects[ctrlIdx]->setVolume(&newLeft, &newRight, true); in setVolume_l()
2352 if (mEffects[i]->isVolumeMonitor()) { in setVolume_l()
2353 mEffects[i]->setVolume(left, right, false); in setVolume_l()
2355 mEffects[i]->setVolume(&lVol, &rVol, false); in setVolume_l()
2379 for (size_t i = 0; i < mEffects.size(); i++) { in syncHalEffectsState()
2380 if (mEffects[i]->state() == EffectModule::ACTIVE || in syncHalEffectsState()
2381 mEffects[i]->state() == EffectModule::STOPPING) { in syncHalEffectsState()
2382 mEffects[i]->addEffectToHal_l(); in syncHalEffectsState()
2391 const size_t numEffects = mEffects.size(); in dump()
2411 sp<EffectModule> effect = mEffects[i]; in dump()
2565 for (size_t i = 0; i < mEffects.size(); i++) { in getSuspendEligibleEffects()
2566 if (isEffectEligibleForSuspend(mEffects[i]->desc())) { in getSuspendEligibleEffects()
2567 effects.add(mEffects[i]); in getSuspendEligibleEffects()
2629 size_t size = mEffects.size(); in isNonOffloadableEnabled_l()
2631 if (mEffects[i]->isEnabled() && !mEffects[i]->isOffloadable()) { in isNonOffloadableEnabled_l()
2667 for (const auto &effect : mEffects) { in isRawCompatible()
2679 for (const auto &effect : mEffects) { in isFastCompatible()
2693 for (size_t i = 0; i < mEffects.size(); i++) { in isCompatibleWithThread_l()
2694 if (thread->checkEffectCompatibility_l(&(mEffects[i]->desc()), mSessionId) != NO_ERROR) { in isCompatibleWithThread_l()