Home
last modified time | relevance | path

Searched refs:device_desc (Results 1 – 5 of 5) sorted by relevance

/system/core/fastboot/
Dusb_windows.cpp280 USB_DEVICE_DESCRIPTOR device_desc; in recognized_device() local
287 if (!AdbGetUsbDeviceDescriptor(handle->adb_interface, &device_desc)) { in recognized_device()
288 DBG("skipping device %x:%x\n", device_desc.idVendor, device_desc.idProduct); in recognized_device()
294 DBG("skipping device %x:%x, failed to find interface\n", device_desc.idVendor, in recognized_device()
295 device_desc.idProduct); in recognized_device()
301 DBG("skipping device %x:%x, incorrect number of endpoints\n", device_desc.idVendor, in recognized_device()
302 device_desc.idProduct); in recognized_device()
306 info.dev_vendor = device_desc.idVendor; in recognized_device()
307 info.dev_product = device_desc.idProduct; in recognized_device()
308 info.dev_class = device_desc.bDeviceClass; in recognized_device()
[all …]
/system/core/adb/tools/
Dcheck_ms_os_desc.cpp28 libusb_device_descriptor device_desc; in is_adb_device() local
29 libusb_get_device_descriptor(device, &device_desc); in is_adb_device()
30 if (device_desc.bDeviceClass != 0) { in is_adb_device()
231 libusb_device_descriptor device_desc; in main() local
232 libusb_get_device_descriptor(device, &device_desc); in main()
235 get_string_descriptor(device_handle, device_desc.iSerialNumber); in main()
Dadb_usbreset.cpp118 libusb_device_descriptor device_desc; in main() local
121 libusb_get_device_descriptor(device, &device_desc); in main()
148 rc = libusb_get_string_descriptor_ascii(device_handle, device_desc.iSerialNumber, in main()
/system/core/adb/client/
Dusb_libusb.cpp197 libusb_device_descriptor device_desc; in process_device() local
198 int rc = libusb_get_device_descriptor(device, &device_desc); in process_device()
205 if (device_desc.bDeviceClass != LIBUSB_CLASS_PER_INTERFACE) { in process_device()
313 rc = libusb_get_string_descriptor_ascii(handle_raw, device_desc.iSerialNumber, in process_device()
Dusb_windows.cpp502 USB_DEVICE_DESCRIPTOR device_desc; in recognized_device() local
504 if (!AdbGetUsbDeviceDescriptor(handle->adb_interface, &device_desc)) { in recognized_device()