Searched refs:tcp_socket_ (Results 1 – 2 of 2) sorted by relevance
590 return (udp_socket_.ok()) && (tcp_socket_.ok()); in running()605 if (tcp_socket_ = createListeningSocket(SOCK_STREAM); tcp_socket_.get() < 0) { in startServer()610 if (listen(tcp_socket_.get(), 1) < 0) { in startServer()636 if (!addFd(tcp_socket_.get(), EPOLLIN)) { in startServer()669 tcp_socket_.reset(); in stopServer()721 } else if (fd == tcp_socket_.get() && (events & (EPOLLIN | EPOLLERR))) { in requestHandler()1109 tcpFd.reset(accept4(tcp_socket_.get(), reinterpret_cast<sockaddr*>(&sa), &sa_len, in handleQuery()
206 int getTcpSocket() const { return tcp_socket_.get(); } in getTcpSocket()346 android::base::unique_fd tcp_socket_; variable