Lines Matching refs:AudioSession
1539 sp<AudioSession> audioSession = new AudioSession(session,
1558 sp<AudioSession> as = desc->getAudioSession(session);
1561 if (as->matches(audioSession)) {
1569 desc->addAudioSession(session, audioSession);
1610 inputDesc->addAudioSession(session, audioSession);
1629 sp<AudioSession> audioSession = inputDesc->getAudioSession(session);
1630 if (audioSession == 0) {
1707 ALOGV("AudioPolicyManager::startInput() input source = %d", audioSession->inputSource());
1709 audioSession->changeActiveCount(1);
1724 sp<AudioSession> audioSession = inputDesc->getAudioSession(session);
1730 if (audioSession->activeCount() == 0) {
1735 audioSession->changeActiveCount(-1);
1791 sp<AudioSession> audioSession = inputDesc->getAudioSession(session);
1797 if (audioSession->openCount() == 0) {
1799 audioSession->openCount(), session);
1803 if (audioSession->changeOpenCount(-1) == 0) {