Home
last modified time | relevance | path

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

/system/core/fastboot/
Dusb_linux.cpp96 class LinuxUsbTransport : public UsbTransport { class
98 explicit LinuxUsbTransport(std::unique_ptr<usb_handle> handle, uint32_t ms_timeout = 0) in LinuxUsbTransport() function in LinuxUsbTransport
100 ~LinuxUsbTransport() override;
112 DISALLOW_COPY_AND_ASSIGN(LinuxUsbTransport);
399 LinuxUsbTransport::~LinuxUsbTransport() { in ~LinuxUsbTransport()
403 ssize_t LinuxUsbTransport::Write(const void* _data, size_t len) in Write()
438 ssize_t LinuxUsbTransport::Read(void* _data, size_t len) in Read()
482 int LinuxUsbTransport::Close() in Close()
496 int LinuxUsbTransport::Reset() { in Reset()
508 return handle ? new LinuxUsbTransport(std::move(handle), timeout_ms) : nullptr; in usb_open()
[all …]