/frameworks/base/media/java/android/media/audiofx/ |
D | HapticGenerator.java | 71 public static @NonNull HapticGenerator create(int audioSession) { in create() argument 72 return new HapticGenerator(audioSession); in create() 84 private HapticGenerator(int audioSession) { in HapticGenerator() argument 85 super(EFFECT_TYPE_HAPTIC_GENERATOR, EFFECT_TYPE_NULL, 0, audioSession); in HapticGenerator() 90 audioSession); in HapticGenerator()
|
D | AutomaticGainControl.java | 61 public static AutomaticGainControl create(int audioSession) { in create() argument 64 agc = new AutomaticGainControl(audioSession); in create() 92 private AutomaticGainControl(int audioSession) in AutomaticGainControl() argument 94 super(EFFECT_TYPE_AGC, EFFECT_TYPE_NULL, 0, audioSession); in AutomaticGainControl()
|
D | NoiseSuppressor.java | 63 public static NoiseSuppressor create(int audioSession) { in create() argument 66 ns = new NoiseSuppressor(audioSession); in create() 94 private NoiseSuppressor(int audioSession) in NoiseSuppressor() argument 96 super(EFFECT_TYPE_NS, EFFECT_TYPE_NULL, 0, audioSession); in NoiseSuppressor()
|
D | AcousticEchoCanceler.java | 61 public static AcousticEchoCanceler create(int audioSession) { in create() argument 64 aec = new AcousticEchoCanceler(audioSession); in create() 92 private AcousticEchoCanceler(int audioSession) in AcousticEchoCanceler() argument 94 super(EFFECT_TYPE_AEC, EFFECT_TYPE_NULL, 0, audioSession); in AcousticEchoCanceler()
|
D | LoudnessEnhancer.java | 77 public LoudnessEnhancer(int audioSession) in LoudnessEnhancer() argument 80 super(EFFECT_TYPE_LOUDNESS_ENHANCER, EFFECT_TYPE_NULL, 0, audioSession); in LoudnessEnhancer() 82 if (audioSession == 0) { in LoudnessEnhancer() 103 public LoudnessEnhancer(int priority, int audioSession) in LoudnessEnhancer() argument 106 super(EFFECT_TYPE_LOUDNESS_ENHANCER, EFFECT_TYPE_NULL, priority, audioSession); in LoudnessEnhancer() 108 if (audioSession == 0) { in LoudnessEnhancer()
|
D | BassBoost.java | 91 public BassBoost(int priority, int audioSession) in BassBoost() argument 94 super(EFFECT_TYPE_BASS_BOOST, EFFECT_TYPE_NULL, priority, audioSession); in BassBoost() 96 if (audioSession == 0) { in BassBoost()
|
D | AudioEffect.java | 472 public AudioEffect(UUID type, UUID uuid, int priority, int audioSession) in AudioEffect() argument 475 this(type, uuid, priority, audioSession, null); in AudioEffect() 498 int audioSession, @Nullable AudioDeviceAttributes device) in AudioEffect() argument 501 this(type, uuid, priority, audioSession, device, false); in AudioEffect() 505 int audioSession, @Nullable AudioDeviceAttributes device, boolean probe) in AudioEffect() argument 529 priority, audioSession, deviceType, deviceAddress, id, desc, in AudioEffect() 632 static public Descriptor[] queryPreProcessings(int audioSession) { in queryPreProcessings() argument 633 return (Descriptor[]) native_query_pre_processing(audioSession); in queryPreProcessings() 1396 String uuid, int priority, int audioSession, in native_setup() argument 1421 private static native Object[] native_query_pre_processing(int audioSession); in native_query_pre_processing() argument
|
D | PresetReverb.java | 126 public PresetReverb(int priority, int audioSession) in PresetReverb() argument 128 super(EFFECT_TYPE_PRESET_REVERB, EFFECT_TYPE_NULL, priority, audioSession); in PresetReverb()
|
D | Visualizer.java | 217 public Visualizer(int audioSession) in Visualizer() argument 229 result = native_setup(new WeakReference<>(this), audioSession, id, in Visualizer() 696 int audioSession, in native_setup() argument
|
D | Equalizer.java | 136 public Equalizer(int priority, int audioSession) in Equalizer() argument 139 super(EFFECT_TYPE_EQUALIZER, EFFECT_TYPE_NULL, priority, audioSession); in Equalizer() 141 if (audioSession == 0) { in Equalizer()
|
D | Virtualizer.java | 117 public Virtualizer(int priority, int audioSession) in Virtualizer() argument 120 super(EFFECT_TYPE_VIRTUALIZER, EFFECT_TYPE_NULL, priority, audioSession); in Virtualizer() 122 if (audioSession == 0) { in Virtualizer()
|
D | EnvironmentalReverb.java | 136 public EnvironmentalReverb(int priority, int audioSession) in EnvironmentalReverb() argument 138 super(EFFECT_TYPE_ENV_REVERB, EFFECT_TYPE_NULL, priority, audioSession); in EnvironmentalReverb()
|
D | DynamicsProcessing.java | 148 public DynamicsProcessing(int audioSession) { in DynamicsProcessing() argument 149 this(0 /*priority*/, audioSession); in DynamicsProcessing() 163 public DynamicsProcessing(int priority, int audioSession) { in DynamicsProcessing() argument 164 this(priority, audioSession, null); in DynamicsProcessing() 182 public DynamicsProcessing(int priority, int audioSession, @Nullable Config cfg) { in DynamicsProcessing() argument 183 super(EFFECT_TYPE_DYNAMICS_PROCESSING, EFFECT_TYPE_NULL, priority, audioSession); in DynamicsProcessing() 184 if (audioSession == 0) { in DynamicsProcessing()
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyEffects.cpp | 95 audio_session_t audioSession) in addInputEffects() argument 109 ssize_t idx = mInputSessions.indexOfKey(audioSession); in addInputEffects() 112 sessionDesc = new EffectVector(audioSession); in addInputEffects() 113 mInputSessions.add(audioSession, sessionDesc); in addInputEffects() 130 fx->set(NULL, &effect->mUuid, -1, 0, 0, audioSession, input); in addInputEffects() 153 audio_session_t audioSession) in releaseInputEffects() argument 158 ssize_t index = mInputSessions.indexOfKey(audioSession); in releaseInputEffects() 174 status_t AudioPolicyEffects::queryDefaultInputEffects(audio_session_t audioSession, in queryDefaultInputEffects() argument 183 if (mInputSessions.valueAt(index)->mSessionId == audioSession) { in queryDefaultInputEffects() 207 status_t AudioPolicyEffects::queryDefaultOutputSessionEffects(audio_session_t audioSession, in queryDefaultOutputSessionEffects() argument [all …]
|
D | AudioPolicyEffects.h | 56 status_t queryDefaultInputEffects(audio_session_t audioSession, 64 audio_session_t audioSession); 68 audio_session_t audioSession); 72 status_t queryDefaultOutputSessionEffects(audio_session_t audioSession, 80 audio_session_t audioSession); 85 audio_session_t audioSession);
|
/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/ |
D | SoundTriggerModule.java | 246 SoundTriggerMiddlewareImpl.AudioSessionProvider.AudioSession audioSession = in loadModel() local 251 return loadedModel.load(model, audioSession); in loadModel() 256 mAudioSessionProvider.releaseSession(audioSession.mSessionHandle); in loadModel() 268 SoundTriggerMiddlewareImpl.AudioSessionProvider.AudioSession audioSession = in loadPhraseModel() local 273 int result = loadedModel.load(model, audioSession); in loadPhraseModel() 280 mAudioSessionProvider.releaseSession(audioSession.mSessionHandle); in loadPhraseModel() 395 SoundTriggerMiddlewareImpl.AudioSessionProvider.AudioSession audioSession) { in load() argument 396 mSession = audioSession; in load() 405 SoundTriggerMiddlewareImpl.AudioSessionProvider.AudioSession audioSession) { in load() argument 406 mSession = audioSession; in load()
|
/frameworks/av/media/libaudioclient/aidl/android/media/ |
D | IAudioFlingerService.aidl | 145 void acquireAudioSessionId(int /* audio_session_t */ audioSession, in acquireAudioSessionId() argument 148 void releaseAudioSessionId(int /* audio_session_t */ audioSession, in releaseAudioSessionId() argument
|
D | IAudioPolicyService.aidl | 168 EffectDescriptor[] queryDefaultPreProcessing(int /* audio_session_t */ audioSession, in queryDefaultPreProcessing() argument
|
/frameworks/av/media/libaudioclient/include/media/ |
D | IAudioFlinger.h | 277 virtual void acquireAudioSessionId(audio_session_t audioSession, pid_t pid, uid_t uid) = 0; 278 virtual void releaseAudioSessionId(audio_session_t audioSession, pid_t pid) = 0; 430 void acquireAudioSessionId(audio_session_t audioSession, pid_t pid, uid_t uid) override; 431 void releaseAudioSessionId(audio_session_t audioSession, pid_t pid) override; 651 Status acquireAudioSessionId(int32_t audioSession, int32_t pid, int32_t uid) override; 652 Status releaseAudioSessionId(int32_t audioSession, int32_t pid) override;
|
D | AudioEffect.h | 149 static status_t queryDefaultPreProcessing(audio_session_t audioSession,
|
D | AudioSystem.h | 226 static void acquireAudioSessionId(audio_session_t audioSession, pid_t pid, uid_t uid); 227 static void releaseAudioSessionId(audio_session_t audioSession, pid_t pid);
|
/frameworks/av/media/libaudioclient/ |
D | IAudioFlinger.cpp | 532 void AudioFlingerClientAdapter::acquireAudioSessionId(audio_session_t audioSession, pid_t pid, in acquireAudioSessionId() argument 536 legacy2aidl_audio_session_t_int32_t(audioSession)); in acquireAudioSessionId() 545 void AudioFlingerClientAdapter::releaseAudioSessionId(audio_session_t audioSession, pid_t pid) { in releaseAudioSessionId() argument 548 legacy2aidl_audio_session_t_int32_t(audioSession)); in releaseAudioSessionId() 1113 AudioFlingerServerAdapter::acquireAudioSessionId(int32_t audioSession, int32_t pid, int32_t uid) { in acquireAudioSessionId() argument 1115 aidl2legacy_int32_t_audio_session_t(audioSession)); in acquireAudioSessionId() 1122 Status AudioFlingerServerAdapter::releaseAudioSessionId(int32_t audioSession, int32_t pid) { in releaseAudioSessionId() argument 1124 aidl2legacy_int32_t_audio_session_t(audioSession)); in releaseAudioSessionId()
|
/frameworks/av/services/audioflinger/ |
D | AudioFlinger.h | 217 void acquireAudioSessionId(audio_session_t audioSession, pid_t pid, uid_t uid) override; 219 virtual void releaseAudioSessionId(audio_session_t audioSession, pid_t pid); 818 bool isSessionAcquired_l(audio_session_t audioSession);
|
D | AudioFlinger.cpp | 3365 audio_session_t audioSession, pid_t pid, uid_t uid) in acquireAudioSessionId() argument 3369 ALOGV("acquiring %d from %d, for %d", audioSession, caller, pid); in acquireAudioSessionId() 3385 ALOGW("acquireAudioSessionId() unknown client %d for session %d", caller, audioSession); in acquireAudioSessionId() 3393 if (ref->mSessionid == audioSession && ref->mPid == caller) { in acquireAudioSessionId() 3399 mAudioSessionRefs.push(new AudioSessionRef(audioSession, caller, uid)); in acquireAudioSessionId() 3400 ALOGV(" added new entry for %d", audioSession); in acquireAudioSessionId() 3403 void AudioFlinger::releaseAudioSessionId(audio_session_t audioSession, pid_t pid) in releaseAudioSessionId() argument 3409 ALOGV("releasing %d from %d for %d", audioSession, caller, pid); in releaseAudioSessionId() 3417 if (ref->mSessionid == audioSession && ref->mPid == caller) { in releaseAudioSessionId() 3432 "session id %d not found for pid %d", audioSession, caller); in releaseAudioSessionId() [all …]
|
/frameworks/base/media/jni/audioeffect/ |
D | android_media_AudioEffect.cpp | 776 jint audioSession) in android_media_AudioEffect_native_queryPreProcessings() argument 781 status_t status = AudioEffect::queryDefaultPreProcessing((audio_session_t) audioSession, in android_media_AudioEffect_native_queryPreProcessings()
|