Home
last modified time | relevance | path

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

/system/core/fastboot/
Dusb_windows.cpp277 USB_DEVICE_DESCRIPTOR device_desc; in recognized_device() local
284 if (!AdbGetUsbDeviceDescriptor(handle->adb_interface, &device_desc)) { in recognized_device()
285 DBG("skipping device %x:%x\n", device_desc.idVendor, device_desc.idProduct); in recognized_device()
291 DBG("skipping device %x:%x, failed to find interface\n", device_desc.idVendor, in recognized_device()
292 device_desc.idProduct); in recognized_device()
298 DBG("skipping device %x:%x, incorrect number of endpoints\n", device_desc.idVendor, in recognized_device()
299 device_desc.idProduct); in recognized_device()
303 info.dev_vendor = device_desc.idVendor; in recognized_device()
304 info.dev_product = device_desc.idProduct; in recognized_device()
305 info.dev_class = device_desc.bDeviceClass; in recognized_device()
[all …]
/system/core/adb/client/
Dusb_libusb.cpp198 libusb_device_descriptor device_desc; in process_device() local
199 int rc = libusb_get_device_descriptor(device, &device_desc); in process_device()
206 if (device_desc.bDeviceClass != LIBUSB_CLASS_PER_INTERFACE) { in process_device()
314 rc = libusb_get_string_descriptor_ascii(handle_raw, device_desc.iSerialNumber, in process_device()
Dusb_windows.cpp499 USB_DEVICE_DESCRIPTOR device_desc; in recognized_device() local
501 if (!AdbGetUsbDeviceDescriptor(handle->adb_interface, &device_desc)) { in recognized_device()