Home
last modified time | relevance | path

Searched refs:usb_device_handle (Results 1 – 4 of 4) sorted by relevance

/development/host/windows/usb/api/
Dadb_legacy_interface.cpp40 HANDLE usb_device_handle = CreateFile(interface_name().c_str(), in CreateHandle() local
47 if (INVALID_HANDLE_VALUE == usb_device_handle) { in CreateHandle()
54 if (!CacheUsbDeviceDescriptor(usb_device_handle) || in CreateHandle()
55 !CacheUsbConfigurationDescriptor(usb_device_handle) || in CreateHandle()
56 !CacheUsbInterfaceDescriptor(usb_device_handle)) { in CreateHandle()
63 ::CloseHandle(usb_device_handle); in CreateHandle()
112 HANDLE usb_device_handle = CreateFile(interface_name().c_str(), in GetSerialNumber() local
119 if (INVALID_HANDLE_VALUE == usb_device_handle) { in GetSerialNumber()
127 BOOL ret = DeviceIoControl(usb_device_handle, in GetSerialNumber()
137 ::CloseHandle(usb_device_handle); in GetSerialNumber()
[all …]
Dadb_legacy_interface.h154 bool CacheUsbDeviceDescriptor(HANDLE usb_device_handle);
164 bool CacheUsbConfigurationDescriptor(HANDLE usb_device_handle);
174 bool CacheUsbInterfaceDescriptor(HANDLE usb_device_handle);
Dadb_helper_routines.cpp249 HANDLE usb_device_handle = CreateFile(interface_name, in IsLegacyInterface() local
256 if (INVALID_HANDLE_VALUE == usb_device_handle) in IsLegacyInterface()
263 BOOL ret = DeviceIoControl(usb_device_handle, in IsLegacyInterface()
270 ::CloseHandle(usb_device_handle); in IsLegacyInterface()
/development/host/windows/usb/winusb/
Dadb_winusb_interface.h166 HANDLE usb_device_handle() const { in usb_device_handle() function