Home
last modified time | relevance | path

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

/frameworks/av/media/libaudiohal/impl/
DEffectHalHidl.cpp44 : mEffect(effect), mEffectId(effectId), mBuffersChanged(true), mEfGroup(nullptr) { in EffectHalHidl()
48 if (mEffect != 0) { in ~EffectHalHidl()
50 mEffect.clear(); in ~EffectHalHidl()
159 Return<void> ret = mEffect->prepareForProcessing( in prepareForProcessing()
191 if (mEffect == 0 || mInBuffer == 0 || mOutBuffer == 0) return NO_INIT; in processImpl()
223 Return<Result> ret = mEffect->setProcessBuffers( in setProcessBuffers()
235 if (mEffect == 0) return NO_INIT; in command()
252 Return<void> ret = mEffect->command(cmdCode, hidlData, *replySize, in command()
266 if (mEffect == 0) return NO_INIT; in getDescriptor()
268 Return<void> ret = mEffect->getDescriptor( in getDescriptor()
[all …]
DEffectHalHidl.h75 sp<IEffect> mEffect; variable
/frameworks/native/cmds/idlcli/vibrator/
DCommandPerform.cpp71 if (auto effect = args.pop<decltype(mEffect)>()) { in doArgs()
72 mEffect = *effect; in doArgs()
73 std::cout << "Effect: " << toString(mEffect) << std::endl; in doArgs()
100 hal->call(&aidl::IVibrator::perform, static_cast<aidl::Effect>(mEffect), in doMain()
115 static_cast<V1_3::Effect>(mEffect), mStrength, callback); in doMain()
118 static_cast<V1_2::Effect>(mEffect), mStrength, callback); in doMain()
121 static_cast<V1_1::Effect_1_1>(mEffect), mStrength, callback); in doMain()
123 hidlRet = hal->call(&V1_0::IVibrator::perform, static_cast<V1_0::Effect>(mEffect), in doMain()
139 Effect mEffect; member in android::idlcli::vibrator::CommandPerform
/frameworks/av/media/libaudioclient/include/media/
DAudioEffect.h577 EffectClient(AudioEffect *effect) : mEffect(effect){} in EffectClient()
581 sp<AudioEffect> effect = mEffect.promote(); in controlStatusChanged()
592 sp<AudioEffect> effect = mEffect.promote(); in enableStatusChanged()
607 sp<AudioEffect> effect = mEffect.promote(); in commandExecuted()
621 sp<AudioEffect> effect = mEffect.promote(); in binderDied()
633 wp<AudioEffect> mEffect;
/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 …]
/frameworks/av/services/audioflinger/
DEffects.h360 wp<EffectBase> effect() const { return mEffect; } in effect()
362 sp<EffectBase> effect = mEffect.promote(); in id()
379 wp<EffectBase> mEffect; // pointer to controlled EffectModule variable
570 wp<EffectModule> mEffect; variable
DEffects.cpp1603 mEffect(effect), mEffectClient(effectClient), mClient(client), mCblk(NULL), in EffectHandle()
1639 sp<EffectBase> effect = mEffect.promote(); in enable()
1677 sp<EffectBase> effect = mEffect.promote(); in disable()
1718 sp<EffectBase> effect = mEffect.promote(); in disconnect()
1747 cmdCode, mHasControl, mEffect.unsafe_get()); in command()
1786 sp<EffectBase> effect = mEffect.promote(); in command()
2446 desc->mEffect = effect; in setEffectSuspended_l()
2463 if (desc->mEffect != 0) { in setEffectSuspended_l()
2464 sp<EffectModule> effect = desc->mEffect.promote(); in setEffectSuspended_l()
2474 desc->mEffect.clear(); in setEffectSuspended_l()
[all …]
/frameworks/base/services/core/java/com/android/server/
DVibratorService.java300 private final VibrationEffect mEffect; field in VibratorService.VibrationInfo
311 mEffect = effect; in VibrationInfo()
325 .append(mEffect) in toString()