Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/tools/rootcanal/net/posix/
Dposix_async_socket.cc41 PosixAsyncSocket::PosixAsyncSocket(int fd, AsyncManager* am) in PosixAsyncSocket() function in android::net::PosixAsyncSocket
58 PosixAsyncSocket::PosixAsyncSocket(PosixAsyncSocket&& other) { in PosixAsyncSocket() function in android::net::PosixAsyncSocket
66 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()
Dposix_async_socket.h34 class PosixAsyncSocket : public AsyncDataChannel {
41 PosixAsyncSocket(int fd, AsyncManager* am);
42 PosixAsyncSocket(const PosixAsyncSocket& other) = delete;
43 PosixAsyncSocket(PosixAsyncSocket&& other);
46 ~PosixAsyncSocket();
Dposix_async_socket_server.cc80 server_socket_ = std::make_shared<PosixAsyncSocket>(listen_fd, am_); in PosixAsyncSocketServer()
115 callback_(std::make_shared<PosixAsyncSocket>(accept_fd, am_), this); in AcceptSocket()
Dposix_async_socket_connector.cc42 std::shared_ptr<PosixAsyncSocket> pas = in ConnectToRemoteServer()
43 std::make_shared<PosixAsyncSocket>(socket_fd, am_); in ConnectToRemoteServer()
Dposix_async_socket_server.h56 std::shared_ptr<PosixAsyncSocket> server_socket_;