Home
last modified time | relevance | path

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

/system/core/adb/
Dusb_linux.cpp54 struct usb_handle { struct
55 ~usb_handle() { in ~usb_handle() argument
59 std::string path;
60 int fd = -1;
84 static auto& g_usb_handles_mutex = *new std::mutex(); argument
85 static auto& g_usb_handles = *new std::list<usb_handle*>(); argument
Dusb_osx.cpp43 struct usb_handle struct
55 usb_handle() : bulkIn(0), bulkOut(0), interface(nullptr), in usb_handle() argument
Dusb_windows.cpp43 struct usb_handle { struct
45 usb_handle *prev; argument
48 usb_handle *next; argument
70 static usb_handle handle_list = { argument
Dusb_linux_client.cpp57 struct usb_handle struct
64 int (*write)(usb_handle *h, const void *data, int len); argument
65 int (*read)(usb_handle *h, void *data, int len); argument
66 void (*kick)(usb_handle *h); argument
67 void (*close)(usb_handle *h); argument
70 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 */
/system/core/fastboot/
Dusb_osx.cpp56 struct usb_handle struct
70 OsxUsbTransport(std::unique_ptr<usb_handle> handle) : handle_(std::move(handle)) {} 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.cpp82 struct usb_handle struct
92 LinuxUsbTransport(std::unique_ptr<usb_handle> handle) : handle_(std::move(handle)) {} in LinuxUsbTransport() argument