Home
last modified time | relevance | path

Searched refs:audio_session_t (Results 1 – 25 of 76) 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;
DAudioPolicyService.h82 audio_session_t session,
97 audio_session_t session,
136 audio_session_t session,
145 virtual status_t queryDefaultPreProcessing(audio_session_t audioSession,
214 virtual status_t acquireSoundTriggerSession(audio_session_t *session,
218 virtual status_t releaseSoundTriggerSession(audio_session_t session);
312 audio_session_t sessionId,
499 audio_session_t sessionId,
602 audio_session_t mSessionId;
686 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,
Dandroid_Effect.cpp264 void android_bb_init(audio_session_t sessionId, IBassBoost* ibb) { in android_bb_init()
284 void android_eq_init(audio_session_t sessionId, IEqualizer* ieq) { in android_eq_init()
333 void android_virt_init(audio_session_t sessionId, IVirtualizer* ivi) { in android_virt_init()
457 void android_aec_init(audio_session_t sessionId, IAndroidAcousticEchoCancellation* iaec) { in android_aec_init()
468 void android_agc_init(audio_session_t sessionId, IAndroidAutomaticGainControl* iagc) { in android_agc_init()
479 void android_ns_init(audio_session_t sessionId, IAndroidNoiseSuppression* ins) { in android_ns_init()
664 bool android_fx_initEffectObj(audio_session_t sessionId, android::sp<android::AudioEffect>& effect, in android_fx_initEffectObj()
797 audio_session_t sessionId) in android_genericFx_createEffect()
/frameworks/av/media/libaudioclient/include/media/
DIAudioFlinger.h87 (void)parcel->read(&sessionId, sizeof(audio_session_t)); in readFromParcel()
110 (void)parcel->write(&sessionId, sizeof(audio_session_t)); in writeToParcel()
127 audio_session_t sessionId;
142 (void)parcel->read(&sessionId, sizeof(audio_session_t)); in readFromParcel()
160 (void)parcel->write(&sessionId, sizeof(audio_session_t)); in writeToParcel()
177 audio_session_t sessionId;
218 (void)parcel->read(&sessionId, sizeof(audio_session_t)); in readFromParcel()
235 (void)parcel->write(&sessionId, sizeof(audio_session_t)); in writeToParcel()
251 audio_session_t sessionId;
266 (void)parcel->read(&sessionId, sizeof(audio_session_t)); in readFromParcel()
[all …]
DAudioEffect.h149 static status_t queryDefaultPreProcessing(audio_session_t audioSession,
376 audio_session_t sessionId = AUDIO_SESSION_OUTPUT_MIX,
390 audio_session_t sessionId = AUDIO_SESSION_OUTPUT_MIX,
413 audio_session_t sessionId = AUDIO_SESSION_OUTPUT_MIX,
547 audio_session_t mSessionId; // audio session ID
DIAudioPolicyService.h64 audio_session_t session,
79 audio_session_t session,
116 audio_session_t session,
125 virtual status_t queryDefaultPreProcessing(audio_session_t audioSession,
181 virtual status_t acquireSoundTriggerSession(audio_session_t *session,
185 virtual status_t releaseSoundTriggerSession(audio_session_t session) = 0;
DAudioSystem.h175 static void acquireAudioSessionId(audio_session_t audioSession, pid_t pid);
176 static void releaseAudioSessionId(audio_session_t audioSession, pid_t pid);
181 static audio_hw_sync_t getAudioHwSyncForSession(audio_session_t sessionId);
230 audio_session_t session,
248 audio_session_t session,
288 audio_session_t session,
341 static status_t acquireSoundTriggerSession(audio_session_t *session,
344 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,
286 audio_session_t triggerSession = AUDIO_SESSION_NONE);
395 audio_session_t getSessionId() const { return mSessionId; } in getSessionId()
689 audio_session_t mSessionId;
DAudioTrack.h250 audio_session_t sessionId = AUDIO_SESSION_ALLOCATE,
281 audio_session_t sessionId = AUDIO_SESSION_ALLOCATE,
329 audio_session_t sessionId = AUDIO_SESSION_ALLOCATE,
653 audio_session_t getSessionId() const { return mSessionId; } in getSessionId()
1191 audio_session_t mSessionId;
/frameworks/av/services/audioflinger/
DAudioFlinger.h217 virtual void acquireAudioSessionId(audio_session_t audioSession, pid_t pid);
219 virtual void releaseAudioSessionId(audio_session_t audioSession, pid_t pid);
235 audio_session_t sessionId,
243 virtual status_t moveEffects(audio_session_t sessionId, audio_io_handle_t srcOutput,
247 audio_session_t sessionId,
279 virtual audio_hw_sync_t getAudioHwSyncForSession(audio_session_t sessionId);
305 audio_session_t *sessionId,
336 audio_session_t triggerSession, in SyncEvent()
337 audio_session_t listenerSession, in SyncEvent()
350 audio_session_t triggerSession() const { return mTriggerSession; } in triggerSession()
[all …]
DThreads.h341 audio_session_t sessionId,
358 sp<EffectChain> getEffectChain(audio_session_t sessionId);
360 sp<EffectChain> getEffectChain_l(audio_session_t sessionId) const;
361 std::vector<int> getEffectIds_l(audio_session_t sessionId);
378 sp<AudioFlinger::EffectModule> getEffect(audio_session_t sessionId, int effectId);
379 sp<AudioFlinger::EffectModule> getEffect_l(audio_session_t sessionId, int effectId);
395 virtual uint32_t hasAudioSession_l(audio_session_t sessionId) const = 0;
396 uint32_t hasAudioSession(audio_session_t sessionId) const { in hasAudioSession()
402 uint32_t hasAudioSession_l(audio_session_t sessionId, const T& tracks) const { in hasAudioSession_l()
424 virtual uint32_t getStrategyForSession_l(audio_session_t sessionId __unused) in getStrategyForSession_l()
[all …]
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);
405 EffectChain(ThreadBase *thread, 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()
594 audio_session_t mSessionId; // audio session ID
DTrackBase.h66 audio_session_t sessionId,
77 audio_session_t triggerSession) = 0;
81 audio_session_t sessionId() const { return mSessionId; } in sessionId()
299 const audio_session_t mSessionId;
DMmapTracks.h30 audio_session_t sessionId,
41 audio_session_t triggerSession);
/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;
109 RecordClientVector getClientsForSession(audio_session_t session);
135 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.h45 ClientDescriptor(audio_port_handle_t portId, uid_t uid, audio_session_t sessionId,
59 audio_session_t session() const { return mSessionId; }; in session()
76 const audio_session_t mSessionId; // audio session ID
87 TrackClientDescriptor(audio_port_handle_t portId, uid_t uid, audio_session_t sessionId, in TrackClientDescriptor()
151 audio_session_t sessionId, audio_attributes_t attributes, in RecordClientDescriptor()
/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/services/audiopolicy/
DAudioPolicyInterface.h115 audio_session_t session,
134 audio_session_t session,
231 virtual status_t acquireSoundTriggerSession(audio_session_t *session,
235 virtual status_t releaseSoundTriggerSession(audio_session_t session) = 0;
361 virtual status_t moveEffects(audio_session_t session,
366 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;

1234