Searched refs:device_desc (Results 1 – 5 of 5) sorted by relevance
/system/core/fastboot/ |
D | usb_windows.cpp | 280 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/ |
D | check_ms_os_desc.cpp | 28 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()
|
D | adb_usbreset.cpp | 118 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/ |
D | usb_libusb.cpp | 197 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()
|
D | usb_windows.cpp | 502 USB_DEVICE_DESCRIPTOR device_desc; in recognized_device() local 504 if (!AdbGetUsbDeviceDescriptor(handle->adb_interface, &device_desc)) { in recognized_device()
|