/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
MediaAudioEffectTest.java | 22 import android.media.audiofx.AudioEffect; 50 private AudioEffect mEffect = null; 88 // AUDIOEFFECT TESTS: 99 AudioEffect.Descriptor[] desc = AudioEffect.queryEffects(); 109 if (desc[i].type.equals(AudioEffect.EFFECT_TYPE_EQUALIZER)) { 111 } if (desc[i].type.equals(AudioEffect.EFFECT_TYPE_BASS_BOOST)) { 113 } else if (desc[i].type.equals(AudioEffect.EFFECT_TYPE_VIRTUALIZER)) { 116 else if (desc[i].type.equals(AudioEffect.EFFECT_TYPE_ENV_REVERB)) { 154 AudioEffect.Descriptor[] desc = AudioEffect.queryEffects() [all...] |
MediaPresetReverbTest.java | 24 import android.media.audiofx.AudioEffect; 198 AudioEffect vc = null; 210 vc = new AudioEffect( 211 AudioEffect.EFFECT_TYPE_NULL, 267 AudioEffect vc = null; 269 AudioEffect rvb = null; 278 vc = new AudioEffect( 279 AudioEffect.EFFECT_TYPE_NULL, 291 rvb = new AudioEffect( 292 AudioEffect.EFFECT_TYPE_NULL [all...] |
MediaEnvReverbTest.java | 24 import android.media.audiofx.AudioEffect; 353 AudioEffect vc = null; 365 vc = new AudioEffect( 366 AudioEffect.EFFECT_TYPE_NULL, 424 AudioEffect vc = null; 426 AudioEffect rvb = null; 435 vc = new AudioEffect( 436 AudioEffect.EFFECT_TYPE_NULL, 448 rvb = new AudioEffect( 449 AudioEffect.EFFECT_TYPE_NULL [all...] |
MediaBassBoostTest.java | 24 import android.media.audiofx.AudioEffect; 196 AudioEffect vc = null; 208 vc = new AudioEffect( 209 AudioEffect.EFFECT_TYPE_NULL,
|
MediaVirtualizerTest.java | 24 import android.media.audiofx.AudioEffect; 197 AudioEffect vc = null; 209 vc = new AudioEffect( 210 AudioEffect.EFFECT_TYPE_NULL,
|
/cts/tests/tests/media/src/android/media/cts/ |
AudioEffectTest.java | 22 import android.media.audiofx.AudioEffect; 42 @TestTargetClass(AudioEffect.class) 54 private AudioEffect mEffect = null; 55 private AudioEffect mEffect2 = null; 69 // AUDIOEFFECT TESTS: 87 AudioEffect.Descriptor[] desc = AudioEffect.queryEffects(); 99 if (desc[i].type.equals(AudioEffect.EFFECT_TYPE_EQUALIZER)) { 101 } else if (desc[i].type.equals(AudioEffect.EFFECT_TYPE_BASS_BOOST)) { 103 } else if (desc[i].type.equals(AudioEffect.EFFECT_TYPE_VIRTUALIZER)) [all...] |
BassBoostTest.java | 19 import android.media.audiofx.AudioEffect; 287 args = {AudioEffect.OnControlStatusChangeListener.class} 320 args = {AudioEffect.OnEnableStatusChangeListener.class} 445 new AudioEffect.OnControlStatusChangeListener() { 447 AudioEffect effect, boolean controlGranted) { 459 new AudioEffect.OnEnableStatusChangeListener() { 460 public void onEnableStatusChange(AudioEffect effect, boolean enabled) {
|
PresetReverbTest.java | 19 import android.media.audiofx.AudioEffect; 233 args = {AudioEffect.OnControlStatusChangeListener.class} 266 args = {AudioEffect.OnEnableStatusChangeListener.class} 391 new AudioEffect.OnControlStatusChangeListener() { 393 AudioEffect effect, boolean controlGranted) { 405 new AudioEffect.OnEnableStatusChangeListener() { 406 public void onEnableStatusChange(AudioEffect effect, boolean enabled) {
|
VirtualizerTest.java | 19 import android.media.audiofx.AudioEffect; 281 args = {AudioEffect.OnControlStatusChangeListener.class} 314 args = {AudioEffect.OnEnableStatusChangeListener.class} 439 new AudioEffect.OnControlStatusChangeListener() { 441 AudioEffect effect, boolean controlGranted) { 453 new AudioEffect.OnEnableStatusChangeListener() { 454 public void onEnableStatusChange(AudioEffect effect, boolean enabled) {
|
EnvReverbTest.java | 19 import android.media.audiofx.AudioEffect; 479 args = {AudioEffect.OnControlStatusChangeListener.class} 512 args = {AudioEffect.OnEnableStatusChangeListener.class} 637 new AudioEffect.OnControlStatusChangeListener() { 639 AudioEffect effect, boolean controlGranted) { 651 new AudioEffect.OnEnableStatusChangeListener() { 652 public void onEnableStatusChange(AudioEffect effect, boolean enabled) {
|
/frameworks/base/media/java/android/media/audiofx/ |
AcousticEchoCanceler.java | 35 * {@link android.media.audiofx.AudioEffect#queryPreProcessings(int)} with the audio session of the 37 * <p>See {@link android.media.audiofx.AudioEffect} class for more details on 42 public class AcousticEchoCanceler extends AudioEffect {
|
AutomaticGainControl.java | 35 * {@link android.media.audiofx.AudioEffect#queryPreProcessings(int)} with the audio session of the 37 * <p>See {@link android.media.audiofx.AudioEffect} class for more details on 42 public class AutomaticGainControl extends AudioEffect {
|
NoiseSuppressor.java | 36 * {@link android.media.audiofx.AudioEffect#queryPreProcessings(int)} with the audio session of the 38 * <p>See {@link android.media.audiofx.AudioEffect} class for more details on 43 public class NoiseSuppressor extends AudioEffect {
|
PresetReverb.java | 22 import android.media.audiofx.AudioEffect; 57 * <p>See {@link android.media.audiofx.AudioEffect} class for more details on controlling 61 public class PresetReverb extends AudioEffect { 109 * Listener used internally to to receive raw parameter change event from AudioEffect super class 187 * Listener used internally to receive unformatted parameter change events from AudioEffect 190 private class BaseParameterListener implements AudioEffect.OnParameterChangeListener { 194 public void onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) {
|
BassBoost.java | 22 import android.media.audiofx.AudioEffect; 44 * <p>See {@link android.media.audiofx.AudioEffect} class for more details on 48 public class BassBoost extends AudioEffect { 75 * Listener used internally to to receive raw parameter change event from AudioEffect super class 170 * Listener used internally to receive unformatted parameter change events from AudioEffect 173 private class BaseParameterListener implements AudioEffect.OnParameterChangeListener { 177 public void onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) {
|
Virtualizer.java | 22 import android.media.audiofx.AudioEffect; 47 * <p>See {@link android.media.audiofx.AudioEffect} class for more details on controlling 51 public class Virtualizer extends AudioEffect { 77 * Listener used internally to to receive raw parameter change event from AudioEffect super class 172 * Listener used internally to receive unformatted parameter change events from AudioEffect 175 private class BaseParameterListener implements AudioEffect.OnParameterChangeListener { 179 public void onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) {
|
AudioEffect.java | 32 * AudioEffect is the base class for controlling audio effects provided by the android audio 34 * <p>Applications should not use the AudioEffect class directly but one of its derived classes to 44 * the application must specify the audio session ID of that instance when creating the AudioEffect. 48 * <p>Creating an AudioEffect object will create the corresponding effect engine in the audio 51 * <p>The application creating the AudioEffect object (or a derived class) will either receive 59 public class AudioEffect { 65 private final static String TAG = "AudioEffect-JAVA"; 136 * State of an AudioEffect object that was not successfully initialized upon 142 * State of an AudioEffect object that is ready to be used. 148 // frameworks/base/include/media/AudioEffect. [all...] |
/packages/apps/MusicFX/src/com/android/musicfx/ |
ControlPanelReceiver.java | 22 import android.media.audiofx.AudioEffect; 43 final String packageName = intent.getStringExtra(AudioEffect.EXTRA_PACKAGE_NAME); 44 final int audioSession = intent.getIntExtra(AudioEffect.EXTRA_AUDIO_SESSION, 45 AudioEffect.ERROR_BAD_VALUE); 58 if ((audioSession == AudioEffect.ERROR_BAD_VALUE) || (audioSession < 0)) { 64 if (action.equals(AudioEffect.ACTION_OPEN_AUDIO_EFFECT_CONTROL_SESSION)) { 76 if (action.equals(AudioEffect.ACTION_CLOSE_AUDIO_EFFECT_CONTROL_SESSION)) { 82 if (action.equals("AudioEffect.ACTION_SET_PARAM")) { 83 final String param = intent.getStringExtra("AudioEffect.EXTRA_PARAM"); 86 final Boolean value = intent.getBooleanExtra("AudioEffect.EXTRA_VALUE", false) [all...] |
Compatibility.java | 29 import android.media.audiofx.AudioEffect; 149 Intent i = new Intent(AudioEffect.ACTION_DISPLAY_AUDIO_EFFECT_CONTROL_PANEL); 199 Intent i = new Intent(AudioEffect.ACTION_OPEN_AUDIO_EFFECT_CONTROL_SESSION); 203 i = new Intent(AudioEffect.ACTION_CLOSE_AUDIO_EFFECT_CONTROL_SESSION);
|
/system/media/wilhelm/src/android/ |
android_Effect.h | 22 extern android::status_t android_eq_setParam(android::sp<android::AudioEffect> pFx, 25 extern android::status_t android_eq_getParam(android::sp<android::AudioEffect> pFx, 33 extern android::status_t android_bb_setParam(android::sp<android::AudioEffect> pFx, 36 extern android::status_t android_bb_getParam(android::sp<android::AudioEffect> pFx, 44 extern android::status_t android_virt_setParam(android::sp<android::AudioEffect> pFx, 47 extern android::status_t android_virt_getParam(android::sp<android::AudioEffect> pFx, 55 extern android::status_t android_prev_setPreset(android::sp<android::AudioEffect> pFx, 58 extern android::status_t android_prev_getPreset(android::sp<android::AudioEffect> pFx, 66 extern android::status_t android_erev_setParam(android::sp<android::AudioEffect> pFx, 69 extern android::status_t android_erev_getParam(android::sp<android::AudioEffect> pFx [all...] |
android_Effect.cpp | 188 android::status_t android_eq_getParam(android::sp<android::AudioEffect> pFx, 214 android::status_t android_eq_setParam(android::sp<android::AudioEffect> pFx, 237 android::status_t android_bb_setParam(android::sp<android::AudioEffect> pFx, 245 android::status_t android_bb_getParam(android::sp<android::AudioEffect> pFx, 340 android::status_t android_virt_setParam(android::sp<android::AudioEffect> pFx, 348 android::status_t android_virt_getParam(android::sp<android::AudioEffect> pFx, 376 android::status_t android_prev_setPreset(android::sp<android::AudioEffect> pFx, uint16_t preset) { 385 android::status_t android_prev_getPreset(android::sp<android::AudioEffect> pFx, uint16_t* preset) { 414 android::status_t android_erev_setParam(android::sp<android::AudioEffect> pFx, 429 android::status_t android_erev_getParam(android::sp<android::AudioEffect> pFx [all...] |
/frameworks/base/media/libmedia/ |
AudioEffect.cpp | 20 #define LOG_TAG "AudioEffect" 27 #include <media/AudioEffect.h> 38 AudioEffect::AudioEffect() 44 AudioEffect::AudioEffect(const effect_uuid_t *type, 57 AudioEffect::AudioEffect(const char *typeStr, 89 status_t AudioEffect::set(const effect_uuid_t *type, 168 AudioEffect::~AudioEffect( [all...] |
/frameworks/base/include/media/ |
AudioEffect.h | 43 class AudioEffect : public RefBase 160 * if another application requests the use of the engine by creating an AudioEffect for 162 * application having the control deletes its AudioEffect object. 171 * event: type of event notified (see enum AudioEffect::event_type). 186 * AudioEffect is the base class for creating and controlling an effect engine from 187 * the application process. Creating an AudioEffect object will create the effect engine 189 * will be used. The application creating the AudioEffect object (or a derived class like 195 * After creating the AudioEffect, the application must call the initCheck() method and 203 AudioEffect(); 226 AudioEffect(const effect_uuid_t *type [all...] |
Visualizer.h | 20 #include <media/AudioEffect.h> 55 class Visualizer: public AudioEffect { 66 * See AudioEffect constructor for details on parameters.
|
/frameworks/base/media/jni/audioeffect/ |
android_media_AudioEffect.cpp | 26 #include "media/AudioEffect.h" 40 static const char* const kClassPathName = "android/media/audiofx/AudioEffect"; 44 jclass clazzEffect; // AudioEffect class 46 jfieldID fidNativeAudioEffect; // stores in Java the native AudioEffect object 47 jfieldID fidJniData; // stores in Java additional resources used by the native AudioEffect 48 jclass clazzDesc; // AudioEffect.Descriptor class 49 jmethodID midDescCstor; // AudioEffect.Descriptor class constructor 54 jclass audioEffect_class; // AudioEffect class 55 jobject audioEffect_ref; // AudioEffect object instance 120 case AudioEffect::EVENT_CONTROL_STATUS_CHANGED [all...] |