/frameworks/base/core/java/android/os/ |
D | CombinedVibration.java | 191 private final SparseArray<VibrationEffect> mEffects = new SparseArray<>(); field in CombinedVibration.ParallelCombination 207 mEffects.put(vibratorId, effect); in addVibrator() 223 if (mEffects.size() == 0) { in combine() 227 CombinedVibration combined = new Stereo(mEffects); in combine() 242 private final ArrayList<CombinedVibration> mEffects = new ArrayList<>(); field in CombinedVibration.SequentialCombination 320 mEffects.addAll(sequentialEffect.getEffects()); in addNext() 324 mEffects.add(effect); in addNext() 342 if (mEffects.size() == 0) { in combine() 346 CombinedVibration combined = new Sequential(mEffects, mDelays); in combine() 495 private final SparseArray<VibrationEffect> mEffects; field in CombinedVibration.Stereo [all …]
|
/frameworks/base/core/java/android/os/vibrator/persistence/ |
D | ParsedVibration.java | 41 private final List<VibrationEffect> mEffects; field in ParsedVibration 45 mEffects = effects; in ParsedVibration() 50 mEffects = List.of(effect); in ParsedVibration() 76 return Collections.unmodifiableList(mEffects); in getVibrationEffects() 86 for (int i = 0; i < mEffects.size(); i++) { in resolve() 87 VibrationEffect effect = mEffects.get(i); in resolve()
|
/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/audioflinger/ |
D | Effects.cpp | 2202 size_t size = mEffects.size(); in getEffectFromDesc() 2205 if (memcmp(&mEffects[i]->desc().uuid, &descriptor->uuid, sizeof(effect_uuid_t)) == 0) { in getEffectFromDesc() 2206 return mEffects[i]; in getEffectFromDesc() 2216 size_t size = mEffects.size(); in getEffectFromId_l() 2220 if (id == 0 || mEffects[i]->id() == id) { in getEffectFromId_l() 2221 return mEffects[i]; in getEffectFromId_l() 2232 size_t size = mEffects.size(); in getEffectFromType_l() 2235 if (memcmp(&mEffects[i]->desc().type, type, sizeof(effect_uuid_t)) == 0) { in getEffectFromType_l() 2236 return mEffects[i]; in getEffectFromType_l() 2246 for (size_t i = 0; i < mEffects.size(); i++) { in getEffectIds_l() [all …]
|
D | Effects.h | 549 return !mEffects.isEmpty() && id == mEffects[0]->id(); in isFirstEffect_l() 556 return mEffects.size(); in numberOfEffects() 561 return mEffects[index]; in getEffectModule() 701 Vector<sp<IAfEffectModule>> mEffects GUARDED_BY(mutex()); // list of effect modules
|
/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() 812 if (0 <= iae->mEffects->indexOfKey(KEY_FROM_GUID(pUuid))) { in android_genericFx_createEffect() 839 iae->mEffects->add(KEY_FROM_GUID(pUuid), pFx); in android_genericFx_createEffect() 849 ssize_t index = iae->mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); in android_genericFx_releaseEffect() 854 iae->mEffects->removeItem(index); in android_genericFx_releaseEffect() 863 ssize_t index = iae->mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); in android_genericFx_setEnabled() 868 android::sp<android::AudioEffect> pFx = iae->mEffects->valueAt(index); in android_genericFx_setEnabled() 878 ssize_t index = iae->mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); in android_genericFx_isEnabled() 883 android::sp<android::AudioEffect> pFx = iae->mEffects->valueAt(index); in android_genericFx_isEnabled() [all …]
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyEffects.cpp | 110 sessionDesc->mEffects.push_back(std::move(fx)); in addInputEffects() 152 const std::vector<sp<AudioEffect>>& effects = it->second->mEffects; in queryDefaultInputEffects() 177 const std::vector<sp<AudioEffect>>& effects = it->second->mEffects; in queryDefaultOutputSessionEffects() 237 procDesc->mEffects.push_back(std::move(fx)); in addOutputSessionEffects() 266 procDesc->mEffects.clear(); in releaseOutputSessionEffects() 460 for (const auto& effect : mEffects) { in setProcessorEnabled() 945 deviceEffects->mEffects.push_back(std::move(fx)); in initDefaultDeviceEffects()
|
D | AudioPolicyEffects.h | 178 std::vector<sp<AudioEffect>> mEffects; variable 191 std::vector<sp<AudioEffect>> mEffects; variable
|
D | AudioPolicyService.cpp | 1950 &data->mDeviceConfig, data->mEffects, in threadLoop() 2314 data->mEffects = effects; in recordingConfigurationUpdateCommand()
|
D | AudioPolicyService.h | 743 std::vector<effect_descriptor_t> mEffects; variable
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | SoundEffectsHelper.java | 111 private final int[] mEffects = new int[AudioManager.NUM_SOUND_EFFECTS]; // indexes in mResources field in SoundEffectsHelper 269 Resource res = mResources.get(mEffects[effect]); in onPlaySoundEffect() 337 Arrays.fill(mEffects, defaultResourceIdx); in loadSoundAssetDefaults() 394 mEffects[fx] = findOrAddResourceByFileName(file); in loadSoundAssets()
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.h | 784 return mEffects.getMaxEffectsCpuLoad(); in getMaxEffectsCpuLoad() 789 return mEffects.getMaxEffectsMemory(); in getMaxEffectsMemory() 1003 EffectDescriptorCollection mEffects; // list of registered audio effects variable
|
D | AudioPolicyManager.cpp | 1533 !(mEffects.isNonOffloadableEffectEnabled() || mMasterMono)) { in openDirectOutput() 2087 audio_io_handle_t hapticGeneratingOutput = mEffects.getIoForSession( in selectOutput() 2137 mEffects.hasOrphanEffectsForSessionAndType(sessionId, FX_IID_HAPTICGENERATOR); in selectOutput() 3005 mEffects.moveEffectsForIo(session, *input, &mInputs, mpClientInterface); in getInputForAttr() 3319 mEffects.putOrphanEffects(client->session(), input, &mInputs, mpClientInterface); in releaseInput() 3719 mEffects.moveEffects(AUDIO_SESSION_OUTPUT_MIX, mMusicEffectOutput, output, in selectOutputForMusicEffects() 3752 return mEffects.registerEffect(desc, io, session, id, isMusicEffect); in registerEffect() 3757 if (mEffects.getEffect(id) == nullptr) { in unregisterEffect() 3760 if (mEffects.isEffectEnabled(id)) { in unregisterEffect() 3764 return mEffects.unregisterEffect(id); in unregisterEffect() [all …]
|
/frameworks/wilhelm/src/ |
D | itfstruct.h | 645 android::KeyedVector<SLuint32, android::sp<android::AudioEffect> > *mEffects; member
|