Home
last modified time | relevance | path

Searched refs:effectType (Results 1 – 5 of 5) 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/base/media/java/android/media/
DIAudioService.aidl87 oneway void playSoundEffect(int effectType); in playSoundEffect() argument
89 oneway void playSoundEffectVolume(int effectType, float volume); in playSoundEffectVolume() argument
DAudioManager.java1901 public void playSoundEffect(int effectType) { in playSoundEffect() argument
1902 if (effectType < 0 || effectType >= NUM_SOUND_EFFECTS) { in playSoundEffect()
1912 service.playSoundEffect(effectType); in playSoundEffect()
1936 public void playSoundEffect(int effectType, int userId) { in playSoundEffect() argument
1937 if (effectType < 0 || effectType >= NUM_SOUND_EFFECTS) { in playSoundEffect()
1947 service.playSoundEffect(effectType); in playSoundEffect()
1972 public void playSoundEffect(int effectType, float volume) { in playSoundEffect() argument
1973 if (effectType < 0 || effectType >= NUM_SOUND_EFFECTS) { in playSoundEffect()
1979 service.playSoundEffectVolume(effectType, volume); in playSoundEffect()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java2508 public void playSoundEffect(int effectType) { in playSoundEffect() argument
2509 playSoundEffectVolume(effectType, -1.0f); in playSoundEffect()
2513 public void playSoundEffectVolume(int effectType, float volume) { in playSoundEffectVolume() argument
2514 if (effectType >= AudioManager.NUM_SOUND_EFFECTS || effectType < 0) { in playSoundEffectVolume()
2515 Log.w(TAG, "AudioService effectType value " + effectType + " out of range"); in playSoundEffectVolume()
2520 effectType, (int) (volume * 1000), null, 0); in playSoundEffectVolume()
4474 private void onPlaySoundEffect(int effectType, int volume) { in onPlaySoundEffect() argument
4490 if (SOUND_EFFECT_FILES_MAP[effectType][1] > 0) { in onPlaySoundEffect()
4491 mSoundPool.play(SOUND_EFFECT_FILES_MAP[effectType][1], in onPlaySoundEffect()
4497 SOUND_EFFECT_FILES.get(SOUND_EFFECT_FILES_MAP[effectType][0]); in onPlaySoundEffect()