/frameworks/base/core/java/android/os/ |
D | CombinedVibration.java | 140 private final SparseArray<VibrationEffect> mEffects = new SparseArray<>(); field in CombinedVibration.ParallelCombination 156 mEffects.put(vibratorId, effect); in addVibrator() 172 if (mEffects.size() == 0) { in combine() 176 CombinedVibration combined = new Stereo(mEffects); in combine() 191 private final ArrayList<CombinedVibration> mEffects = new ArrayList<>(); field in CombinedVibration.SequentialCombination 269 mEffects.addAll(sequentialEffect.getEffects()); in addNext() 273 mEffects.add(effect); in addNext() 291 if (mEffects.size() == 0) { in combine() 295 CombinedVibration combined = new Sequential(mEffects, mDelays); in combine() 405 private final SparseArray<VibrationEffect> mEffects; field in CombinedVibration.Stereo [all …]
|
/frameworks/wilhelm/src/itf/ |
D | IAndroidEffect.cpp | 111 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/ |
D | AudioPolicyEffects.cpp | 74 mInputSessions.valueAt(i)->mEffects.clear(); in ~AudioPolicyEffects() 86 mOutputSessions.valueAt(i)->mEffects.clear(); in ~AudioPolicyEffects() 123 Vector <EffectDesc *> effects = mInputSources.valueAt(index)->mEffects; in addInputEffects() 143 sessionDesc->mEffects.add(fx); in addInputEffects() 191 Vector< sp<AudioEffect> > effects = mInputSessions.valueAt(index)->mEffects; in queryDefaultInputEffects() 224 Vector< sp<AudioEffect> > effects = mOutputSessions.valueAt(index)->mEffects; in queryDefaultOutputSessionEffects() 275 Vector <EffectDesc *> effects = mOutputStreams.valueAt(index)->mEffects; in addOutputSessionEffects() 292 procDesc->mEffects.add(fx); in addOutputSessionEffects() 322 procDesc->mEffects.clear(); in releaseOutputSessionEffects() 391 desc->mEffects.add(effect); in addSourceDefaultEffect() [all …]
|
D | AudioPolicyEffects.h | 177 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< sp<AudioEffect> > mEffects; variable
|
D | AudioPolicyService.cpp | 2128 &data->mDeviceConfig, data->mEffects, in threadLoop() 2491 data->mEffects = effects; in recordingConfigurationUpdateCommand()
|
D | AudioPolicyService.h | 682 std::vector<effect_descriptor_t> mEffects; variable
|
/frameworks/av/services/audioflinger/ |
D | Effects.cpp | 2133 size_t size = mEffects.size(); in getEffectFromDesc_l() 2136 if (memcmp(&mEffects[i]->desc().uuid, &descriptor->uuid, sizeof(effect_uuid_t)) == 0) { in getEffectFromDesc_l() 2137 return mEffects[i]; in getEffectFromDesc_l() 2146 size_t size = mEffects.size(); in getEffectFromId_l() 2150 if (id == 0 || mEffects[i]->id() == id) { in getEffectFromId_l() 2151 return mEffects[i]; in getEffectFromId_l() 2161 size_t size = mEffects.size(); in getEffectFromType_l() 2164 if (memcmp(&mEffects[i]->desc().type, type, sizeof(effect_uuid_t)) == 0) { in getEffectFromType_l() 2165 return mEffects[i]; in getEffectFromType_l() 2175 for (size_t i = 0; i < mEffects.size(); i++) { in getEffectIds() [all …]
|
D | Effects.h | 549 bool isFirstEffect(int id) const { return !mEffects.isEmpty() && id == mEffects[0]->id(); } in isFirstEffect() 670 Vector< sp<EffectModule> > mEffects; // list of effect modules variable
|
D | AudioFlinger.cpp | 3510 while (ec->mEffects.size()) { in purgeStaleEffects_l() 3511 sp<EffectModule> effect = ec->mEffects[0]; in purgeStaleEffects_l()
|
/frameworks/wilhelm/src/android/ |
D | android_Effect.cpp | 561 ssize_t index = outputMix->mAndroidEffect.mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); in android_fxSend_attachToAux() 569 outputMix->mAndroidEffect.mEffects->valueAt(index); in android_fxSend_attachToAux() 813 if (0 <= iae->mEffects->indexOfKey(KEY_FROM_GUID(pUuid))) { in android_genericFx_createEffect() 841 iae->mEffects->add(KEY_FROM_GUID(pUuid), pFx); in android_genericFx_createEffect() 851 ssize_t index = iae->mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); in android_genericFx_releaseEffect() 856 iae->mEffects->removeItem(index); in android_genericFx_releaseEffect() 865 ssize_t index = iae->mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); in android_genericFx_setEnabled() 870 android::sp<android::AudioEffect> pFx = iae->mEffects->valueAt(index); in android_genericFx_setEnabled() 880 ssize_t index = iae->mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); in android_genericFx_isEnabled() 885 android::sp<android::AudioEffect> pFx = iae->mEffects->valueAt(index); in android_genericFx_isEnabled() [all …]
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | SoundEffectsHelper.java | 109 private final int[] mEffects = new int[AudioManager.NUM_SOUND_EFFECTS]; // indexes in mResources field in SoundEffectsHelper 267 Resource res = mResources.get(mEffects[effect]); in onPlaySoundEffect() 335 Arrays.fill(mEffects, defaultResourceIdx); in loadSoundAssetDefaults() 392 mEffects[fx] = findOrAddResourceByFileName(file); in loadSoundAssets()
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.h | 725 return mEffects.getMaxEffectsCpuLoad(); in getMaxEffectsCpuLoad() 730 return mEffects.getMaxEffectsMemory(); in getMaxEffectsMemory() 934 EffectDescriptorCollection mEffects; // list of registered audio effects variable
|
D | AudioPolicyManager.cpp | 1392 !(mEffects.isNonOffloadableEffectEnabled() || mMasterMono)) { in openDirectOutput() 1845 audio_io_handle_t hapticGeneratingOutput = mEffects.getIoForSession( in selectOutput() 3260 mEffects.moveEffects(AUDIO_SESSION_OUTPUT_MIX, mMusicEffectOutput, output); in selectOutputForMusicEffects() 3293 return mEffects.registerEffect(desc, io, session, id, isMusicEffect); in registerEffect() 3298 if (mEffects.getEffect(id) == nullptr) { in unregisterEffect() 3301 if (mEffects.isEffectEnabled(id)) { in unregisterEffect() 3305 return mEffects.unregisterEffect(id); in unregisterEffect() 3310 sp<EffectDescriptor> effect = mEffects.getEffect(id); in setEffectEnabled() 3315 status_t status = mEffects.setEffectEnabled(id, enabled); in setEffectEnabled() 3325 mEffects.moveEffects(ids, io); in moveEffectsToIo() [all …]
|
/frameworks/wilhelm/src/ |
D | itfstruct.h | 645 android::KeyedVector<SLuint32, android::sp<android::AudioEffect> > *mEffects; member
|