Lines Matching refs:rxDevices
487 uint32_t AudioPolicyManager::updateCallRouting(const DeviceVector &rxDevices, uint32_t delayMs) in updateCallRouting() argument
496 ALOG_ASSERT(!rxDevices.isEmpty(), "updateCallRouting() no selected output device"); in updateCallRouting()
503 rxDevices.itemAt(0)->toString().c_str(), txSourceDevice->toString().c_str()); in updateCallRouting()
541 createRxPatch = !primaryModule->supportsPatch(rxSourceDevice, rxDevices.itemAt(0)); in updateCallRouting()
547 createRxPatch = !(availablePrimaryOutputDevices().contains(rxDevices.itemAt(0))) && in updateCallRouting()
557 muteWaitMs = setOutputDevices(mPrimaryOutput, rxDevices, true, delayMs); in updateCallRouting()
559 mCallRxPatch = createTelephonyPatch(true /*isRx*/, rxDevices.itemAt(0), delayMs); in updateCallRouting()
713 DeviceVector rxDevices = getNewOutputDevices(mPrimaryOutput, false /*fromCache*/); in setPhoneState() local
716 if (isStateInCall(oldState) && rxDevices.isEmpty()) { in setPhoneState()
717 rxDevices = mPrimaryOutput->devices(); in setPhoneState()
721 updateCallRouting(rxDevices, delayMs); in setPhoneState()
731 setOutputDevices(mPrimaryOutput, rxDevices, force, 0); in setPhoneState()
733 setOutputDevices(mPrimaryOutput, rxDevices, force, 0); in setPhoneState()