Home
last modified time | relevance | path

Searched refs:mEffect (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/include/media/
DAudioEffect.h427 EffectClient(AudioEffect *effect) : mEffect(effect){} in EffectClient()
431 mEffect->controlStatusChanged(controlGranted); in controlStatusChanged()
434 mEffect->enableStatusChanged(enabled); in enableStatusChanged()
441 mEffect->commandExecuted(cmdCode, cmdSize, pCmdData, replySize, pReplyData); in commandExecuted()
445 virtual void binderDied(const wp<IBinder>& who) {mEffect->binderDied();} in binderDied()
448 AudioEffect *mEffect;
/frameworks/av/services/audioflinger/
DEffects.cpp1034 mEffect(effect), mEffectClient(effectClient), mClient(client), mCblk(NULL), in EffectHandle()
1059 if (mEffect == 0) { in ~EffectHandle()
1063 mEffect->lock(); in ~EffectHandle()
1065 mEffect->unlock(); in ~EffectHandle()
1080 if (mEffect == 0) { in enable()
1090 sp<ThreadBase> thread = mEffect->thread().promote(); in enable()
1092 thread->checkSuspendOnEffectEnabled(mEffect, true, mEffect->sessionId()); in enable()
1096 if (mEffect->suspended()) { in enable()
1100 status_t status = mEffect->setEnabled(true); in enable()
1103 thread->checkSuspendOnEffectEnabled(mEffect, false, mEffect->sessionId()); in enable()
[all …]
DEffects.h207 int id() const { return mEffect->id(); } in id()
210 sp<EffectModule> effect() const { return mEffect; } in effect()
221 sp<EffectModule> mEffect; // pointer to controlled EffectModule variable
344 wp<EffectModule> mEffect; variable
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaAudioEffectTest.java50 private AudioEffect mEffect = null; field in MediaAudioEffectTest
1153 mEffect = null; in test5_2ControlStatusListener()
1202 mEffect = null; in test5_3EnableStatusListener()
1214 mEffect.setEnabled(true); in test5_3EnableStatusListener()
1254 mEffect = null; in test5_4ParameterChangedListener()
1427 mEffect = new AudioEffect(AudioEffect.EFFECT_TYPE_EQUALIZER, in createListenerLooper()
1431 assertNotNull("could not create AudioEffect", mEffect); in createListenerLooper()
1434mEffect.setControlStatusListener(new AudioEffect.OnControlStatusChangeListener() { in createListenerLooper()
1437 if (effect == mEffect) { in createListenerLooper()
1446 mEffect.setEnableStatusListener(new AudioEffect.OnEnableStatusChangeListener() { in createListenerLooper()
[all …]