Loading adb/fdevent.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -55,7 +55,7 @@ struct PollNode { fdevent* fde; adb_pollfd pollfd; PollNode(fdevent* fde) : fde(fde) { explicit PollNode(fdevent* fde) : fde(fde) { memset(&pollfd, 0, sizeof(pollfd)); pollfd.fd = fde->fd; Loading fastboot/socket.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -167,7 +167,7 @@ ssize_t UdpSocket::Receive(void* data, size_t length, int timeout_ms) { // Implements the Socket interface for TCP. class TcpSocket : public Socket { public: TcpSocket(cutils_socket_t sock) : Socket(sock) {} explicit TcpSocket(cutils_socket_t sock) : Socket(sock) {} bool Send(const void* data, size_t length) override; bool Send(std::vector<cutils_socket_buffer_t> buffers) override; Loading fastboot/tcp.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -66,7 +66,7 @@ class TcpTransport : public Transport { int Close() override; private: TcpTransport(std::unique_ptr<Socket> sock) : socket_(std::move(sock)) {} explicit TcpTransport(std::unique_ptr<Socket> sock) : socket_(std::move(sock)) {} // Connects to the device and performs the initial handshake. Returns false and fills |error| // on failure. Loading fastboot/udp.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -111,7 +111,7 @@ class UdpTransport : public Transport { int Close() override; private: UdpTransport(std::unique_ptr<Socket> socket) : socket_(std::move(socket)) {} explicit UdpTransport(std::unique_ptr<Socket> socket) : socket_(std::move(socket)) {} // Performs the UDP initialization procedure. Returns true on success. bool InitializeProtocol(std::string* error); Loading fastboot/usb_linux.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -89,7 +89,7 @@ struct usb_handle class LinuxUsbTransport : public Transport { public: LinuxUsbTransport(std::unique_ptr<usb_handle> handle) : handle_(std::move(handle)) {} explicit LinuxUsbTransport(std::unique_ptr<usb_handle> handle) : handle_(std::move(handle)) {} ~LinuxUsbTransport() override = default; ssize_t Read(void* data, size_t len) override; Loading Loading
adb/fdevent.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -55,7 +55,7 @@ struct PollNode { fdevent* fde; adb_pollfd pollfd; PollNode(fdevent* fde) : fde(fde) { explicit PollNode(fdevent* fde) : fde(fde) { memset(&pollfd, 0, sizeof(pollfd)); pollfd.fd = fde->fd; Loading
fastboot/socket.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -167,7 +167,7 @@ ssize_t UdpSocket::Receive(void* data, size_t length, int timeout_ms) { // Implements the Socket interface for TCP. class TcpSocket : public Socket { public: TcpSocket(cutils_socket_t sock) : Socket(sock) {} explicit TcpSocket(cutils_socket_t sock) : Socket(sock) {} bool Send(const void* data, size_t length) override; bool Send(std::vector<cutils_socket_buffer_t> buffers) override; Loading
fastboot/tcp.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -66,7 +66,7 @@ class TcpTransport : public Transport { int Close() override; private: TcpTransport(std::unique_ptr<Socket> sock) : socket_(std::move(sock)) {} explicit TcpTransport(std::unique_ptr<Socket> sock) : socket_(std::move(sock)) {} // Connects to the device and performs the initial handshake. Returns false and fills |error| // on failure. Loading
fastboot/udp.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -111,7 +111,7 @@ class UdpTransport : public Transport { int Close() override; private: UdpTransport(std::unique_ptr<Socket> socket) : socket_(std::move(socket)) {} explicit UdpTransport(std::unique_ptr<Socket> socket) : socket_(std::move(socket)) {} // Performs the UDP initialization procedure. Returns true on success. bool InitializeProtocol(std::string* error); Loading
fastboot/usb_linux.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -89,7 +89,7 @@ struct usb_handle class LinuxUsbTransport : public Transport { public: LinuxUsbTransport(std::unique_ptr<usb_handle> handle) : handle_(std::move(handle)) {} explicit LinuxUsbTransport(std::unique_ptr<usb_handle> handle) : handle_(std::move(handle)) {} ~LinuxUsbTransport() override = default; ssize_t Read(void* data, size_t len) override; Loading