Home
last modified time | relevance | path

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

1234

/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DSessionRoute.h41 SessionRoute(audio_session_t session, in SessionRoute()
63 audio_session_t mSession;
76 class SessionRouteMap: public KeyedVector<audio_session_t, sp<SessionRoute> >
94 bool hasRoute(audio_session_t session);
96 void removeRoute(audio_session_t session);
98 int incRouteActivity(audio_session_t session);
99 int decRouteActivity(audio_session_t session);
100 bool getAndClearRouteChanged(audio_session_t session); // also clears the changed flag
108 void addRoute(audio_session_t session,
DAudioInputDescriptor.h54 void setPreemptedSessions(const SortedVector<audio_session_t>& sessions);
55 SortedVector<audio_session_t> getPreemptedSessions() const;
56 bool hasPreemptedSession(audio_session_t session) const;
62 status_t addAudioSession(audio_session_t session,
64 status_t removeAudioSession(audio_session_t session);
65 sp<AudioSession> getAudioSession(audio_session_t session) const;
101 SortedVector<audio_session_t> mPreemptedSessions;
DAudioSession.h35 AudioSession(audio_session_t session,
48 audio_session_t session() const { return mRecordClientInfo.session; } in session()
84 public DefaultKeyedVector<audio_session_t, sp<AudioSession> >,
88 status_t addSession(audio_session_t session,
92 status_t removeSession(audio_session_t session);
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);
/frameworks/av/services/audiopolicy/service/
DAudioPolicyEffects.h53 status_t queryDefaultInputEffects(audio_session_t audioSession,
61 audio_session_t audioSession);
65 audio_session_t audioSession);
70 status_t queryDefaultOutputSessionEffects(audio_session_t audioSession,
78 audio_session_t audioSession);
83 audio_session_t audioSession);
138 explicit EffectVector(audio_session_t session) : mSessionId(session), mRefCount(0) {} in EffectVector()
144 const audio_session_t mSessionId;
187 KeyedVector< audio_session_t, EffectVector* > mInputSessions;
192 KeyedVector< audio_session_t, EffectVector* > mOutputSessions;
DAudioPolicyService.h78 audio_session_t session,
88 audio_session_t session);
91 audio_session_t session);
94 audio_session_t session);
97 audio_session_t session,
126 audio_session_t session,
134 virtual status_t queryDefaultPreProcessing(audio_session_t audioSession,
185 virtual status_t acquireSoundTriggerSession(audio_session_t *session,
189 virtual status_t releaseSoundTriggerSession(audio_session_t session);
214 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/include/media/
DIAudioPolicyService.h61 audio_session_t session,
71 audio_session_t session) = 0;
74 audio_session_t session) = 0;
77 audio_session_t session) = 0;
80 audio_session_t session,
107 audio_session_t session,
115 virtual status_t queryDefaultPreProcessing(audio_session_t audioSession,
150 virtual status_t acquireSoundTriggerSession(audio_session_t *session,
154 virtual status_t releaseSoundTriggerSession(audio_session_t session) = 0;
DIAudioFlinger.h86 (void)parcel->read(&sessionId, sizeof(audio_session_t)); in readFromParcel()
109 (void)parcel->write(&sessionId, sizeof(audio_session_t)); in writeToParcel()
126 audio_session_t sessionId;
141 (void)parcel->read(&sessionId, sizeof(audio_session_t)); in readFromParcel()
158 (void)parcel->write(&sessionId, sizeof(audio_session_t)); in writeToParcel()
174 audio_session_t sessionId;
211 (void)parcel->read(&sessionId, sizeof(audio_session_t)); in readFromParcel()
227 (void)parcel->write(&sessionId, sizeof(audio_session_t)); in writeToParcel()
242 audio_session_t sessionId;
257 (void)parcel->read(&sessionId, sizeof(audio_session_t)); in readFromParcel()
[all …]
DAudioSystem.h167 static void acquireAudioSessionId(audio_session_t audioSession, pid_t pid);
168 static void releaseAudioSessionId(audio_session_t audioSession, pid_t pid);
173 static audio_hw_sync_t getAudioHwSyncForSession(audio_session_t sessionId);
219 audio_session_t session,
229 audio_session_t session);
232 audio_session_t session);
235 audio_session_t session);
241 audio_session_t session,
271 audio_session_t session,
321 static status_t acquireSoundTriggerSession(audio_session_t *session,
[all …]
DAudioEffect.h142 static status_t queryDefaultPreProcessing(audio_session_t audioSession,
240 audio_session_t sessionId = AUDIO_SESSION_OUTPUT_MIX,
253 audio_session_t sessionId = AUDIO_SESSION_OUTPUT_MIX,
275 audio_session_t sessionId = AUDIO_SESSION_OUTPUT_MIX,
408 audio_session_t mSessionId; // audio session ID
/frameworks/av/media/libaudioclient/include/media/
DIAudioPolicyService.h61 audio_session_t session,
71 audio_session_t session) = 0;
74 audio_session_t session) = 0;
77 audio_session_t session) = 0;
80 audio_session_t session,
107 audio_session_t session,
115 virtual status_t queryDefaultPreProcessing(audio_session_t audioSession,
150 virtual status_t acquireSoundTriggerSession(audio_session_t *session,
154 virtual status_t releaseSoundTriggerSession(audio_session_t session) = 0;
DIAudioFlinger.h86 (void)parcel->read(&sessionId, sizeof(audio_session_t)); in readFromParcel()
109 (void)parcel->write(&sessionId, sizeof(audio_session_t)); in writeToParcel()
126 audio_session_t sessionId;
141 (void)parcel->read(&sessionId, sizeof(audio_session_t)); in readFromParcel()
158 (void)parcel->write(&sessionId, sizeof(audio_session_t)); in writeToParcel()
174 audio_session_t sessionId;
211 (void)parcel->read(&sessionId, sizeof(audio_session_t)); in readFromParcel()
227 (void)parcel->write(&sessionId, sizeof(audio_session_t)); in writeToParcel()
242 audio_session_t sessionId;
257 (void)parcel->read(&sessionId, sizeof(audio_session_t)); in readFromParcel()
[all …]
DAudioSystem.h167 static void acquireAudioSessionId(audio_session_t audioSession, pid_t pid);
168 static void releaseAudioSessionId(audio_session_t audioSession, pid_t pid);
173 static audio_hw_sync_t getAudioHwSyncForSession(audio_session_t sessionId);
219 audio_session_t session,
229 audio_session_t session);
232 audio_session_t session);
235 audio_session_t session);
241 audio_session_t session,
271 audio_session_t session,
321 static status_t acquireSoundTriggerSession(audio_session_t *session,
[all …]
DAudioEffect.h142 static status_t queryDefaultPreProcessing(audio_session_t audioSession,
240 audio_session_t sessionId = AUDIO_SESSION_OUTPUT_MIX,
253 audio_session_t sessionId = AUDIO_SESSION_OUTPUT_MIX,
275 audio_session_t sessionId = AUDIO_SESSION_OUTPUT_MIX,
408 audio_session_t mSessionId; // audio session ID
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DSessionRoute.cpp38 bool SessionRouteMap::hasRoute(audio_session_t session) in hasRoute()
43 bool SessionRouteMap::getAndClearRouteChanged(audio_session_t session) in getAndClearRouteChanged()
54 void SessionRouteMap::removeRoute(audio_session_t session) in removeRoute()
66 int SessionRouteMap::incRouteActivity(audio_session_t session) in incRouteActivity()
72 int SessionRouteMap::decRouteActivity(audio_session_t session) in decRouteActivity()
90 void SessionRouteMap::addRoute(audio_session_t session, in addRoute()
DSoundTriggerSession.cpp25 status_t SoundTriggerSessionCollection::acquireSession(audio_session_t session, in acquireSession()
33 status_t SoundTriggerSessionCollection::releaseSession(audio_session_t session) in releaseSession()
DAudioInputDescriptor.cpp101 void AudioInputDescriptor::setPreemptedSessions(const SortedVector<audio_session_t>& sessions) in setPreemptedSessions()
106 SortedVector<audio_session_t> AudioInputDescriptor::getPreemptedSessions() const in getPreemptedSessions()
111 bool AudioInputDescriptor::hasPreemptedSession(audio_session_t session) const in hasPreemptedSession()
143 audio_session_t session) const { in getAudioSession()
165 status_t AudioInputDescriptor::addAudioSession(audio_session_t session, in addAudioSession()
170 status_t AudioInputDescriptor::removeAudioSession(audio_session_t session) { in removeAudioSession()
/frameworks/av/services/audioflinger/
DAudioFlinger.h196 virtual void acquireAudioSessionId(audio_session_t audioSession, pid_t pid);
198 virtual void releaseAudioSessionId(audio_session_t audioSession, pid_t pid);
212 audio_session_t sessionId,
219 virtual status_t moveEffects(audio_session_t sessionId, audio_io_handle_t srcOutput,
251 virtual audio_hw_sync_t getAudioHwSyncForSession(audio_session_t sessionId);
275 audio_session_t *sessionId,
297 audio_session_t triggerSession, in SyncEvent()
298 audio_session_t listenerSession, in SyncEvent()
311 audio_session_t triggerSession() const { return mTriggerSession; } in triggerSession()
312 audio_session_t listenerSession() const { return mListenerSession; } in listenerSession()
[all …]
DThreads.h301 audio_session_t sessionId,
318 sp<EffectChain> getEffectChain(audio_session_t sessionId);
320 sp<EffectChain> getEffectChain_l(audio_session_t sessionId) const;
337 sp<AudioFlinger::EffectModule> getEffect(audio_session_t sessionId, int effectId);
338 sp<AudioFlinger::EffectModule> getEffect_l(audio_session_t sessionId, int effectId);
353 virtual uint32_t hasAudioSession_l(audio_session_t sessionId) const = 0;
354 uint32_t hasAudioSession(audio_session_t sessionId) const { in hasAudioSession()
361 virtual uint32_t getStrategyForSession_l(audio_session_t sessionId __unused) in getStrategyForSession_l()
368 audio_session_t sessionId =
372 audio_session_t sessionId =
[all …]
DEffects.h49 audio_session_t sessionId,
81 audio_session_t sessionId() const { in sessionId()
155 const audio_session_t mSessionId; // audio session ID
272 EffectChain(const wp<ThreadBase>& wThread, audio_session_t sessionId);
273 EffectChain(ThreadBase *thread, audio_session_t sessionId);
297 audio_session_t sessionId,
303 audio_session_t sessionId() const { return mSessionId; } in sessionId()
304 void setSessionId(audio_session_t sessionId) { mSessionId = sessionId; } in setSessionId()
409 audio_session_t mSessionId; // audio session ID
DTrackBase.h71 audio_session_t sessionId,
81 audio_session_t triggerSession) = 0;
85 audio_session_t sessionId() const { return mSessionId; } in sessionId()
205 const audio_session_t mSessionId;
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h119 audio_session_t session,
129 audio_session_t session) = 0;
133 audio_session_t session) = 0;
137 audio_session_t session) = 0;
142 audio_session_t session,
151 audio_session_t session,
156 audio_session_t session) = 0;
159 audio_session_t session) = 0;
227 virtual status_t acquireSoundTriggerSession(audio_session_t *session,
231 virtual status_t releaseSoundTriggerSession(audio_session_t session) = 0;
[all …]
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h114 audio_session_t session,
123 audio_session_t session);
126 audio_session_t session);
129 audio_session_t session);
132 audio_session_t session,
142 audio_session_t session,
148 audio_session_t session);
150 audio_session_t session);
218 virtual status_t acquireSoundTriggerSession(audio_session_t *session,
222 virtual status_t releaseSoundTriggerSession(audio_session_t session) in releaseSoundTriggerSession()
[all …]
/frameworks/av/media/libaudioclient/
DIAudioPolicyService.cpp178 audio_session_t session, in getOutputForAttr()
250 audio_session_t session) in startOutput()
263 audio_session_t session) in stopOutput()
276 audio_session_t session) in releaseOutput()
288 audio_session_t session, in getInputForAttr()
440 audio_session_t session, in registerEffect()
502 virtual status_t queryDefaultPreProcessing(audio_session_t audioSession, in queryDefaultPreProcessing()
677 virtual status_t acquireSoundTriggerSession(audio_session_t *session, in acquireSoundTriggerSession()
692 *session = (audio_session_t)reply.readInt32(); in acquireSoundTriggerSession()
699 virtual status_t releaseSoundTriggerSession(audio_session_t session) in releaseSoundTriggerSession()
[all …]

1234