/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 | 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 | 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 | 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 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
|
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 | 279 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/ |
D | IAudioFlingerService.aidl | 141 void acquireAudioSessionId(int /* audio_session_t */ audioSession, in acquireAudioSessionId() argument 144 void releaseAudioSessionId(int /* audio_session_t */ audioSession, in releaseAudioSessionId() argument
|
D | IAudioPolicyService.aidl | 166 EffectDescriptor[] queryDefaultPreProcessing(int /* audio_session_t */ audioSession, in queryDefaultPreProcessing() argument
|
/frameworks/av/media/libaudioclient/include/media/ |
D | IAudioFlinger.h | 274 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;
|
D | AudioEffect.h | 149 static status_t queryDefaultPreProcessing(audio_session_t audioSession,
|
D | AudioSystem.h | 217 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/ |
D | IAudioFlinger.cpp | 520 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/ |
D | AudioFlinger.cpp | 3060 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 …]
|
D | AudioFlinger.h | 216 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/ |
D | android_media_AudioEffect.cpp | 756 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()
|