Lines Matching refs:deviceList
469 DeviceVector deviceList = in getDeviceDescriptor() local
471 if (!deviceList.isEmpty()) { in getDeviceDescriptor()
472 return deviceList.itemAt(0); in getDeviceDescriptor()
474 deviceList = mHwModules[i]->mDeclaredDevices.getDevicesFromType(device); in getDeviceDescriptor()
475 if (!deviceList.isEmpty()) { in getDeviceDescriptor()
476 return deviceList.itemAt(0); in getDeviceDescriptor()
493 DeviceVector deviceList; in updateCallRouting() local
522 deviceList = mAvailableOutputDevices.getDevicesFromType(rxDevice); in updateCallRouting()
523 ALOG_ASSERT(!deviceList.isEmpty(), in updateCallRouting()
525 sp<DeviceDescriptor> rxSinkDeviceDesc = deviceList.itemAt(0); in updateCallRouting()
526 deviceList = mAvailableInputDevices.getDevicesFromType(AUDIO_DEVICE_IN_TELEPHONY_RX); in updateCallRouting()
527 ALOG_ASSERT(!deviceList.isEmpty(), in updateCallRouting()
529 sp<DeviceDescriptor> rxSourceDeviceDesc = deviceList.itemAt(0); in updateCallRouting()
565 deviceList = mAvailableInputDevices.getDevicesFromType(txDevice); in updateCallRouting()
566 ALOG_ASSERT(!deviceList.isEmpty(), in updateCallRouting()
568 sp<DeviceDescriptor> txSourceDeviceDesc = deviceList.itemAt(0); in updateCallRouting()
570 deviceList = mAvailableOutputDevices.getDevicesFromType(AUDIO_DEVICE_OUT_TELEPHONY_TX); in updateCallRouting()
571 ALOG_ASSERT(!deviceList.isEmpty(), in updateCallRouting()
573 sp<DeviceDescriptor> txSinkDeviceDesc = deviceList.itemAt(0); in updateCallRouting()
4948 DeviceVector deviceList = (address == NULL) ? in setOutputDevice() local
4951 if (!deviceList.isEmpty()) { in setOutputDevice()
4956 for (size_t i = 0; i < deviceList.size() && i < AUDIO_PATCH_PORTS_MAX; i++) { in setOutputDevice()
4957 deviceList.itemAt(i)->toAudioPortConfig(&patch.sinks[i]); in setOutputDevice()
5054 DeviceVector deviceList = mAvailableInputDevices.getDevicesFromType(device); in setInputDevice() local
5055 if (!deviceList.isEmpty()) { in setInputDevice()
5066 deviceList.itemAt(0)->toAudioPortConfig(&patch.sources[0]); in setInputDevice()
7560 DeviceVector deviceList; in loadDevicesFromType() local