Home
last modified time | relevance | path

Searched refs:mEffects (Results 1 – 14 of 14) sorted by relevance

/frameworks/wilhelm/src/itf/
DIAndroidEffect.cpp111 thiz->mEffects = in IAndroidEffect_init()
118 if (NULL != thiz->mEffects) { in IAndroidEffect_deinit()
119 if (!thiz->mEffects->isEmpty()) { in IAndroidEffect_deinit()
120 thiz->mEffects->clear(); in IAndroidEffect_deinit()
122 delete thiz->mEffects; in IAndroidEffect_deinit()
123 thiz->mEffects = NULL; in IAndroidEffect_deinit()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyEffects.cpp72 mInputSessions.valueAt(i)->mEffects.clear(); in ~AudioPolicyEffects()
84 mOutputSessions.valueAt(i)->mEffects.clear(); in ~AudioPolicyEffects()
121 Vector <EffectDesc *> effects = mInputSources.valueAt(index)->mEffects; in addInputEffects()
138 sessionDesc->mEffects.add(fx); in addInputEffects()
186 Vector< sp<AudioEffect> > effects = mInputSessions.valueAt(index)->mEffects; in queryDefaultInputEffects()
219 Vector< sp<AudioEffect> > effects = mOutputSessions.valueAt(index)->mEffects; in queryDefaultOutputSessionEffects()
270 Vector <EffectDesc *> effects = mOutputStreams.valueAt(index)->mEffects; in addOutputSessionEffects()
284 procDesc->mEffects.add(fx); in addOutputSessionEffects()
314 procDesc->mEffects.clear(); in releaseOutputSessionEffects()
382 desc->mEffects.add(effect); in addSourceDefaultEffect()
[all …]
DAudioPolicyEffects.h177 for (size_t j = 0; j < mEffects.size(); j++) { in ~EffectDescVector()
178 delete mEffects[j]; in ~EffectDescVector() local
181 Vector <EffectDesc *> mEffects; variable
196 Vector< sp<AudioEffect> >mEffects; variable
210 std::vector<std::unique_ptr<AudioEffect>> mEffects; variable
DAudioPolicyService.cpp1345 &data->mDeviceConfig, data->mEffects, in threadLoop()
1649 data->mEffects = effects; in recordingConfigurationUpdateCommand()
DAudioPolicyService.h616 std::vector<effect_descriptor_t> mEffects; variable
/frameworks/av/services/audioflinger/
DEffects.cpp1968 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()
[all …]
DEffects.h605 Vector< sp<EffectModule> > mEffects; // list of effect modules variable
DAudioFlinger.cpp3127 while (ec->mEffects.size()) { in purgeStaleEffects_l()
3128 sp<EffectModule> effect = ec->mEffects[0]; in purgeStaleEffects_l()
/frameworks/wilhelm/src/android/
Dandroid_Effect.cpp559 ssize_t index = outputMix->mAndroidEffect.mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); in android_fxSend_attachToAux()
567 outputMix->mAndroidEffect.mEffects->valueAt(index); in android_fxSend_attachToAux()
803 if (0 <= iae->mEffects->indexOfKey(KEY_FROM_GUID(pUuid))) { in android_genericFx_createEffect()
825 iae->mEffects->add(KEY_FROM_GUID(pUuid), pFx); in android_genericFx_createEffect()
835 ssize_t index = iae->mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); in android_genericFx_releaseEffect()
840 iae->mEffects->removeItem(index); in android_genericFx_releaseEffect()
849 ssize_t index = iae->mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); in android_genericFx_setEnabled()
854 android::sp<android::AudioEffect> pFx = iae->mEffects->valueAt(index); in android_genericFx_setEnabled()
864 ssize_t index = iae->mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); in android_genericFx_isEnabled()
869 android::sp<android::AudioEffect> pFx = iae->mEffects->valueAt(index); in android_genericFx_isEnabled()
[all …]
/frameworks/base/services/core/java/com/android/server/audio/
DSoundEffectsHelper.java96 private final int[] mEffects = new int[AudioManager.NUM_SOUND_EFFECTS]; // indexes in mResources field in SoundEffectsHelper
249 Resource res = mResources.get(mEffects[effect]); in onPlaySoundEffect()
317 for (int i = 0; i < mEffects.length; i++) { in loadTouchSoundAssetDefaults()
318 mEffects[i] = defaultResourceIdx; in loadTouchSoundAssetDefaults()
373 mEffects[fx] = findOrAddResourceByFileName(file); in loadTouchSoundAssets()
/frameworks/base/core/java/android/os/
DVibrationEffect.java1044 private ArrayList<PrimitiveEffect> mEffects = new ArrayList<>(); field in VibrationEffect.Composition
1093 mEffects.add(new PrimitiveEffect(checkPrimitive(primitiveId), scale, delay)); in addPrimitive()
1108 if (mEffects.isEmpty()) { in compose()
1112 return new VibrationEffect.Composed(mEffects); in compose()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h582 return mEffects.getMaxEffectsCpuLoad(); in getMaxEffectsCpuLoad()
587 return mEffects.getMaxEffectsMemory(); in getMaxEffectsMemory()
744 EffectDescriptorCollection mEffects; // list of registered audio effects variable
DAudioPolicyManager.cpp1147 !(mEffects.isNonOffloadableEffectEnabled() || mMasterMono)) { in openDirectOutput()
2765 mEffects.moveEffects(AUDIO_SESSION_OUTPUT_MIX, mMusicEffectOutput, output); in selectOutputForMusicEffects()
2795 return mEffects.registerEffect(desc, io, session, id, in registerEffect()
2802 if (mEffects.getEffect(id) == nullptr) { in unregisterEffect()
2805 if (mEffects.isEffectEnabled(id)) { in unregisterEffect()
2809 return mEffects.unregisterEffect(id); in unregisterEffect()
2814 sp<EffectDescriptor> effect = mEffects.getEffect(id); in setEffectEnabled()
2819 status_t status = mEffects.setEffectEnabled(id, enabled); in setEffectEnabled()
2829 mEffects.moveEffects(ids, io); in moveEffectsToIo()
3268 mEffects.dump(dst); in dump()
[all …]
/frameworks/wilhelm/src/
Ditfstruct.h645 android::KeyedVector<SLuint32, android::sp<android::AudioEffect> > *mEffects; member