Searched refs:rxDevice (Results 1 – 2 of 2) sorted by relevance
/hardware/qcom/audio/legacy/alsa_sound/ |
D | alsa_default.cpp | 198 static char *getUCMDevice(uint32_t devices, int input, char *rxDevice); 398 char *rxDevice, *txDevice, ident[70], *use_case = NULL; in switchDevice() local 464 rxDevice = getUCMDevice(devices & AudioSystem::DEVICE_OUT_ALL, 0, NULL); in switchDevice() 465 txDevice = getUCMDevice(devices & AudioSystem::DEVICE_IN_ALL, 1, rxDevice); in switchDevice() 467 if ((rxDevice != NULL) && (txDevice != NULL)) { in switchDevice() 468 if (((strncmp(rxDevice, curRxUCMDevice, MAX_STR_LEN)) || in switchDevice() 491 if (rxDevice != NULL) { in switchDevice() 493 ((strncmp(rxDevice, curRxUCMDevice, MAX_STR_LEN)) || (inCallDevSwitch == true))) { in switchDevice() 545 …ALOGD("%s,rxDev:%s, txDev:%s, curRxDev:%s, curTxDev:%s\n", __FUNCTION__, rxDevice, txDevice, curRx… in switchDevice() 547 if (rxDevice != NULL) { in switchDevice() [all …]
|
/hardware/qcom/audio/msm8909/policy_hal/ |
D | AudioPolicyManager.cpp | 872 audio_devices_t rxDevice = getNewOutputDevice(mPrimaryOutput, false /*fromCache*/); in setPhoneState() local 875 if (isStateInCall(oldState) && rxDevice == AUDIO_DEVICE_NONE) { in setPhoneState() 876 rxDevice = mPrimaryOutput->device(); in setPhoneState() 880 updateCallRouting(rxDevice, delayMs); in setPhoneState() 890 setOutputDevice(mPrimaryOutput, rxDevice, force, 0); in setPhoneState() 892 setOutputDevice(mPrimaryOutput, rxDevice, force, 0); in setPhoneState()
|