Lines Matching refs:mEffects
1968 size_t size = mEffects.size(); in getEffectFromDesc_l()
1971 if (memcmp(&mEffects[i]->desc().uuid, &descriptor->uuid, sizeof(effect_uuid_t)) == 0) { in getEffectFromDesc_l()
1972 return mEffects[i]; in getEffectFromDesc_l()
1981 size_t size = mEffects.size(); in getEffectFromId_l()
1985 if (id == 0 || mEffects[i]->id() == id) { in getEffectFromId_l()
1986 return mEffects[i]; in getEffectFromId_l()
1996 size_t size = mEffects.size(); in getEffectFromType_l()
1999 if (memcmp(&mEffects[i]->desc().type, type, sizeof(effect_uuid_t)) == 0) { in getEffectFromType_l()
2000 return mEffects[i]; in getEffectFromType_l()
2010 for (size_t i = 0; i < mEffects.size(); i++) { in getEffectIds()
2011 ids.push_back(mEffects[i]->id()); in getEffectIds()
2061 size_t size = mEffects.size(); in process_l()
2071 mEffects[i]->process(); in process_l()
2080 doResetVolume = mEffects[i]->updateState() || doResetVolume; in process_l()
2123 mEffects.insertAt(effect, 0); in addEffect_ll()
2157 size_t size = mEffects.size(); in addEffect_ll()
2163 effect_descriptor_t d = mEffects[i]->desc(); in addEffect_ll()
2213 mEffects[idx_insert-1]->setOutBuffer(mInBuffer); in addEffect_ll()
2214 mEffects[idx_insert-1]->configure(); in addEffect_ll()
2220 mEffects.insertAt(effect, idx_insert); in addEffect_ll()
2235 size_t size = mEffects.size(); in removeEffect_l()
2239 if (effect == mEffects[i]) { in removeEffect_l()
2243 if (mEffects[i]->state() == EffectModule::ACTIVE || in removeEffect_l()
2244 mEffects[i]->state() == EffectModule::STOPPING) { in removeEffect_l()
2245 mEffects[i]->stop(); in removeEffect_l()
2248 mEffects[i]->release_l(); in removeEffect_l()
2253 mEffects[i - 1]->setOutBuffer(mOutBuffer); in removeEffect_l()
2254 mEffects[i - 1]->configure(); in removeEffect_l()
2257 mEffects.removeAt(i); in removeEffect_l()
2265 return mEffects.size(); in removeEffect_l()
2271 size_t size = mEffects.size(); in setDevices_l()
2273 mEffects[i]->setDevices(devices); in setDevices_l()
2280 size_t size = mEffects.size(); in setInputDevice_l()
2282 mEffects[i]->setInputDevice(device); in setInputDevice_l()
2289 size_t size = mEffects.size(); in setMode_l()
2291 mEffects[i]->setMode(mode); in setMode_l()
2298 size_t size = mEffects.size(); in setAudioSource_l()
2300 mEffects[i]->setAudioSource(source); in setAudioSource_l()
2305 for (const auto &effect : mEffects) { in hasVolumeControlEnabled_l()
2318 size_t size = mEffects.size(); in setVolume_l()
2322 if (mEffects[i - 1]->isVolumeControlEnabled()) { in setVolume_l()
2344 mEffects[ctrlIdx]->setVolume(&newLeft, &newRight, true); in setVolume_l()
2364 if (mEffects[i]->isVolumeMonitor()) { in setVolume_l()
2365 mEffects[i]->setVolume(left, right, false); in setVolume_l()
2367 mEffects[i]->setVolume(&lVol, &rVol, false); in setVolume_l()
2391 for (size_t i = 0; i < mEffects.size(); i++) { in syncHalEffectsState()
2392 if (mEffects[i]->state() == EffectModule::ACTIVE || in syncHalEffectsState()
2393 mEffects[i]->state() == EffectModule::STOPPING) { in syncHalEffectsState()
2394 mEffects[i]->addEffectToHal_l(); in syncHalEffectsState()
2403 const size_t numEffects = mEffects.size(); in dump()
2423 sp<EffectModule> effect = mEffects[i]; in dump()
2577 for (size_t i = 0; i < mEffects.size(); i++) { in getSuspendEligibleEffects()
2578 if (isEffectEligibleForSuspend(mEffects[i]->desc())) { in getSuspendEligibleEffects()
2579 effects.add(mEffects[i]); in getSuspendEligibleEffects()
2641 size_t size = mEffects.size(); in isNonOffloadableEnabled_l()
2643 if (mEffects[i]->isEnabled() && !mEffects[i]->isOffloadable()) { in isNonOffloadableEnabled_l()
2679 for (const auto &effect : mEffects) { in isRawCompatible()
2691 for (const auto &effect : mEffects) { in isFastCompatible()
2705 for (size_t i = 0; i < mEffects.size(); i++) { in isCompatibleWithThread_l()
2706 if (thread->checkEffectCompatibility_l(&(mEffects[i]->desc()), mSessionId) != NO_ERROR) { in isCompatibleWithThread_l()