Home
last modified time | relevance | path

Searched refs:activeDesc (Results 1 – 1 of 1) sorted by relevance

/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp513 for (const auto& activeDesc : mInputs.getActiveInputs()) { in createTelephonyPatch() local
514 if (activeDesc->hasSameHwModuleAs(txSourceDeviceDesc)) { in createTelephonyPatch()
516 activeDesc->getAudioSessions(true /*activeOnly*/); in createTelephonyPatch()
519 stopInput(activeDesc->mIoHandle, activeSession); in createTelephonyPatch()
520 releaseInput(activeDesc->mIoHandle, activeSession); in createTelephonyPatch()
715 for (const auto& activeDesc : mInputs.getActiveInputs()) { in setForceUse() local
716 audio_devices_t newDevice = getNewInputDevice(activeDesc); in setForceUse()
718 if (activeDesc->mProfile->getSupportedDevices().types() & in setForceUse()
720 setInputDevice(activeDesc->mIoHandle, newDevice); in setForceUse()
722 closeInput(activeDesc->mIoHandle); in setForceUse()
[all …]