Lines Matching refs:rxDevice
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()
548 snd_use_case_set(handle->ucMgr, "_enadev", rxDevice); in switchDevice()
549 strlcpy(curRxUCMDevice, rxDevice, sizeof(curRxUCMDevice)); in switchDevice()
608 if (rxDevice != NULL) { in switchDevice()
609 free(rxDevice); in switchDevice()
610 rxDevice = NULL; in switchDevice()
1310 char *getUCMDevice(uint32_t devices, int input, char *rxDevice) in getUCMDevice() argument
1461 if (((rxDevice != NULL) && in getUCMDevice()
1462 !strncmp(rxDevice, SND_USE_CASE_DEV_SPEAKER, in getUCMDevice()