Home | History | Annotate | Download | only in fastboot

Lines Matching defs:UdpTransport

102 class UdpTransport : public Transport {
105 static std::unique_ptr<UdpTransport> NewTransport(std::unique_ptr<Socket> socket,
107 ~UdpTransport() override = default;
114 UdpTransport(std::unique_ptr<Socket> socket) : socket_(std::move(socket)) {}
138 DISALLOW_COPY_AND_ASSIGN(UdpTransport);
141 std::unique_ptr<UdpTransport> UdpTransport::NewTransport(std::unique_ptr<Socket> socket,
143 std::unique_ptr<UdpTransport> transport(new UdpTransport(std::move(socket)));
152 bool UdpTransport::InitializeProtocol(std::string* error) {
206 ssize_t UdpTransport::SendData(Id id, const uint8_t* tx_data, size_t tx_length, uint8_t* rx_data,
252 ssize_t UdpTransport::SendSinglePacketHelper(
327 ssize_t UdpTransport::Read(void* data, size_t length) {
346 ssize_t UdpTransport::Write(const void* data, size_t length) {
363 int UdpTransport::Close() {
386 return UdpTransport::NewTransport(std::move(sock), error);