Home
last modified time | relevance | path

Searched defs:usb_handle (Results 1 – 4 of 4) sorted by relevance

/system/core/fastboot/device/
Dusb.h38 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/fastboot/
Dusb_osx.cpp56 struct usb_handle struct
71 OsxUsbTransport(std::unique_ptr<usb_handle> handle, uint32_t ms_timeout = 0) in OsxUsbTransport() argument
Dusb_windows.cpp55 struct usb_handle { struct
71 WindowsUsbTransport(std::unique_ptr<usb_handle> handle) : handle_(std::move(handle)) {} in WindowsUsbTransport() argument
Dusb_linux.cpp88 struct usb_handle struct
98 explicit LinuxUsbTransport(std::unique_ptr<usb_handle> handle, uint32_t ms_timeout = 0) in LinuxUsbTransport() argument