Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp661 for (const auto& activeDesc : mInputs.getActiveInputs()) { in updateCallRoutingInternal() local
662 if (activeDesc->hasSameHwModuleAs(txSourceDevice)) { in updateCallRoutingInternal()
663 closeActiveClients(activeDesc); in updateCallRoutingInternal()
3377 for (const auto& activeDesc : mInputs.getActiveInputs()) { in updateInputRouting() local
3380 if (activeDesc->isSoundTrigger() && activeDesc->source() == AUDIO_SOURCE_HOTWORD) { in updateInputRouting()
3383 auto newDevice = getNewInputDevice(activeDesc); in updateInputRouting()
3385 if (activeDesc->mProfile->getSupportedDevices().contains(newDevice)) { in updateInputRouting()
3386 setInputDevice(activeDesc->mIoHandle, newDevice); in updateInputRouting()
3388 closeInput(activeDesc->mIoHandle); in updateInputRouting()