Searched defs:usb_handle (Results 1 – 9 of 9) sorted by relevance
/system/core/fastboot/device/ |
D | usb.h | 38 struct usb_handle { struct 39 usb_handle() {} in usb_handle() function 45 int (*write)(usb_handle* h, const void* data, int len); argument 46 int (*read)(usb_handle* h, void* data, int len, bool allow_partial); argument 47 void (*close)(usb_handle* h); argument 63 usb_handle* create_usb_handle(unsigned num_bufs, unsigned io_size); argument
|
/system/core/adb/client/ |
D | usb_linux.cpp | 61 struct usb_handle : public ::usb_handle { struct 62 ~usb_handle() { in ~usb_handle() 66 std::string path; 67 int fd = -1; 68 unsigned char ep_in; 69 unsigned char ep_out; 71 size_t max_packet_size; 72 unsigned zero_mask; 73 unsigned writeable = 1; 75 usbdevfs_urb urb_in; [all …]
|
D | usb_libusb.cpp | 90 struct usb_handle : public ::usb_handle { struct 91 usb_handle(const std::string& device_address, const std::string& serial, in usb_handle() function 105 ~usb_handle() { in ~usb_handle() 109 void Close() { in Close() 133 std::string device_address; 134 std::string serial; 136 std::atomic<bool> closing; 137 std::mutex device_handle_mutex; 138 libusb_device_handle* device_handle; 140 transfer_info read; [all …]
|
D | usb_osx.cpp | 51 struct usb_handle struct 53 UInt8 bulkIn; 54 UInt8 bulkOut; 55 IOUSBInterfaceInterface550** interface; 56 unsigned int zero_mask; 57 size_t max_packet_size; 60 bool mark; 61 std::string devpath; 62 std::atomic<bool> dead; 64 usb_handle() in usb_handle() function
|
D | usb_windows.cpp | 56 struct usb_handle : public ::usb_handle { struct 58 ADBAPIHANDLE adb_interface; 61 ADBAPIHANDLE adb_read_pipe; 64 ADBAPIHANDLE adb_write_pipe; 67 wchar_t* interface_name; 70 unsigned max_packet_size; 73 unsigned zero_mask;
|
D | usb.h | 49 struct usb_handle {}; struct
|
/system/core/fastboot/ |
D | usb_osx.cpp | 56 struct usb_handle struct 71 OsxUsbTransport(std::unique_ptr<usb_handle> handle, uint32_t ms_timeout = 0) in OsxUsbTransport() argument
|
D | usb_windows.cpp | 55 struct usb_handle { struct 71 WindowsUsbTransport(std::unique_ptr<usb_handle> handle) : handle_(std::move(handle)) {} in WindowsUsbTransport() argument
|
D | usb_linux.cpp | 88 struct usb_handle struct 98 explicit LinuxUsbTransport(std::unique_ptr<usb_handle> handle, uint32_t ms_timeout = 0) in LinuxUsbTransport() argument
|