/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
D | MediaAudioEffectTest.java | 22 import android.media.audiofx.AudioEffect; 50 private AudioEffect mEffect = null; 99 AudioEffect.Descriptor[] desc = AudioEffect.queryEffects(); in test0_0QueryEffects() 109 if (desc[i].type.equals(AudioEffect.EFFECT_TYPE_EQUALIZER)) { in test0_0QueryEffects() 111 } if (desc[i].type.equals(AudioEffect.EFFECT_TYPE_BASS_BOOST)) { in test0_0QueryEffects() 113 } else if (desc[i].type.equals(AudioEffect.EFFECT_TYPE_VIRTUALIZER)) { in test0_0QueryEffects() 116 else if (desc[i].type.equals(AudioEffect.EFFECT_TYPE_ENV_REVERB)) { in test0_0QueryEffects() 154 AudioEffect.Descriptor[] desc = AudioEffect.queryEffects(); in test1_0ConstructorFromType() 159 if (AudioEffect.EFFECT_PRE_PROCESSING.equals(desc[0].connectMode)) { in test1_0ConstructorFromType() 166 AudioEffect effect = new AudioEffect(desc[0].type, in test1_0ConstructorFromType() [all …]
|
D | MediaPresetReverbTest.java | 24 import android.media.audiofx.AudioEffect; 198 AudioEffect vc = null; in test2_0AuxiliarySoundModification() 212 vc = new AudioEffect( in test2_0AuxiliarySoundModification() 213 AudioEffect.EFFECT_TYPE_NULL, in test2_0AuxiliarySoundModification() 270 AudioEffect vc = null; in test2_1InsertSoundModification() 272 AudioEffect rvb = null; in test2_1InsertSoundModification() 283 vc = new AudioEffect( in test2_1InsertSoundModification() 284 AudioEffect.EFFECT_TYPE_NULL, in test2_1InsertSoundModification() 296 rvb = new AudioEffect( in test2_1InsertSoundModification() 297 AudioEffect.EFFECT_TYPE_NULL, in test2_1InsertSoundModification()
|
D | MediaEnvReverbTest.java | 24 import android.media.audiofx.AudioEffect; 353 AudioEffect vc = null; in test2_0AuxiliarySoundModification() 367 vc = new AudioEffect( in test2_0AuxiliarySoundModification() 368 AudioEffect.EFFECT_TYPE_NULL, in test2_0AuxiliarySoundModification() 427 AudioEffect vc = null; in test2_1InsertSoundModification() 429 AudioEffect rvb = null; in test2_1InsertSoundModification() 440 vc = new AudioEffect( in test2_1InsertSoundModification() 441 AudioEffect.EFFECT_TYPE_NULL, in test2_1InsertSoundModification() 453 rvb = new AudioEffect( in test2_1InsertSoundModification() 454 AudioEffect.EFFECT_TYPE_NULL, in test2_1InsertSoundModification()
|
D | MediaVisualizerTest.java | 23 import android.media.audiofx.AudioEffect; 231 AudioEffect vc = null; in test2_0PollingCapture() 244 vc = new AudioEffect( in test2_0PollingCapture() 245 AudioEffect.EFFECT_TYPE_NULL, in test2_0PollingCapture() 310 AudioEffect vc = null; in test2_1ListenerCapture() 323 vc = new AudioEffect( in test2_1ListenerCapture() 324 AudioEffect.EFFECT_TYPE_NULL, in test2_1ListenerCapture() 444 AudioEffect vc = null; in test2_2PollingCaptureVolumeScaling() 456 vc = new AudioEffect( in test2_2PollingCaptureVolumeScaling() 457 AudioEffect.EFFECT_TYPE_NULL, in test2_2PollingCaptureVolumeScaling()
|
/frameworks/wilhelm/src/android/ |
D | android_Effect.h | 22 extern android::status_t android_eq_setParam(const android::sp<android::AudioEffect>& pFx, 25 extern android::status_t android_eq_getParam(const android::sp<android::AudioEffect>& pFx, 33 extern android::status_t android_bb_setParam(const android::sp<android::AudioEffect>& pFx, 36 extern android::status_t android_bb_getParam(const android::sp<android::AudioEffect>& pFx, 44 extern android::status_t android_virt_setParam(const android::sp<android::AudioEffect>& pFx, 47 extern android::status_t android_virt_getParam(const android::sp<android::AudioEffect>& pFx, 55 extern android::status_t android_prev_setPreset(const android::sp<android::AudioEffect>& pFx, 58 extern android::status_t android_prev_getPreset(const android::sp<android::AudioEffect>& pFx, 66 extern android::status_t android_erev_setParam(const android::sp<android::AudioEffect>& pFx, 69 extern android::status_t android_erev_getParam(const android::sp<android::AudioEffect>& pFx, [all …]
|
D | android_Effect.cpp | 199 android::status_t android_eq_getParam(const android::sp<android::AudioEffect>& pFx, in android_eq_getParam() 225 android::status_t android_eq_setParam(const android::sp<android::AudioEffect>& pFx, in android_eq_setParam() 248 android::status_t android_bb_setParam(const android::sp<android::AudioEffect>& pFx, in android_bb_setParam() 256 android::status_t android_bb_getParam(const android::sp<android::AudioEffect>& pFx, in android_bb_getParam() 351 android::status_t android_virt_setParam(const android::sp<android::AudioEffect>& pFx, in android_virt_setParam() 359 android::status_t android_virt_getParam(const android::sp<android::AudioEffect>& pFx, in android_virt_getParam() 387 android::status_t android_prev_setPreset(const android::sp<android::AudioEffect>& pFx, in android_prev_setPreset() 397 android::status_t android_prev_getPreset(const android::sp<android::AudioEffect>& pFx, in android_prev_getPreset() 427 android::status_t android_erev_setParam(const android::sp<android::AudioEffect>& pFx, in android_erev_setParam() 442 android::status_t android_erev_getParam(const android::sp<android::AudioEffect>& pFx, in android_erev_getParam() [all …]
|
/frameworks/av/media/libaudioclient/ |
D | AudioEffect.cpp | 38 AudioEffect::AudioEffect(const String16& opPackageName) in AudioEffect() function in android::AudioEffect 44 AudioEffect::AudioEffect(const effect_uuid_t *type, in AudioEffect() function in android::AudioEffect 59 AudioEffect::AudioEffect(const char *typeStr, in AudioEffect() function in android::AudioEffect 93 status_t AudioEffect::set(const effect_uuid_t *type, in set() 178 AudioEffect::~AudioEffect() in ~AudioEffect() 198 status_t AudioEffect::initCheck() const in initCheck() 205 effect_descriptor_t AudioEffect::descriptor() const in descriptor() 210 bool AudioEffect::getEnabled() const in getEnabled() 215 status_t AudioEffect::setEnabled(bool enabled) in setEnabled() 239 status_t AudioEffect::command(uint32_t cmdCode, in command() [all …]
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
D | EffectsTest.java | 34 import android.media.audiofx.AudioEffect; 94 AudioEffect.Descriptor[] descriptors = AudioEffect.queryEffects(); in onCreate() 105 AudioEffect.Descriptor[] mDescriptors; 107 public EffectListAdapter(Context context, AudioEffect.Descriptor[] descriptors) { in EffectListAdapter() 148 AudioEffect.Descriptor[] mDescriptors; 150 public EffectView(Context context, AudioEffect.Descriptor[] descriptors) { in EffectView() 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() [all …]
|
D | VirtualizerTest.java | 42 import android.media.audiofx.AudioEffect; 188 public class EffectListner implements AudioEffect.OnEnableStatusChangeListener, 189 AudioEffect.OnControlStatusChangeListener, AudioEffect.OnParameterChangeListener 193 public void onEnableStatusChange(AudioEffect effect, boolean enabled) { in onEnableStatusChange() 196 public void onControlStatusChange(AudioEffect effect, boolean controlGranted) { in onControlStatusChange() 199 public void onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) { in onParameterChange()
|
D | BassBoostTest.java | 42 import android.media.audiofx.AudioEffect; 191 public class EffectListner implements AudioEffect.OnEnableStatusChangeListener, 192 AudioEffect.OnControlStatusChangeListener, AudioEffect.OnParameterChangeListener 196 public void onEnableStatusChange(AudioEffect effect, boolean enabled) { in onEnableStatusChange() 199 public void onControlStatusChange(AudioEffect effect, boolean controlGranted) { in onControlStatusChange() 202 public void onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) { in onParameterChange()
|
/frameworks/base/media/java/android/media/ |
D | AudioRecordingConfiguration.java | 23 import android.media.audiofx.AudioEffect; 73 private final AudioEffect.Descriptor[] mClientEffects; 75 private final AudioEffect.Descriptor[] mDeviceEffects; 84 AudioEffect.Descriptor[] clientEffects, AudioEffect.Descriptor[] deviceEffects) { in AudioRecordingConfiguration() 109 new AudioEffect.Descriptor[0] /*clientEffects*/, in AudioRecordingConfiguration() 110 new AudioEffect.Descriptor[0] /*deviceEffects*/); in AudioRecordingConfiguration() 127 for (AudioEffect.Descriptor desc : arc.mClientEffects) { in toLogFriendlyString() 131 for (AudioEffect.Descriptor desc : arc.mDeviceEffects) { in toLogFriendlyString() 306 public @NonNull List<AudioEffect.Descriptor> getClientEffects() { in getClientEffects() 307 return new ArrayList<AudioEffect.Descriptor>(Arrays.asList(mClientEffects)); in getClientEffects() [all …]
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioEffect.h | 43 class AudioEffect : public RefBase 342 AudioEffect(const String16& opPackageName); 367 AudioEffect(const effect_uuid_t *type, 380 AudioEffect(const char *typeStr, 394 ~AudioEffect(); 571 EffectClient(AudioEffect *effect) : mEffect(effect){} in EffectClient() 575 sp<AudioEffect> effect = mEffect.promote(); in controlStatusChanged() 586 sp<AudioEffect> effect = mEffect.promote(); in enableStatusChanged() 601 sp<AudioEffect> effect = mEffect.promote(); in commandExecuted() 615 sp<AudioEffect> effect = mEffect.promote(); in binderDied() [all …]
|
/frameworks/av/include/media/ |
D | AudioEffect.h | 43 class AudioEffect : public RefBase 342 AudioEffect(const String16& opPackageName); 367 AudioEffect(const effect_uuid_t *type, 380 AudioEffect(const char *typeStr, 394 ~AudioEffect(); 571 EffectClient(AudioEffect *effect) : mEffect(effect){} in EffectClient() 575 sp<AudioEffect> effect = mEffect.promote(); in controlStatusChanged() 586 sp<AudioEffect> effect = mEffect.promote(); in enableStatusChanged() 601 sp<AudioEffect> effect = mEffect.promote(); in commandExecuted() 615 sp<AudioEffect> effect = mEffect.promote(); in binderDied() [all …]
|
/frameworks/base/media/jni/audioeffect/ |
D | android_media_AudioEffect.cpp | 131 case AudioEffect::EVENT_CONTROL_STATUS_CHANGED: in effectCallback() 140 case AudioEffect::EVENT_ENABLE_STATUS_CHANGED: in effectCallback() 149 case AudioEffect::EVENT_PARAMETER_CHANGED: in effectCallback() 172 case AudioEffect::EVENT_ERROR: in effectCallback() 195 static sp<AudioEffect> getAudioEffect(JNIEnv* env, jobject thiz) in getAudioEffect() 198 AudioEffect* const ae = in getAudioEffect() 199 (AudioEffect*)env->GetLongField(thiz, fields.fidNativeAudioEffect); in getAudioEffect() 200 return sp<AudioEffect>(ae); in getAudioEffect() 203 static sp<AudioEffect> setAudioEffect(JNIEnv* env, jobject thiz, in setAudioEffect() 204 const sp<AudioEffect>& ae) in setAudioEffect() [all …]
|
/frameworks/base/media/java/android/media/audiofx/ |
D | AcousticEchoCanceler.java | 42 public class AcousticEchoCanceler extends AudioEffect { 51 return AudioEffect.isEffectTypeAvailable(AudioEffect.EFFECT_TYPE_AEC); in isAvailable()
|
D | NoiseSuppressor.java | 43 public class NoiseSuppressor extends AudioEffect { 52 return AudioEffect.isEffectTypeAvailable(AudioEffect.EFFECT_TYPE_NS); in isAvailable()
|
D | AutomaticGainControl.java | 42 public class AutomaticGainControl extends AudioEffect { 51 return AudioEffect.isEffectTypeAvailable(AudioEffect.EFFECT_TYPE_AGC); in isAvailable()
|
D | LoudnessEnhancer.java | 21 import android.media.audiofx.AudioEffect; 39 public class LoudnessEnhancer extends AudioEffect { 162 private class BaseParameterListener implements AudioEffect.OnParameterChangeListener { 166 public void onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) { in onParameterChange() 168 if (status != AudioEffect.SUCCESS) { in onParameterChange()
|
D | SourceDefaultEffect.java | 72 if (initResult != AudioEffect.SUCCESS) { in SourceDefaultEffect() 75 case AudioEffect.ERROR_BAD_VALUE: in SourceDefaultEffect() 78 case AudioEffect.ERROR_INVALID_OPERATION: in SourceDefaultEffect()
|
D | StreamDefaultEffect.java | 71 if (initResult != AudioEffect.SUCCESS) { in StreamDefaultEffect() 74 case AudioEffect.ERROR_BAD_VALUE: in StreamDefaultEffect() 77 case AudioEffect.ERROR_INVALID_OPERATION: in StreamDefaultEffect()
|
D | AudioEffect.java | 66 public class AudioEffect { class 448 public AudioEffect(UUID type, UUID uuid, int priority, int audioSession) in AudioEffect() method in AudioEffect 454 int initResult = native_setup(new WeakReference<AudioEffect>(this), in AudioEffect() 544 AudioEffect.Descriptor[] desc = AudioEffect.queryEffects(); in isEffectTypeAvailable() 1043 void onEnableStatusChange(AudioEffect effect, boolean enabled); in onEnableStatusChange() 1058 void onControlStatusChange(AudioEffect effect, boolean controlGranted); in onControlStatusChange() 1075 void onParameterChange(AudioEffect effect, int status, byte[] param, in onParameterChange() 1206 private AudioEffect mAudioEffect; 1208 public NativeEventHandler(AudioEffect ae, Looper looper) { in NativeEventHandler() 1277 AudioEffect effect = (AudioEffect) ((WeakReference) effect_ref).get(); in postEventFromNative() [all …]
|
D | BassBoost.java | 19 import android.media.audiofx.AudioEffect; 41 public class BassBoost extends AudioEffect { 166 private class BaseParameterListener implements AudioEffect.OnParameterChangeListener { 170 public void onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) { in onParameterChange()
|
D | PresetReverb.java | 19 import android.media.audiofx.AudioEffect; 53 public class PresetReverb extends AudioEffect { 182 private class BaseParameterListener implements AudioEffect.OnParameterChangeListener { 186 public void onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) { in onParameterChange()
|
D | Virtualizer.java | 22 import android.media.audiofx.AudioEffect; 51 public class Virtualizer extends AudioEffect { 239 } else if (status == AudioEffect.ERROR_BAD_VALUE) { in getAnglesInt() 443 } else if (status == AudioEffect.ERROR_BAD_VALUE) { in forceVirtualizationMode() 475 } else if (status == AudioEffect.ERROR_BAD_VALUE) { in getVirtualizationMode() 508 private class BaseParameterListener implements AudioEffect.OnParameterChangeListener { 512 public void onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) { in onParameterChange()
|
/frameworks/wilhelm/src/ |
D | itfstruct.h | 225 android::sp<android::AudioEffect> mBassBoostEffect; 323 android::sp<android::AudioEffect> mEnvironmentalReverbEffect; 358 android::sp<android::AudioEffect> mEqEffect; 521 android::sp<android::AudioEffect> mPresetReverbEffect; 579 android::sp<android::AudioEffect> mVirtualizerEffect; 645 android::KeyedVector<SLuint32, android::sp<android::AudioEffect> > *mEffects; 689 android::sp<android::AudioEffect> mAECEffect; 697 android::sp<android::AudioEffect> mAGCEffect; 705 android::sp<android::AudioEffect> mNSEffect;
|