Home
last modified time | relevance | path

Searched refs:effectType (Results 1 – 17 of 17) sorted by relevance

/aosp12/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DEffectsTest.java158 public String effectUuidToString(UUID effectType) { in effectUuidToString() argument
159 if (effectType.equals(AudioEffect.EFFECT_TYPE_VIRTUALIZER)) { in effectUuidToString()
161 } else if (effectType.equals(AudioEffect.EFFECT_TYPE_ENV_REVERB)){ in effectUuidToString()
163 } else if (effectType.equals(AudioEffect.EFFECT_TYPE_PRESET_REVERB)){ in effectUuidToString()
165 } else if (effectType.equals(AudioEffect.EFFECT_TYPE_EQUALIZER)){ in effectUuidToString()
167 } else if (effectType.equals(AudioEffect.EFFECT_TYPE_BASS_BOOST)){ in effectUuidToString()
169 } else if (effectType.equals(AudioEffect.EFFECT_TYPE_AGC)){ in effectUuidToString()
171 } else if (effectType.equals(AudioEffect.EFFECT_TYPE_AEC)){ in effectUuidToString()
173 } else if (effectType.equals(AudioEffect.EFFECT_TYPE_NS)){ in effectUuidToString()
177 return effectType.toString(); in effectUuidToString()
/aosp12/frameworks/av/media/libeffects/preprocessing/benchmarks/
H A Dpreprocessing_benchmark.cpp178 int preProcCreateEffect(effect_handle_t* pEffectHandle, uint32_t effectType, in preProcCreateEffect() argument
180 if (int status = AUDIO_EFFECT_LIBRARY_INFO_SYM.create_effect(&kEffectUuids[effectType], in preProcCreateEffect()
188 if (effectType == PREPROC_AEC) { in preProcCreateEffect()
229 PreProcId effectType = (PreProcId)state.range(1); in BM_PREPROCESSING() local
279 if (PREPROC_AEC == effectType) { in BM_PREPROCESSING()
292 if (PREPROC_AEC == effectType) { in BM_PREPROCESSING()
/aosp12/frameworks/wilhelm/tests/examples/
H A DslesTestEffectCapabilities.cpp124 SLInterfaceID effectType, effectImplementation; in TestGenericFxCapabilities() local
130 &effectType, &effectImplementation, effectName, &effectNameLength); in TestGenericFxCapabilities()
141 guidToString(effectType, typeString); in TestGenericFxCapabilities()
/aosp12/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DEffectDescriptor.cpp206 const effect_uuid_t *effectType) in getIoForSession() argument
210 if (effect->mSession == sessionId && (effectType == nullptr || in getIoForSession()
211 memcmp(&effect->mDesc.type, effectType, sizeof(effect_uuid_t)) == 0)) { in getIoForSession()
/aosp12/frameworks/av/media/codec2/components/aac/
H A DC2SoftAacDec.cpp373 int32_t effectType = mIntf->getDrcEffectType(); in initDecoder() local
374 ALOGV("AAC decoder using MPEG-D DRC effect type %d", effectType); in initDecoder()
375 aacDecoder_SetParam(mAACDecoder, AAC_UNIDRC_SET_EFFECT, effectType); in initDecoder()
715 int32_t effectType = mIntf->getDrcEffectType(); in process() local
716 ALOGV("AAC decoder using MPEG-D DRC effect type %d", effectType); in process()
717 aacDecoder_SetParam(mAACDecoder, AAC_UNIDRC_SET_EFFECT, effectType); in process()
909 (C2Config::drc_effect_type_t) effectType); in process()
/aosp12/frameworks/av/media/libstagefright/codecs/aacdec/
H A DSoftAAC2.cpp216 int32_t effectType = in initDecoder() local
218 if (effectType < -1 || effectType > 8) { in initDecoder()
219 effectType = DRC_DEFAULT_MOBILE_DRC_EFFECT; in initDecoder()
222 effectType, DRC_DEFAULT_MOBILE_DRC_EFFECT); in initDecoder()
223 aacDecoder_SetParam(mAACDecoder, AAC_UNIDRC_SET_EFFECT, effectType); in initDecoder()
/aosp12/frameworks/av/media/libeffects/preprocessing/tests/
H A DPreProcessingTest.cpp161 int preProcCreateEffect(effect_handle_t* pEffectHandle, uint32_t effectType, in preProcCreateEffect() argument
163 if (int status = AUDIO_EFFECT_LIBRARY_INFO_SYM.create_effect(&kPreProcUuids[effectType], in preProcCreateEffect()
171 if (effectType == PREPROC_AEC) { in preProcCreateEffect()
/aosp12/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DEffectDescriptor.h76 const effect_uuid_t *effectType = nullptr);
/aosp12/packages/apps/Settings/src/com/android/settings/notification/zen/
H A DZenModeBackend.java187 private int getNewSuppressedEffects(boolean suppress, int effectType) { in getNewSuppressedEffects() argument
191 effects |= effectType; in getNewSuppressedEffects()
193 effects &= ~effectType; in getNewSuppressedEffects()
/aosp12/frameworks/base/services/core/jni/
H A Dcom_android_server_vibrator_VibratorController.cpp273 aidl::Effect effectType = static_cast<aidl::Effect>(effect); in vibratorPerformEffect() local
276 auto performEffectFn = [effectType, effectStrength, &callback](vibrator::HalWrapper* hal) { in vibratorPerformEffect()
277 return hal->performEffect(effectType, effectStrength, callback); in vibratorPerformEffect()
/aosp12/frameworks/base/media/java/android/media/
H A DIAudioService.aidl157 oneway void playSoundEffect(int effectType); in playSoundEffect() argument
159 oneway void playSoundEffectVolume(int effectType, float volume); in playSoundEffectVolume() argument
H A DAudioManager.java3496 public void playSoundEffect(@SystemSoundEffect int effectType) { in playSoundEffect() argument
3497 if (effectType < 0 || effectType >= NUM_SOUND_EFFECTS) { in playSoundEffect()
3507 service.playSoundEffect(effectType); in playSoundEffect()
3521 public void playSoundEffect(@SystemSoundEffect int effectType, int userId) { in playSoundEffect() argument
3522 if (effectType < 0 || effectType >= NUM_SOUND_EFFECTS) { in playSoundEffect()
3532 service.playSoundEffect(effectType); in playSoundEffect()
3547 public void playSoundEffect(@SystemSoundEffect int effectType, float volume) { in playSoundEffect() argument
3548 if (effectType < 0 || effectType >= NUM_SOUND_EFFECTS) { in playSoundEffect()
3554 service.playSoundEffectVolume(effectType, volume); in playSoundEffect()
/aosp12/frameworks/av/media/codec2/components/xaac/
H A DC2SoftXaacDec.cpp892 int32_t effectType = mIntf->getDrcEffectType(); in initXAACDrc() local
893 ALOGV("AAC decoder using MPEG-D DRC effect type %d", effectType); in initXAACDrc()
894 ui_drc_val = (unsigned int)effectType; in initXAACDrc()
/aosp12/frameworks/av/media/libstagefright/include/media/stagefright/
H A DACodec.h484 int32_t effectType; member
/aosp12/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioService.java5039 public void playSoundEffect(int effectType) { in playSoundEffect() argument
5040 playSoundEffectVolume(effectType, -1.0f); in playSoundEffect()
5044 public void playSoundEffectVolume(int effectType, float volume) { in playSoundEffectVolume() argument
5050 if (effectType >= AudioManager.NUM_SOUND_EFFECTS || effectType < 0) { in playSoundEffectVolume()
5051 Log.w(TAG, "AudioService effectType value " + effectType + " out of range"); in playSoundEffectVolume()
5056 effectType, (int) (volume * 1000), null, 0); in playSoundEffectVolume()
/aosp12/frameworks/av/media/libstagefright/
H A DACodec.cpp2224 if (!msg->findInt32("aac-drc-effect-type", &drc.effectType)) { in configureCodec()
2226 drc.effectType = -2; // valid values are -1 and over in configureCodec()
2961 presentation.nDrcEffectType = drc.effectType; in setupAACCodec()
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...