Home
last modified time | relevance | path

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

1234

/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;
/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/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);
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,
75 audio_io_handle_t getIoForSession(audio_session_t sessionId,
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;
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()
162 audio_session_t sessionId, audio_attributes_t attributes, in RecordClientDescriptor()
/frameworks/av/services/audioflinger/
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);
232 virtual status_t moveEffects(audio_session_t sessionId, audio_io_handle_t srcOutput,
236 audio_session_t sessionId,
268 virtual audio_hw_sync_t getAudioHwSyncForSession(audio_session_t sessionId);
296 audio_session_t *sessionId,
350 audio_session_t triggerSession, in SyncEvent()
351 audio_session_t listenerSession, in SyncEvent()
367 audio_session_t triggerSession() const { return mTriggerSession; } in triggerSession()
368 audio_session_t listenerSession() const { return mListenerSession; } in listenerSession()
[all …]
DThreads.h381 audio_session_t sessionId,
399 sp<EffectChain> getEffectChain(audio_session_t sessionId);
401 sp<EffectChain> getEffectChain_l(audio_session_t sessionId) const;
402 std::vector<int> getEffectIds_l(audio_session_t sessionId);
419 sp<AudioFlinger::EffectModule> getEffect(audio_session_t sessionId, int effectId);
420 sp<AudioFlinger::EffectModule> getEffect_l(audio_session_t sessionId, int effectId);
436 virtual uint32_t hasAudioSession_l(audio_session_t sessionId) const = 0;
437 uint32_t hasAudioSession(audio_session_t sessionId) const { in hasAudioSession()
443 uint32_t hasAudioSession_l(audio_session_t sessionId, const T& tracks) const { in hasAudioSession_l()
466 audio_session_t sessionId __unused) { in getStrategyForSession_l()
[all …]
DMmapTracks.h30 audio_session_t sessionId,
40 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()
371 const audio_session_t mSessionId;
DEffects.h93 audio_session_t sessionId,
112 audio_session_t sessionId() const { in sessionId()
176 const audio_session_t mSessionId; // audio session ID
210 audio_session_t sessionId,
405 EffectChain(const wp<ThreadBase>& wThread, audio_session_t sessionId);
428 audio_session_t sessionId,
434 audio_session_t sessionId() const { return mSessionId; } in sessionId()
435 void setSessionId(audio_session_t sessionId) { mSessionId = sessionId; } in setSessionId()
617 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/av/media/libaudioclient/include/media/
DIAudioFlinger.h92 audio_session_t sessionId;
109 audio_session_t sessionId;
143 audio_session_t sessionId;
160 audio_session_t sessionId;
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;
289 virtual status_t moveEffects(audio_session_t session, audio_io_handle_t srcOutput,
293 audio_session_t sessionId,
327 virtual audio_hw_sync_t getAudioHwSyncForSession(audio_session_t sessionId) = 0;
407 void acquireAudioSessionId(audio_session_t audioSession, pid_t pid, uid_t uid) override;
[all …]
DAudioEffect.h149 static status_t queryDefaultPreProcessing(audio_session_t audioSession,
389 audio_session_t sessionId = AUDIO_SESSION_OUTPUT_MIX,
401 audio_session_t sessionId = AUDIO_SESSION_OUTPUT_MIX,
536 audio_session_t mSessionId = AUDIO_SESSION_OUTPUT_MIX; // audio session ID
DAudioSystem.h48 audio_session_t session;
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);
223 static audio_hw_sync_t getAudioHwSyncForSession(audio_session_t sessionId);
272 audio_session_t session,
289 audio_session_t session,
329 audio_session_t session,
385 static status_t acquireSoundTriggerSession(audio_session_t *session,
388 static status_t releaseSoundTriggerSession(audio_session_t session);
DAudioRecord.h195 audio_session_t sessionId = AUDIO_SESSION_ALLOCATE,
235 audio_session_t sessionId = AUDIO_SESSION_ALLOCATE,
299 audio_session_t triggerSession = AUDIO_SESSION_NONE);
421 audio_session_t getSessionId() const { return mSessionId; } in getSessionId()
725 audio_session_t mSessionId;
DAudioTrack.h262 audio_session_t sessionId = AUDIO_SESSION_ALLOCATE,
293 audio_session_t sessionId = AUDIO_SESSION_ALLOCATE,
341 audio_session_t sessionId = AUDIO_SESSION_ALLOCATE,
362 audio_session_t sessionId = AUDIO_SESSION_ALLOCATE,
735 audio_session_t getSessionId() const { return mSessionId; } in getSessionId()
1299 audio_session_t mSessionId;
/frameworks/native/include/audiomanager/
DIAudioManager.h51 audio_session_t sessionId) = 0;
60 …/*oneway*/ virtual status_t playerSessionId(audio_unique_id_t piid, audio_session_t sessionId) = 0;
/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.h127 audio_session_t session,
147 audio_session_t session,
248 virtual status_t acquireSoundTriggerSession(audio_session_t *session,
252 virtual status_t releaseSoundTriggerSession(audio_session_t session) = 0;
411 virtual status_t moveEffects(audio_session_t session,
416 audio_session_t sessionId,
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.h84 audio_session_t sessionId,
101 virtual audio_session_t getSessionId() const;
173 audio_session_t mSessionId;
241 audio_session_t audioSessionId,
389 audio_session_t getAudioSessionId() { return mAudioSessionId; } in getAudioSessionId()
419 audio_session_t audioSessionId);
467 audio_session_t mAudioSessionId;
/frameworks/av/services/audiopolicy/tests/
DAudioPolicyTestClient.h63 status_t moveEffects(audio_session_t /*session*/, in moveEffects() argument
88 audio_session_t sessionId __unused, in setEffectSuspended()
/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()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h119 audio_session_t session,
134 audio_session_t session,
256 virtual status_t acquireSoundTriggerSession(audio_session_t *session,
260 virtual status_t releaseSoundTriggerSession(audio_session_t session) in releaseSoundTriggerSession()
669 audio_session_t sessionId = AUDIO_SESSION_NONE);
922 audio_session_t session,
935 audio_session_t session,
946 audio_session_t session,
964 audio_session_t session,
/frameworks/av/media/libmedia/include/media/
Dmediaplayer.h264 status_t setAudioSessionId(audio_session_t sessionId);
265 audio_session_t getAudioSessionId();
316 audio_session_t mAudioSessionId;

1234