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