Home
last modified time | relevance | path

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

12

/frameworks/base/media/java/android/media/audiofx/
DHapticGenerator.java71 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()
DAutomaticGainControl.java61 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()
DAcousticEchoCanceler.java61 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()
DNoiseSuppressor.java63 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()
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()
DAudioEffect.java472 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
524 priority, audioSession, deviceType, deviceAddress, id, desc, in AudioEffect()
627 static public Descriptor[] queryPreProcessings(int audioSession) { in queryPreProcessings() argument
628 return (Descriptor[]) native_query_pre_processing(audioSession); in queryPreProcessings()
1391 String uuid, int priority, int audioSession, in native_setup() argument
1416 private static native Object[] native_query_pre_processing(int audioSession); in native_query_pre_processing() argument
DPresetReverb.java126 public PresetReverb(int priority, int audioSession) in PresetReverb() argument
128 super(EFFECT_TYPE_PRESET_REVERB, EFFECT_TYPE_NULL, priority, audioSession); in PresetReverb()
DVisualizer.java217 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
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()
DDynamicsProcessing.java148 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/
DAudioPolicyEffects.cpp95 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 …]
DAudioPolicyEffects.h56 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/
DSoundTriggerModule.java279 SoundTriggerMiddlewareImpl.AudioSessionProvider.AudioSession audioSession = in loadModel() local
290 int result = loadedModel.load(model, audioSession); in loadModel()
298 mAudioSessionProvider.releaseSession(audioSession.mSessionHandle); in loadModel()
310 SoundTriggerMiddlewareImpl.AudioSessionProvider.AudioSession audioSession = in loadPhraseModel() local
321 int result = loadedModel.load(model, audioSession); in loadPhraseModel()
330 mAudioSessionProvider.releaseSession(audioSession.mSessionHandle); in loadPhraseModel()
475 SoundTriggerMiddlewareImpl.AudioSessionProvider.AudioSession audioSession) { in load() argument
477 mSession = audioSession; in load()
487 SoundTriggerMiddlewareImpl.AudioSessionProvider.AudioSession audioSession) { in load() argument
489 mSession = audioSession; in load()
/frameworks/av/media/libaudioclient/aidl/android/media/
DIAudioFlingerService.aidl141 void acquireAudioSessionId(int /* audio_session_t */ audioSession, in acquireAudioSessionId() argument
144 void releaseAudioSessionId(int /* audio_session_t */ audioSession, in releaseAudioSessionId() argument
DIAudioPolicyService.aidl166 EffectDescriptor[] queryDefaultPreProcessing(int /* audio_session_t */ audioSession, in queryDefaultPreProcessing() argument
/frameworks/av/media/libaudioclient/include/media/
DIAudioFlinger.h274 virtual void acquireAudioSessionId(audio_session_t audioSession, pid_t pid, uid_t uid) = 0;
275 virtual void releaseAudioSessionId(audio_session_t audioSession, pid_t pid) = 0;
407 void acquireAudioSessionId(audio_session_t audioSession, pid_t pid, uid_t uid) override;
408 void releaseAudioSessionId(audio_session_t audioSession, pid_t pid) override;
604 Status acquireAudioSessionId(int32_t audioSession, int32_t pid, int32_t uid) override;
605 Status releaseAudioSessionId(int32_t audioSession, int32_t pid) override;
DAudioEffect.h149 static status_t queryDefaultPreProcessing(audio_session_t audioSession,
DAudioSystem.h217 static void acquireAudioSessionId(audio_session_t audioSession, pid_t pid, uid_t uid);
218 static void releaseAudioSessionId(audio_session_t audioSession, pid_t pid);
/frameworks/av/media/libaudioclient/
DIAudioFlinger.cpp520 void AudioFlingerClientAdapter::acquireAudioSessionId(audio_session_t audioSession, pid_t pid, in acquireAudioSessionId() argument
524 legacy2aidl_audio_session_t_int32_t(audioSession)); in acquireAudioSessionId()
533 void AudioFlingerClientAdapter::releaseAudioSessionId(audio_session_t audioSession, pid_t pid) { in releaseAudioSessionId() argument
536 legacy2aidl_audio_session_t_int32_t(audioSession)); in releaseAudioSessionId()
1035 AudioFlingerServerAdapter::acquireAudioSessionId(int32_t audioSession, int32_t pid, int32_t uid) { in acquireAudioSessionId() argument
1037 aidl2legacy_int32_t_audio_session_t(audioSession)); in acquireAudioSessionId()
1044 Status AudioFlingerServerAdapter::releaseAudioSessionId(int32_t audioSession, int32_t pid) { in releaseAudioSessionId() argument
1046 aidl2legacy_int32_t_audio_session_t(audioSession)); in releaseAudioSessionId()
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp3060 audio_session_t audioSession, pid_t pid, uid_t uid) in acquireAudioSessionId() argument
3064 ALOGV("acquiring %d from %d, for %d", audioSession, caller, pid); in acquireAudioSessionId()
3080 ALOGW("acquireAudioSessionId() unknown client %d for session %d", caller, audioSession); in acquireAudioSessionId()
3088 if (ref->mSessionid == audioSession && ref->mPid == caller) { in acquireAudioSessionId()
3094 mAudioSessionRefs.push(new AudioSessionRef(audioSession, caller, uid)); in acquireAudioSessionId()
3095 ALOGV(" added new entry for %d", audioSession); in acquireAudioSessionId()
3098 void AudioFlinger::releaseAudioSessionId(audio_session_t audioSession, pid_t pid) in releaseAudioSessionId() argument
3104 ALOGV("releasing %d from %d for %d", audioSession, caller, pid); in releaseAudioSessionId()
3112 if (ref->mSessionid == audioSession && ref->mPid == caller) { in releaseAudioSessionId()
3127 "session id %d not found for pid %d", audioSession, caller); in releaseAudioSessionId()
[all …]
DAudioFlinger.h216 void acquireAudioSessionId(audio_session_t audioSession, pid_t pid, uid_t uid) override;
218 virtual void releaseAudioSessionId(audio_session_t audioSession, pid_t pid);
795 bool isSessionAcquired_l(audio_session_t audioSession);
/frameworks/base/media/jni/audioeffect/
Dandroid_media_AudioEffect.cpp756 jint audioSession) in android_media_AudioEffect_native_queryPreProcessings() argument
761 status_t status = AudioEffect::queryDefaultPreProcessing((audio_session_t) audioSession, in android_media_AudioEffect_native_queryPreProcessings()

12