Lines Matching refs:audioSession
172 const sp<AudioSession>& audioSession,
181 audioSession->setInfoProvider(provider);
182 add(session, audioSession);
184 session, audioSession->uid(), audioSession->inputSource());
241 const sp<AudioSession> audioSession = valueAt(i);
244 if (audioSession->activeCount() > 0 &&
245 ((audioSession->inputSource() == source) ||
247 (audioSession->inputSource() == AUDIO_SOURCE_HOTWORD) &&
248 audioSession->isSoundTrigger()))) {
261 const sp<AudioSession> audioSession = valueAt(i);
262 if (activeOnly && audioSession->activeCount() == 0) {
265 int32_t curPriority = source_priority(audioSession->inputSource());
268 source = audioSession->inputSource();