Home
last modified time | relevance | path

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

/aosp14/system/core/fastboot/
H A Dsocket.cpp174 class TcpSocket : public Socket { class
176 explicit TcpSocket(cutils_socket_t sock) : Socket(sock) {} in TcpSocket() function in TcpSocket
185 DISALLOW_COPY_AND_ASSIGN(TcpSocket);
188 bool TcpSocket::Send(const void* data, size_t length) { in Send()
202 bool TcpSocket::Send(std::vector<cutils_socket_buffer_t> buffers) { in Send()
236 ssize_t TcpSocket::Receive(void* data, size_t length, int timeout_ms) { in Receive()
244 std::unique_ptr<Socket> TcpSocket::Accept() { in Accept()
249 return std::unique_ptr<TcpSocket>(new TcpSocket(handler)); in Accept()
262 return std::unique_ptr<TcpSocket>(new TcpSocket(sock)); in NewClient()
282 return std::unique_ptr<TcpSocket>(new TcpSocket(sock)); in NewServer()