Home
last modified time | relevance | path

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

/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
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()
/frameworks/wilhelm/tests/examples/
DslesTestEffectCapabilities.cpp124 SLInterfaceID effectType, effectImplementation; in TestGenericFxCapabilities() local
130 &effectType, &effectImplementation, effectName, &effectNameLength); in TestGenericFxCapabilities()
141 guidToString(effectType, typeString); in TestGenericFxCapabilities()
/frameworks/av/media/libstagefright/codecs/aacdec/
DSoftAAC2.cpp214 int32_t effectType = in initDecoder() local
216 if (effectType < -1 || effectType > 8) { in initDecoder()
217 effectType = DRC_DEFAULT_MOBILE_DRC_EFFECT; in initDecoder()
220 effectType, DRC_DEFAULT_MOBILE_DRC_EFFECT); in initDecoder()
221 aacDecoder_SetParam(mAACDecoder, AAC_UNIDRC_SET_EFFECT, effectType); in initDecoder()
/frameworks/base/media/java/android/media/
DIAudioService.aidl135 oneway void playSoundEffect(int effectType); in playSoundEffect() argument
137 oneway void playSoundEffectVolume(int effectType, float volume); in playSoundEffectVolume() argument
DAudioManager.java2257 public void playSoundEffect(int effectType) { in playSoundEffect() argument
2258 if (effectType < 0 || effectType >= NUM_SOUND_EFFECTS) { in playSoundEffect()
2268 service.playSoundEffect(effectType); in playSoundEffect()
2292 public void playSoundEffect(int effectType, int userId) { in playSoundEffect() argument
2293 if (effectType < 0 || effectType >= NUM_SOUND_EFFECTS) { in playSoundEffect()
2303 service.playSoundEffect(effectType); in playSoundEffect()
2328 public void playSoundEffect(int effectType, float volume) { in playSoundEffect() argument
2329 if (effectType < 0 || effectType >= NUM_SOUND_EFFECTS) { in playSoundEffect()
2335 service.playSoundEffectVolume(effectType, volume); in playSoundEffect()
/frameworks/base/services/core/jni/
Dcom_android_server_VibratorService.cpp341 aidl::Effect effectType(static_cast<aidl::Effect>(effect)); in vibratorPerformEffect() local
344 …auto status = hal->call(&aidl::IVibrator::perform, effectType, effectStrength, effectCallback, &le… in vibratorPerformEffect()
/frameworks/av/media/codec2/components/aac/
DC2SoftAacDec.cpp335 int32_t effectType = mIntf->getDrcEffectType(); in initDecoder() local
336 ALOGV("AAC decoder using MPEG-D DRC effect type %d", effectType); in initDecoder()
337 aacDecoder_SetParam(mAACDecoder, AAC_UNIDRC_SET_EFFECT, effectType); in initDecoder()
/frameworks/av/media/codec2/components/xaac/
DC2SoftXaacDec.cpp889 int32_t effectType = mIntf->getDrcEffectType(); in initXAACDrc() local
890 ALOGV("AAC decoder using MPEG-D DRC effect type %d", effectType); in initXAACDrc()
891 ui_drc_val = (unsigned int)effectType; in initXAACDrc()
/frameworks/av/media/libstagefright/include/media/stagefright/
DACodec.h468 int32_t effectType; member
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java3504 public void playSoundEffect(int effectType) { in playSoundEffect() argument
3505 playSoundEffectVolume(effectType, -1.0f); in playSoundEffect()
3509 public void playSoundEffectVolume(int effectType, float volume) { in playSoundEffectVolume() argument
3515 if (effectType >= AudioManager.NUM_SOUND_EFFECTS || effectType < 0) { in playSoundEffectVolume()
3516 Log.w(TAG, "AudioService effectType value " + effectType + " out of range"); in playSoundEffectVolume()
3521 effectType, (int) (volume * 1000), null, 0); in playSoundEffectVolume()
/frameworks/av/media/libstagefright/
DACodec.cpp2165 if (!msg->findInt32("aac-drc-effect-type", &drc.effectType)) { in configureCodec()
2167 drc.effectType = -2; // valid values are -1 and over in configureCodec()
2839 presentation.nDrcEffectType = drc.effectType; in setupAACCodec()