Home
last modified time | relevance | path

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

/system/core/fastboot/
Dsocket.cpp170 class TcpSocket : public Socket { class
172 explicit TcpSocket(cutils_socket_t sock) : Socket(sock) {} in TcpSocket() function in TcpSocket
181 DISALLOW_COPY_AND_ASSIGN(TcpSocket);
184 bool TcpSocket::Send(const void* data, size_t length) { in Send()
198 bool TcpSocket::Send(std::vector<cutils_socket_buffer_t> buffers) { in Send()
232 ssize_t TcpSocket::Receive(void* data, size_t length, int timeout_ms) { in Receive()
240 std::unique_ptr<Socket> TcpSocket::Accept() { in Accept()
245 return std::unique_ptr<TcpSocket>(new TcpSocket(handler)); in Accept()
258 return std::unique_ptr<TcpSocket>(new TcpSocket(sock)); in NewClient()
278 return std::unique_ptr<TcpSocket>(new TcpSocket(sock)); in NewServer()