Lines Matching refs:rxDevice
382 uint32_t AudioPolicyManager::updateCallRouting(audio_devices_t rxDevice, uint32_t delayMs) in updateCallRouting() argument
394 ALOGV("updateCallRouting device rxDevice %08x txDevice %08x", rxDevice, txDevice); in updateCallRouting()
410 if (availablePrimaryOutputDevices() & rxDevice) { in updateCallRouting()
411 muteWaitMs = setOutputDevice(mPrimaryOutput, rxDevice, true, delayMs); in updateCallRouting()
423 deviceList = mAvailableOutputDevices.getDevicesFromType(rxDevice); in updateCallRouting()
437 getOutputsForDevice(rxDevice, mOutputs); in updateCallRouting()
589 audio_devices_t rxDevice = getNewOutputDevice(mPrimaryOutput, false /*fromCache*/); in setPhoneState() local
592 if (isStateInCall(oldState) && rxDevice == AUDIO_DEVICE_NONE) { in setPhoneState()
593 rxDevice = mPrimaryOutput->device(); in setPhoneState()
597 updateCallRouting(rxDevice, delayMs); in setPhoneState()
607 setOutputDevice(mPrimaryOutput, rxDevice, force, 0); in setPhoneState()
609 setOutputDevice(mPrimaryOutput, rxDevice, force, 0); in setPhoneState()