Searched defs:usb_handle (Results 1 – 7 of 7) sorted by relevance
54 struct usb_handle { struct55 ~usb_handle() { in ~usb_handle() argument59 std::string path;60 int fd = -1;84 static auto& g_usb_handles_mutex = *new std::mutex(); argument85 static auto& g_usb_handles = *new std::list<usb_handle*>(); argument
43 struct usb_handle struct55 usb_handle() : bulkIn(0), bulkOut(0), interface(nullptr), in usb_handle() argument
43 struct usb_handle { struct45 usb_handle *prev; argument48 usb_handle *next; argument70 static usb_handle handle_list = { argument
57 struct usb_handle struct64 int (*write)(usb_handle *h, const void *data, int len); argument65 int (*read)(usb_handle *h, void *data, int len); argument66 void (*kick)(usb_handle *h); argument67 void (*close)(usb_handle *h); argument70 int fd;73 int control;74 int bulk_out; /* "out" from the host's perspective => source for adbd */75 int bulk_in; /* "in" from the host's perspective => sink for adbd */
56 struct usb_handle struct70 OsxUsbTransport(std::unique_ptr<usb_handle> handle) : handle_(std::move(handle)) {} in OsxUsbTransport() argument
55 struct usb_handle { struct71 WindowsUsbTransport(std::unique_ptr<usb_handle> handle) : handle_(std::move(handle)) {} in WindowsUsbTransport() argument
82 struct usb_handle struct92 LinuxUsbTransport(std::unique_ptr<usb_handle> handle) : handle_(std::move(handle)) {} in LinuxUsbTransport() argument