Home
last modified time | relevance | path

Searched refs:audioSession (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/media/java/android/media/audiofx/
DNoiseSuppressor.java63 public static NoiseSuppressor create(int audioSession) { in create() argument
66 ns = new NoiseSuppressor(audioSession); in create()
95 private NoiseSuppressor(int audioSession) in NoiseSuppressor() argument
97 super(EFFECT_TYPE_NS, EFFECT_TYPE_NULL, 0, audioSession); in NoiseSuppressor()
DAcousticEchoCanceler.java61 public static AcousticEchoCanceler create(int audioSession) { in create() argument
64 aec = new AcousticEchoCanceler(audioSession); in create()
93 private AcousticEchoCanceler(int audioSession) in AcousticEchoCanceler() argument
95 super(EFFECT_TYPE_AEC, EFFECT_TYPE_NULL, 0, audioSession); in AcousticEchoCanceler()
DAutomaticGainControl.java61 public static AutomaticGainControl create(int audioSession) { in create() argument
64 agc = new AutomaticGainControl(audioSession); in create()
93 private AutomaticGainControl(int audioSession) in AutomaticGainControl() argument
95 super(EFFECT_TYPE_AGC, EFFECT_TYPE_NULL, 0, audioSession); in AutomaticGainControl()
DLoudnessEnhancer.java77 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()
DBassBoost.java91 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()
DPresetReverb.java126 public PresetReverb(int priority, int audioSession) in PresetReverb() argument
128 super(EFFECT_TYPE_PRESET_REVERB, EFFECT_TYPE_NULL, priority, audioSession); in PresetReverb()
DAudioEffect.java390 public AudioEffect(UUID type, UUID uuid, int priority, int audioSession) in AudioEffect() argument
397 type.toString(), uuid.toString(), priority, audioSession, id, in AudioEffect()
474 static public Descriptor[] queryPreProcessings(int audioSession) { in queryPreProcessings() argument
475 return (Descriptor[]) native_query_pre_processing(audioSession); in queryPreProcessings()
1220 String uuid, int priority, int audioSession, int[] id, Object[] desc); in native_setup() argument
1243 private static native Object[] native_query_pre_processing(int audioSession); in native_query_pre_processing() argument
DVisualizer.java202 public Visualizer(int audioSession) in Visualizer() argument
209 int result = native_setup(new WeakReference<Visualizer>(this), audioSession, id); in Visualizer()
718 int audioSession, in native_setup() argument
DEqualizer.java136 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()
DVirtualizer.java117 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()
DEnvironmentalReverb.java136 public EnvironmentalReverb(int priority, int audioSession) in EnvironmentalReverb() argument
138 super(EFFECT_TYPE_ENV_REVERB, EFFECT_TYPE_NULL, priority, audioSession); in EnvironmentalReverb()
/frameworks/av/services/audiopolicy/
DAudioPolicyEffects.cpp82 int audioSession) in addInputEffects() argument
99 inputDesc = new EffectVector(audioSession); in addInputEffects()
113 audioSession, input); in addInputEffects()
155 status_t AudioPolicyEffects::queryDefaultInputEffects(int audioSession, in queryDefaultInputEffects() argument
164 if (mInputs.valueAt(index)->mSessionId == audioSession) { in queryDefaultInputEffects()
188 status_t AudioPolicyEffects::queryDefaultOutputSessionEffects(int audioSession, in queryDefaultOutputSessionEffects() argument
197 if (mOutputSessions.valueAt(index)->mSessionId == audioSession) { in queryDefaultOutputSessionEffects()
223 int audioSession) in addOutputSessionEffects() argument
240 ssize_t idx = mOutputSessions.indexOfKey(audioSession); in addOutputSessionEffects()
243 procDesc = new EffectVector(audioSession); in addOutputSessionEffects()
[all …]
DAudioPolicyEffects.h54 status_t queryDefaultInputEffects(int audioSession,
62 int audioSession);
70 status_t queryDefaultOutputSessionEffects(int audioSession,
78 int audioSession);
83 int audioSession);
DAudioPolicyInterfaceImplLegacy.cpp489 status_t AudioPolicyService::queryDefaultPreProcessing(int audioSession, in queryDefaultPreProcessing() argument
506 return audioPolicyEffects->queryDefaultInputEffects(audioSession, descriptors, count); in queryDefaultPreProcessing()
DAudioPolicyInterfaceImpl.cpp511 status_t AudioPolicyService::queryDefaultPreProcessing(int audioSession, in queryDefaultPreProcessing() argument
528 return audioPolicyEffects->queryDefaultInputEffects(audioSession, descriptors, count); in queryDefaultPreProcessing()
/frameworks/av/include/media/
DIAudioFlinger.h181 virtual void acquireAudioSessionId(int audioSession, pid_t pid) = 0;
182 virtual void releaseAudioSessionId(int audioSession, pid_t pid) = 0;
DAudioSystem.h146 static void acquireAudioSessionId(int audioSession, pid_t pid);
147 static void releaseAudioSessionId(int audioSession, pid_t pid);
DAudioEffect.h142 static status_t queryDefaultPreProcessing(int audioSession,
DIAudioPolicyService.h114 virtual status_t queryDefaultPreProcessing(int audioSession,
/frameworks/av/media/libmedia/
DIAudioFlinger.cpp620 virtual void acquireAudioSessionId(int audioSession, int pid) in acquireAudioSessionId() argument
624 data.writeInt32(audioSession); in acquireAudioSessionId()
629 virtual void releaseAudioSessionId(int audioSession, int pid) in releaseAudioSessionId() argument
633 data.writeInt32(audioSession); in releaseAudioSessionId()
1196 int audioSession = data.readInt32(); in onTransact() local
1198 acquireAudioSessionId(audioSession, pid); in onTransact()
1203 int audioSession = data.readInt32(); in onTransact() local
1205 releaseAudioSessionId(audioSession, pid); in onTransact()
DAudioEffect.cpp431 status_t AudioEffect::queryDefaultPreProcessing(int audioSession, in queryDefaultPreProcessing() argument
437 return aps->queryDefaultPreProcessing(audioSession, descriptors, count); in queryDefaultPreProcessing()
DAudioSystem.cpp433 void AudioSystem::acquireAudioSessionId(int audioSession, pid_t pid) in acquireAudioSessionId() argument
437 af->acquireAudioSessionId(audioSession, pid); in acquireAudioSessionId()
441 void AudioSystem::releaseAudioSessionId(int audioSession, pid_t pid) in releaseAudioSessionId() argument
445 af->releaseAudioSessionId(audioSession, pid); in releaseAudioSessionId()
DIAudioPolicyService.cpp468 virtual status_t queryDefaultPreProcessing(int audioSession, in queryDefaultPreProcessing() argument
477 data.writeInt32(audioSession); in queryDefaultPreProcessing()
1020 int audioSession = data.readInt32(); in onTransact() local
1027 status_t status = queryDefaultPreProcessing(audioSession, descriptors, &retCount); in onTransact()
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp2192 void AudioFlinger::acquireAudioSessionId(int audioSession, pid_t pid) in acquireAudioSessionId() argument
2196 ALOGV("acquiring %d from %d, for %d", audioSession, caller, pid); in acquireAudioSessionId()
2208 ALOGW("acquireAudioSessionId() unknown client %d for session %d", caller, audioSession); in acquireAudioSessionId()
2216 if (ref->mSessionid == audioSession && ref->mPid == caller) { in acquireAudioSessionId()
2222 mAudioSessionRefs.push(new AudioSessionRef(audioSession, caller)); in acquireAudioSessionId()
2223 ALOGV(" added new entry for %d", audioSession); in acquireAudioSessionId()
2226 void AudioFlinger::releaseAudioSessionId(int audioSession, pid_t pid) in releaseAudioSessionId() argument
2230 ALOGV("releasing %d from %d for %d", audioSession, caller, pid); in releaseAudioSessionId()
2237 if (ref->mSessionid == audioSession && ref->mPid == caller) { in releaseAudioSessionId()
2250 ALOGW_IF(caller != getpid_cached, "session id %d not found for pid %d", audioSession, caller); in releaseAudioSessionId()
DAudioFlinger.h199 virtual void acquireAudioSessionId(int audioSession, pid_t pid);
201 virtual void releaseAudioSessionId(int audioSession, pid_t pid);

12