Searched refs:PosixAsyncSocket (Results 1 – 5 of 5) sorted by relevance
41 PosixAsyncSocket::PosixAsyncSocket(int fd, AsyncManager* am) in PosixAsyncSocket() function in android::net::PosixAsyncSocket58 PosixAsyncSocket::PosixAsyncSocket(PosixAsyncSocket&& other) { in PosixAsyncSocket() function in android::net::PosixAsyncSocket66 PosixAsyncSocket::~PosixAsyncSocket() { Close(); } in ~PosixAsyncSocket()68 ssize_t PosixAsyncSocket::Recv(uint8_t* buffer, uint64_t bufferSize) { in Recv()85 ssize_t PosixAsyncSocket::Send(const uint8_t* buffer, uint64_t bufferSize) { in Send()104 bool PosixAsyncSocket::Connected() { in Connected()118 void PosixAsyncSocket::Close() { in Close()142 bool PosixAsyncSocket::WatchForNonBlockingRead( in WatchForNonBlockingRead()154 void PosixAsyncSocket::StopWatching() { in StopWatching()
34 class PosixAsyncSocket : public AsyncDataChannel {41 PosixAsyncSocket(int fd, AsyncManager* am);42 PosixAsyncSocket(const PosixAsyncSocket& other) = delete;43 PosixAsyncSocket(PosixAsyncSocket&& other);46 ~PosixAsyncSocket();
80 server_socket_ = std::make_shared<PosixAsyncSocket>(listen_fd, am_); in PosixAsyncSocketServer()115 callback_(std::make_shared<PosixAsyncSocket>(accept_fd, am_), this); in AcceptSocket()
42 std::shared_ptr<PosixAsyncSocket> pas = in ConnectToRemoteServer()43 std::make_shared<PosixAsyncSocket>(socket_fd, am_); in ConnectToRemoteServer()
56 std::shared_ptr<PosixAsyncSocket> server_socket_;