Home | History | Annotate | Download | only in audioflinger

Lines Matching refs:mEffect

5232                         handle->mEffect.clear();
6756 mEffect(effect), mEffectClient(effectClient), mClient(client), mCblk(NULL),
6790 if (mEffect == 0) return DEAD_OBJECT;
6798 sp<ThreadBase> thread = mEffect->thread().promote();
6800 thread->checkSuspendOnEffectEnabled(mEffect, true, mEffect->sessionId());
6804 if (mEffect->suspended()) {
6808 status_t status = mEffect->setEnabled(true);
6811 thread->checkSuspendOnEffectEnabled(mEffect, false, mEffect->sessionId());
6822 if (mEffect == 0) return DEAD_OBJECT;
6829 if (mEffect->suspended()) {
6833 status_t status = mEffect->setEnabled(false);
6835 sp<ThreadBase> thread = mEffect->thread().promote();
6837 thread->checkSuspendOnEffectEnabled(mEffect, false, mEffect->sessionId());
6851 if (mEffect == 0) {
6854 mEffect->disconnect(this, unpiniflast);
6857 sp<ThreadBase> thread = mEffect->thread().promote();
6859 thread->checkSuspendOnEffectEnabled(mEffect, false, mEffect->sessionId());
6864 mEffect.clear();
6881 // LOGV("command(), cmdCode: %d, mHasControl: %d, mEffect: %p",
6882 // cmdCode, mHasControl, (mEffect == 0) ? 0 : mEffect.get());
6888 if (mEffect == 0) return DEAD_OBJECT;
6921 status_t ret = mEffect->command(EFFECT_CMD_SET_PARAM,
6948 return mEffect->command(cmdCode, cmdSize, pCmdData, replySize, pReplyData);
7396 desc->mEffect = effect;
7412 if (desc->mEffect != 0) {
7413 sp<EffectModule> effect = desc->mEffect.promote();
7421 desc->mEffect.clear();
7542 if (desc->mEffect == 0) {
7543 desc->mEffect = effect;
7554 desc->mEffect.clear();