Home
last modified time | relevance | path

Searched refs:audio_session_t (Results 1 – 25 of 75) sorted by relevance

123

/frameworks/av/services/audiopolicy/service/
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);
187 explicit EffectVector(audio_session_t session) : mSessionId(session), mRefCount(0) {} in EffectVector()
193 const audio_session_t mSessionId;
260 KeyedVector< audio_session_t, EffectVector* > mInputSessions;
265 KeyedVector< audio_session_t, EffectVector* > mOutputSessions;
DAudioPolicyService.h84 audio_session_t session,
99 audio_session_t session,
140 audio_session_t session,
149 virtual status_t queryDefaultPreProcessing(audio_session_t audioSession,
219 virtual status_t acquireSoundTriggerSession(audio_session_t *session,
223 virtual status_t releaseSoundTriggerSession(audio_session_t session);
327 audio_session_t sessionId,
521 audio_session_t sessionId,
624 audio_session_t mSessionId;
708 virtual status_t moveEffects(audio_session_t session,
[all …]
/frameworks/wilhelm/src/android/
Dandroid_Effect.h20 extern void android_eq_init(audio_session_t sessionId, IEqualizer* ieq);
31 extern void android_bb_init(audio_session_t sessionId, IBassBoost* ibb);
42 extern void android_virt_init(audio_session_t sessionId, IVirtualizer* ivi);
75 extern void android_aec_init(audio_session_t sessionId, IAndroidAcousticEchoCancellation* iaec);
80 extern void android_agc_init(audio_session_t sessionId, IAndroidAutomaticGainControl* iagc);
85 extern void android_ns_init(audio_session_t sessionId, IAndroidNoiseSuppression* ins);
95 audio_session_t sessionId);
147 extern bool android_fx_initEffectObj(audio_session_t sessionId,
/frameworks/av/media/libaudioclient/include/media/
DIAudioFlinger.h94 (void)parcel->read(&sessionId, sizeof(audio_session_t)); in readFromParcel()
118 (void)parcel->write(&sessionId, sizeof(audio_session_t)); in writeToParcel()
136 audio_session_t sessionId;
151 (void)parcel->read(&sessionId, sizeof(audio_session_t)); in readFromParcel()
169 (void)parcel->write(&sessionId, sizeof(audio_session_t)); in writeToParcel()
186 audio_session_t sessionId;
227 (void)parcel->read(&sessionId, sizeof(audio_session_t)); in readFromParcel()
244 (void)parcel->write(&sessionId, sizeof(audio_session_t)); in writeToParcel()
260 audio_session_t sessionId;
275 (void)parcel->read(&sessionId, sizeof(audio_session_t)); in readFromParcel()
[all …]
DAudioEffect.h149 static status_t queryDefaultPreProcessing(audio_session_t audioSession,
380 audio_session_t sessionId = AUDIO_SESSION_OUTPUT_MIX,
394 audio_session_t sessionId = AUDIO_SESSION_OUTPUT_MIX,
417 audio_session_t sessionId = AUDIO_SESSION_OUTPUT_MIX,
551 audio_session_t mSessionId; // audio session ID
DIAudioPolicyService.h69 audio_session_t session,
84 audio_session_t session,
123 audio_session_t session,
132 virtual status_t queryDefaultPreProcessing(audio_session_t audioSession,
189 virtual status_t acquireSoundTriggerSession(audio_session_t *session,
193 virtual status_t releaseSoundTriggerSession(audio_session_t session) = 0;
DAudioSystem.h185 static void acquireAudioSessionId(audio_session_t audioSession, pid_t pid, uid_t uid);
186 static void releaseAudioSessionId(audio_session_t audioSession, pid_t pid);
191 static audio_hw_sync_t getAudioHwSyncForSession(audio_session_t sessionId);
240 audio_session_t session,
258 audio_session_t session,
300 audio_session_t session,
355 static status_t acquireSoundTriggerSession(audio_session_t *session,
358 static status_t releaseSoundTriggerSession(audio_session_t session);
DAudioRecord.h194 audio_session_t sessionId = AUDIO_SESSION_ALLOCATE,
236 audio_session_t sessionId = AUDIO_SESSION_ALLOCATE,
299 audio_session_t triggerSession = AUDIO_SESSION_NONE);
408 audio_session_t getSessionId() const { return mSessionId; } in getSessionId()
702 audio_session_t mSessionId;
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DSoundTriggerSession.h25 class SoundTriggerSessionCollection : public DefaultKeyedVector<audio_session_t, audio_io_handle_t>
28 status_t releaseSession(audio_session_t session);
30 status_t acquireSession(audio_session_t session, audio_io_handle_t ioHandle);
DAudioInputDescriptor.h76 void setPreemptedSessions(const SortedVector<audio_session_t>& sessions);
77 SortedVector<audio_session_t> getPreemptedSessions() const;
78 bool hasPreemptedSession(audio_session_t session) const;
115 RecordClientVector getClientsForSession(audio_session_t session);
141 SortedVector<audio_session_t> mPreemptedSessions;
DEffectDescriptor.h32 int id, audio_io_handle_t io, audio_session_t session) : in EffectDescriptor()
43 audio_session_t mSession; // audio session the effect is on
70 void moveEffects(audio_session_t session,
DClientDescriptor.h46 ClientDescriptor(audio_port_handle_t portId, uid_t uid, audio_session_t sessionId,
60 audio_session_t session() const { return mSessionId; }; in session()
77 const audio_session_t mSessionId; // audio session ID
88 TrackClientDescriptor(audio_port_handle_t portId, uid_t uid, audio_session_t sessionId, in TrackClientDescriptor()
156 audio_session_t sessionId, audio_attributes_t attributes, in RecordClientDescriptor()
/frameworks/av/services/audioflinger/
DAudioFlinger.h221 void acquireAudioSessionId(audio_session_t audioSession, pid_t pid, uid_t uid) override;
223 virtual void releaseAudioSessionId(audio_session_t audioSession, pid_t pid);
239 audio_session_t sessionId,
248 virtual status_t moveEffects(audio_session_t sessionId, audio_io_handle_t srcOutput,
252 audio_session_t sessionId,
284 virtual audio_hw_sync_t getAudioHwSyncForSession(audio_session_t sessionId);
310 audio_session_t *sessionId,
341 audio_session_t triggerSession, in SyncEvent()
342 audio_session_t listenerSession, in SyncEvent()
358 audio_session_t triggerSession() const { return mTriggerSession; } in triggerSession()
[all …]
DThreads.h353 audio_session_t sessionId,
371 sp<EffectChain> getEffectChain(audio_session_t sessionId);
373 sp<EffectChain> getEffectChain_l(audio_session_t sessionId) const;
374 std::vector<int> getEffectIds_l(audio_session_t sessionId);
391 sp<AudioFlinger::EffectModule> getEffect(audio_session_t sessionId, int effectId);
392 sp<AudioFlinger::EffectModule> getEffect_l(audio_session_t sessionId, int effectId);
408 virtual uint32_t hasAudioSession_l(audio_session_t sessionId) const = 0;
409 uint32_t hasAudioSession(audio_session_t sessionId) const { in hasAudioSession()
415 uint32_t hasAudioSession_l(audio_session_t sessionId, const T& tracks) const { in hasAudioSession_l()
437 virtual uint32_t getStrategyForSession_l(audio_session_t sessionId __unused) in getStrategyForSession_l()
[all …]
DMmapTracks.h30 audio_session_t sessionId,
41 audio_session_t triggerSession);
DTrackBase.h66 audio_session_t sessionId,
78 audio_session_t triggerSession) = 0;
82 audio_session_t sessionId() const { return mSessionId; } in sessionId()
360 const audio_session_t mSessionId;
DEffects.h92 audio_session_t sessionId,
111 audio_session_t sessionId() const { in sessionId()
175 const audio_session_t mSessionId; // audio session ID
209 audio_session_t sessionId,
404 EffectChain(const wp<ThreadBase>& wThread, audio_session_t sessionId);
427 audio_session_t sessionId,
433 audio_session_t sessionId() const { return mSessionId; } in sessionId()
434 void setSessionId(audio_session_t sessionId) { mSessionId = sessionId; } in setSessionId()
606 audio_session_t mSessionId; // audio session ID
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DSoundTriggerSession.cpp25 status_t SoundTriggerSessionCollection::acquireSession(audio_session_t session, in acquireSession()
33 status_t SoundTriggerSessionCollection::releaseSession(audio_session_t session) in releaseSession()
/frameworks/base/services/core/jni/
Dcom_android_server_soundtrigger_middleware_AudioSessionProviderImpl.cpp34 audio_session_t session; in acquireAudioSession()
62 AudioSystem::releaseSoundTriggerSession(static_cast<audio_session_t>(handle)); in releaseAudioSession()
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h123 audio_session_t session,
143 audio_session_t session,
244 virtual status_t acquireSoundTriggerSession(audio_session_t *session,
248 virtual status_t releaseSoundTriggerSession(audio_session_t session) = 0;
380 virtual status_t moveEffects(audio_session_t session,
385 audio_session_t sessionId,
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.h80 audio_session_t sessionId,
98 virtual audio_session_t getSessionId() const;
169 audio_session_t mSessionId;
238 audio_session_t audioSessionId);
382 audio_session_t getAudioSessionId() { return mAudioSessionId; } in getAudioSessionId()
412 audio_session_t audioSessionId,
461 audio_session_t mAudioSessionId;
/frameworks/av/media/libmedia/
DIMediaPlayerService.cpp65 const sp<IMediaPlayerClient>& client, audio_session_t audioSessionId) { in create()
129 audio_session_t audioSessionId = (audio_session_t) data.readInt32(); in onTransact()
/frameworks/av/services/audiopolicy/tests/
DAudioPolicyTestClient.h63 status_t moveEffects(audio_session_t /*session*/, in moveEffects() argument
87 audio_session_t sessionId __unused, in setEffectSuspended()
/frameworks/av/media/libmedia/include/media/
Dmediaplayer.h255 status_t setAudioSessionId(audio_session_t sessionId);
256 audio_session_t getAudioSessionId();
307 audio_session_t mAudioSessionId;
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h117 audio_session_t session,
132 audio_session_t session,
254 virtual status_t acquireSoundTriggerSession(audio_session_t *session,
258 virtual status_t releaseSoundTriggerSession(audio_session_t session) in releaseSoundTriggerSession()
832 audio_session_t session,
845 audio_session_t session,
856 audio_session_t session,
874 audio_session_t session,

123