Home
last modified time | relevance | path

Searched refs:IAfEffectModule (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/services/audioflinger/
DIAfEffect.h40 class IAfEffectModule; variable
125 virtual sp<IAfEffectModule> asEffectModule() = 0;
150 class IAfEffectModule : public virtual IAfEffectBase {
155 static sp<IAfEffectModule> create(
240 virtual status_t createEffect(sp<IAfEffectModule>& effect, effect_descriptor_t* desc, int id,
244 virtual status_t addEffect(const sp<IAfEffectModule>& handle)
246 virtual status_t addEffect_l(const sp<IAfEffectModule>& handle)
248 virtual size_t removeEffect(const sp<IAfEffectModule>& handle,
254 virtual sp<IAfEffectModule> getEffectFromDesc(effect_descriptor_t* descriptor) const
256 virtual sp<IAfEffectModule> getEffectFromId_l(int id) const
[all …]
DEffects.h124 sp<IAfEffectModule> asEffectModule() override { return nullptr; } in asEffectModule()
180 class EffectModule : public IAfEffectModule, public EffectBase {
234 sp<IAfEffectModule> asEffectModule() final { return this; } in asEffectModule()
436 status_t createEffect(sp<IAfEffectModule>& effect, effect_descriptor_t* desc, int id,
439 status_t addEffect(const sp<IAfEffectModule>& handle) final
441 status_t addEffect_l(const sp<IAfEffectModule>& handle) final
443 size_t removeEffect(const sp<IAfEffectModule>& handle, bool release = false) final
449 sp<IAfEffectModule> getEffectFromDesc(effect_descriptor_t* descriptor) const final
451 sp<IAfEffectModule> getEffectFromId_l(int id) const final
453 sp<IAfEffectModule> getEffectFromType_l(const effect_uuid_t* type) const final
[all …]
DEffects.cpp1539 bool IAfEffectModule::isHapticGenerator(const effect_uuid_t *type) { in isHapticGenerator()
1544 return IAfEffectModule::isHapticGenerator(&mDescriptor.type); in isHapticGenerator()
1548 bool IAfEffectModule::isSpatializer(const effect_uuid_t *type) { in isSpatializer()
1553 return IAfEffectModule::isSpatializer(&mDescriptor.type); in isSpatializer()
1963 sp<IAfEffectModule> effectModule = effect->asEffectModule(); in getConfig()
2198 sp<IAfEffectModule> EffectChain::getEffectFromDesc( in getEffectFromDesc()
2213 sp<IAfEffectModule> EffectChain::getEffectFromId_l(int id) const in getEffectFromId_l()
2228 sp<IAfEffectModule> EffectChain::getEffectFromType_l( in getEffectFromType_l()
2325 status_t EffectChain::createEffect(sp<IAfEffectModule>& effect, in createEffect()
2343 status_t EffectChain::addEffect(const sp<IAfEffectModule>& effect) in addEffect()
[all …]
DIAfThread.h50 class IAfEffectModule; variable
95 virtual bool updateOrphanEffectChains(const sp<IAfEffectModule>& effect)
296 virtual sp<IAfEffectModule> getEffect(audio_session_t sessionId, int effectId) const
298 virtual sp<IAfEffectModule> getEffect_l(audio_session_t sessionId, int effectId) const
303 virtual status_t addEffect_ll(const sp<IAfEffectModule>& effect)
307 virtual void removeEffect_l(const sp<IAfEffectModule>& effect, bool release = false)
369 virtual void onEffectEnable(const sp<IAfEffectModule>& effect) EXCLUDES_ThreadBase_Mutex = 0;
DAudioFlinger.cpp2125 std::vector<sp<IAfEffectModule>> removedEffects; in removeNotificationClient()
2151 std::vector< sp<IAfEffectModule> > removedOrphanEffects = purgeOrphanEffectChains_l(); in removeNotificationClient()
3520 std::vector<sp<IAfEffectModule>> removedEffects; in releaseAudioSessionId()
3538 std::vector<sp<IAfEffectModule>> effects = purgeStaleEffects_l(); in releaseAudioSessionId()
3568 std::vector<sp<IAfEffectModule>> AudioFlinger::purgeStaleEffects_l() { in purgeStaleEffects_l()
3573 std::vector< sp<IAfEffectModule> > removedEffects; in purgeStaleEffects_l()
3630 sp<IAfEffectModule> effect = ec->getEffectModule(0); in purgeStaleEffects_l()
3643 std::vector< sp<IAfEffectModule> > AudioFlinger::purgeOrphanEffectChains_l() in purgeOrphanEffectChains_l()
3646 std::vector< sp<IAfEffectModule> > removedEffects; in purgeOrphanEffectChains_l()
3667 sp<IAfEffectModule> effect = chain->getEffectModule(i); in purgeOrphanEffectChains_l()
[all …]
DAudioFlinger.h379 bool updateOrphanEffectChains(const sp<IAfEffectModule>& effect) final
608 std::vector< sp<IAfEffectModule> > purgeStaleEffects_l() REQUIRES(mutex());
610 std::vector< sp<IAfEffectModule> > purgeOrphanEffectChains_l() REQUIRES(mutex());
611 bool updateOrphanEffectChains_l(const sp<IAfEffectModule>& effect) REQUIRES(mutex());
DThreads.h451 sp<IAfEffectModule> getEffect(audio_session_t sessionId, int effectId) const final;
452 sp<IAfEffectModule> getEffect_l(audio_session_t sessionId, int effectId) const final
457 status_t addEffect_ll(const sp<IAfEffectModule>& effect) final
461 void removeEffect_l(const sp<IAfEffectModule>& effect, bool release = false) final
545 void onEffectEnable(const sp<IAfEffectModule>& effect) final EXCLUDES_ThreadBase_Mutex;
DThreads.cpp1466 if (IAfEffectModule::isHapticGenerator(&desc->type)) { in checkEffectCompatibility_l()
1489 if (IAfEffectModule::isHapticGenerator(&desc->type) && mHapticChannelCount == 0) { in checkEffectCompatibility_l()
1495 if (IAfEffectModule::isSpatializer(&desc->type) in checkEffectCompatibility_l()
1583 if (IAfEffectModule::isSpatializer(&desc->type) in checkEffectCompatibility_l()
1641 sp<IAfEffectModule> effect; in createEffect_l()
1739 sp<IAfEffectModule> effect; in disconnectEffectHandle()
1765 void ThreadBase::onEffectEnable(const sp<IAfEffectModule>& effect) { in onEffectEnable()
1788 sp<IAfEffectModule> ThreadBase::getEffect(audio_session_t sessionId, in getEffect()
1795 sp<IAfEffectModule> ThreadBase::getEffect_l(audio_session_t sessionId, in getEffect_l()
1810 status_t ThreadBase::addEffect_ll(const sp<IAfEffectModule>& effect) in addEffect_ll()
[all …]