Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp777 for (const auto& activeDesc : mInputs.getActiveInputs()) { in updateCallRoutingInternal() local
778 if (activeDesc->hasSameHwModuleAs(txSourceDevice)) { in updateCallRoutingInternal()
779 closeActiveClients(activeDesc); in updateCallRoutingInternal()
4258 for (const auto& activeDesc : mInputs.getActiveInputs()) { in updateInputRouting() local
4261 if (activeDesc->isSoundTrigger() && activeDesc->source() == AUDIO_SOURCE_HOTWORD) { in updateInputRouting()
4264 auto newDevice = getNewInputDevice(activeDesc); in updateInputRouting()
4266 if (activeDesc->mProfile->getSupportedDevices().contains(newDevice)) { in updateInputRouting()
4267 setInputDevice(activeDesc->mIoHandle, newDevice); in updateInputRouting()
4269 closeInput(activeDesc->mIoHandle); in updateInputRouting()