Home
last modified time | relevance | path

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

12345

/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DEffectDescriptor.h36 audio_io_handle_t io, audio_session_t session) in EffectDescriptor()
53 audio_session_t mSession; // audio session the effect is on
80 void moveEffects(audio_session_t session,
85 void moveEffects(audio_session_t sessionId, audio_io_handle_t srcIo, audio_io_handle_t dstIo,
87 void moveEffectsForIo(audio_session_t sessionId, audio_io_handle_t dstIo,
89 void putOrphanEffects(audio_session_t sessionId, audio_io_handle_t srcIo,
101 audio_io_handle_t getIoForSession(audio_session_t sessionId,
103 bool hasOrphansForSession(audio_session_t sessionId) const;
104 EffectDescriptorCollection getOrphanEffectsForSession(audio_session_t sessionId) const;
115 bool hasOrphanEffectsForSessionAndType(audio_session_t sessionId,
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;
117 RecordClientVector getClientsForSession(audio_session_t session);
143 SortedVector<audio_session_t> mPreemptedSessions;
DAudioPolicyMix.h91 audio_session_t session,
102 audio_session_t session,
152 audio_session_t session);
/frameworks/av/services/audioflinger/timing/
DSyncEvent.h34 audio_session_t triggerSession, in SyncEvent()
35 audio_session_t listenerSession, in SyncEvent()
58 audio_session_t triggerSession() const { return mTriggerSession; } in triggerSession()
59 audio_session_t listenerSession() const { return mListenerSession; } in listenerSession()
64 const audio_session_t mTriggerSession;
65 const audio_session_t mListenerSession;
/frameworks/av/services/audiopolicy/service/
DAudioPolicyEffects.h66 status_t queryDefaultInputEffects(audio_session_t audioSession,
74 audio_session_t audioSession) EXCLUDES_AudioPolicyEffects_Mutex;
78 audio_session_t audioSession) EXCLUDES_AudioPolicyEffects_Mutex;
82 status_t queryDefaultOutputSessionEffects(audio_session_t audioSession,
90 audio_session_t audioSession) EXCLUDES_AudioPolicyEffects_Mutex;
95 audio_session_t audioSession) EXCLUDES_AudioPolicyEffects_Mutex;
170 explicit EffectVector(audio_session_t session) : mSessionId(session) {} in EffectVector()
175 const audio_session_t mSessionId;
258 std::map<audio_session_t, std::shared_ptr<EffectVector>> mInputSessions
265 std::map<audio_session_t, std::shared_ptr<EffectVector>> mOutputSessions
/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/services/audioflinger/
DIAfThread.h97 virtual status_t moveEffectChain_ll(audio_session_t sessionId,
108 audio_session_t triggerSession,
109 audio_session_t listenerSession,
243 audio_session_t sessionId,
267 virtual sp<IAfEffectChain> getEffectChain(audio_session_t sessionId) const
270 virtual sp<IAfEffectChain> getEffectChain_l(audio_session_t sessionId) const
272 virtual std::vector<int> getEffectIds_l(audio_session_t sessionId) const
296 virtual sp<IAfEffectModule> getEffect(audio_session_t sessionId, int effectId) const
298 virtual sp<IAfEffectModule> getEffect_l(audio_session_t sessionId, int effectId) const
319 virtual uint32_t hasAudioSession_l(audio_session_t sessionId) const REQUIRES(mutex()) = 0;
[all …]
DAudioFlinger.h150 void acquireAudioSessionId(audio_session_t audioSession, pid_t pid, uid_t uid) final
153 void releaseAudioSessionId(audio_session_t audioSession, pid_t pid) final
169 status_t moveEffects(audio_session_t sessionId, audio_io_handle_t srcOutput,
173 audio_session_t sessionId,
203 audio_hw_sync_t getAudioHwSyncForSession(audio_session_t sessionId) final
382 status_t moveEffectChain_ll(audio_session_t sessionId,
394 audio_session_t triggerSession,
395 audio_session_t listenerSession,
428 audio_session_t *sessionId,
534 audio_session_t sessionId, const T& threads) in findIoHandleBySessionId_l()
[all …]
DThreads.h406 audio_session_t sessionId,
430 sp<IAfEffectChain> getEffectChain(audio_session_t sessionId) const final;
432 sp<IAfEffectChain> getEffectChain_l(audio_session_t sessionId) const final REQUIRES(mutex());
433 std::vector<int> getEffectIds_l(audio_session_t sessionId) const final REQUIRES(mutex());
451 sp<IAfEffectModule> getEffect(audio_session_t sessionId, int effectId) const final;
452 sp<IAfEffectModule> getEffect_l(audio_session_t sessionId, int effectId) const final
468 uint32_t hasAudioSession_l(audio_session_t sessionId) const override REQUIRES(mutex()) = 0;
469 uint32_t hasAudioSession(audio_session_t sessionId) const final EXCLUDES_ThreadBase_Mutex { in hasAudioSession()
475 uint32_t hasAudioSession_l(audio_session_t sessionId, const T& tracks) const in hasAudioSession_l()
505 audio_session_t /* sessionId */) const override REQUIRES(mutex()){ in getStrategyForSession_l() argument
[all …]
DMmapTracks.h34 audio_session_t sessionId,
43 AudioSystem::sync_event_t event, audio_session_t triggerSession) final;
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DEffectDescriptor.cpp73 new EffectDescriptor(desc, isMusicEffect, id, io, (audio_session_t)session); in registerEffect()
184 void EffectDescriptorCollection::moveEffects(audio_session_t sessionId, audio_io_handle_t srcIo, in moveEffects()
213 bool EffectDescriptorCollection::hasOrphansForSession(audio_session_t sessionId) const in hasOrphansForSession()
225 audio_session_t sessionId, const effect_uuid_t* effectType) const { in hasOrphanEffectsForSessionAndType()
241 audio_session_t sessionId) const in getOrphanEffectsForSession()
253 audio_io_handle_t EffectDescriptorCollection::getIoForSession(audio_session_t sessionId, in getIoForSession()
266 void EffectDescriptorCollection::moveEffectsForIo(audio_session_t session, in moveEffectsForIo()
277 void EffectDescriptorCollection::moveEffects(audio_session_t session, in moveEffects()
332 void EffectDescriptorCollection::putOrphanEffects(audio_session_t session, in putOrphanEffects()
DSoundTriggerSession.cpp25 status_t SoundTriggerSessionCollection::acquireSession(audio_session_t session, in acquireSession()
33 status_t SoundTriggerSessionCollection::releaseSession(audio_session_t session) in releaseSession()
/frameworks/av/media/libaudioclient/include/media/
DAudioEffect.h149 static status_t queryDefaultPreProcessing(audio_session_t audioSession,
431 audio_session_t sessionId = AUDIO_SESSION_OUTPUT_MIX,
442 audio_session_t sessionId = AUDIO_SESSION_OUTPUT_MIX,
454 audio_session_t sessionId = AUDIO_SESSION_OUTPUT_MIX,
466 audio_session_t sessionId = AUDIO_SESSION_OUTPUT_MIX,
621 audio_session_t mSessionId = AUDIO_SESSION_OUTPUT_MIX; // audio session ID
DIAudioFlinger.h96 audio_session_t sessionId;
113 audio_session_t sessionId;
150 audio_session_t sessionId;
167 audio_session_t sessionId;
281 virtual void acquireAudioSessionId(audio_session_t audioSession, pid_t pid, uid_t uid) = 0;
282 virtual void releaseAudioSessionId(audio_session_t audioSession, pid_t pid) = 0;
296 virtual status_t moveEffects(audio_session_t session, audio_io_handle_t srcOutput,
300 audio_session_t sessionId,
334 virtual audio_hw_sync_t getAudioHwSyncForSession(audio_session_t sessionId) = 0;
456 void acquireAudioSessionId(audio_session_t audioSession, pid_t pid, uid_t uid) override;
[all …]
DAudioRecord.h196 audio_session_t sessionId = AUDIO_SESSION_ALLOCATE,
236 audio_session_t sessionId = AUDIO_SESSION_ALLOCATE,
301 audio_session_t triggerSession = AUDIO_SESSION_NONE);
432 audio_session_t getSessionId() const { return mSessionId; } in getSessionId()
739 audio_session_t mSessionId = AUDIO_SESSION_ALLOCATE;
/frameworks/av/media/libaudioclient/tests/
Daudio_test_utils.h80 audio_session_t sessionId = AUDIO_SESSION_NONE,
112 const audio_session_t mSessionId;
143 audio_session_t sessionId = AUDIO_SESSION_ALLOCATE,
158 audio_session_t triggerSession = AUDIO_SESSION_NONE);
188 const audio_session_t mSessionId;
/frameworks/av/services/audioflinger/timing/tests/
Dmediasyncevent_tests.cpp38 constexpr auto triggerSession = audio_session_t(10); in TEST()
39 constexpr auto listenerSession = audio_session_t(11); in TEST()
Dsynchronizedrecordstate_tests.cpp39 constexpr auto triggerSession = audio_session_t(10); in TEST()
40 constexpr auto listenerSession = audio_session_t(11); in TEST()
/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/media/libmedia/include/media/
Dmediaplayer.h218 audio_session_t sessionId = AUDIO_SESSION_ALLOCATE);
266 status_t setAudioSessionId(audio_session_t sessionId);
267 audio_session_t getAudioSessionId();
318 audio_session_t mAudioSessionId;
/frameworks/native/include/audiomanager/
DIAudioManager.h54 audio_session_t sessionId) = 0;
63 …/*oneway*/ virtual status_t playerSessionId(audio_unique_id_t piid, audio_session_t sessionId) = 0;
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.h85 audio_session_t sessionId,
102 virtual audio_session_t getSessionId() const;
177 audio_session_t mSessionId;
250 audio_session_t audioSessionId,
398 audio_session_t getAudioSessionId() { return mAudioSessionId; } in getAudioSessionId()
428 audio_session_t audioSessionId);
476 audio_session_t mAudioSessionId;
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h140 audio_session_t session,
164 audio_session_t session,
272 virtual status_t acquireSoundTriggerSession(audio_session_t *session,
276 virtual status_t releaseSoundTriggerSession(audio_session_t session) = 0;
530 virtual status_t moveEffects(audio_session_t session,
535 audio_session_t sessionId,
/frameworks/av/media/libmedia/
DIMediaPlayerService.cpp67 const sp<IMediaPlayerClient>& client, audio_session_t audioSessionId, in create()
133 audio_session_t audioSessionId = (audio_session_t) data.readInt32(); in onTransact()

12345