Searched refs:server_fd_ (Results 1 – 3 of 3) sorted by relevance
/system/core/adb/pairing_connection/ |
D | pairing_server.cpp | 139 unique_fd server_fd_; member 230 server_fd_.reset(socket_inaddr_any_server(port_, SOCK_STREAM)); in SetupServer() 231 if (server_fd_.get() == -1) { in SetupServer() 234 } else if (fcntl(server_fd_.get(), F_SETFD, FD_CLOEXEC) != 0) { in SetupServer() 237 } else if (fcntl(server_fd_.get(), F_SETFD, O_NONBLOCK) != 0) { in SetupServer() 244 int port = socket_get_local_port(server_fd_.get()); in SetupServer() 261 CHECK_EQ(0, epoll_ctl(epoll_fd_.get(), EPOLL_CTL_ADD, server_fd_.get(), &event)); in ServerWorker() 286 HandleNewClientConnection(server_fd_.get()); in ServerWorker()
|
/system/core/adb/client/pairing/tests/ |
D | pairing_server.cpp | 129 unique_fd server_fd_; member in adbwifi::pairing::__anon7a073c1b0111::PairingServerImpl 211 server_fd_.reset(socket_inaddr_any_server(port_, SOCK_STREAM)); in setupServer() 212 if (server_fd_.get() == -1) { in setupServer() 215 } else if (fcntl(server_fd_.get(), F_SETFD, FD_CLOEXEC) != 0) { in setupServer() 218 } else if (fcntl(server_fd_.get(), F_SETFD, O_NONBLOCK) != 0) { in setupServer() 241 CHECK_EQ(0, epoll_ctl(epoll_fd_.get(), EPOLL_CTL_ADD, server_fd_.get(), &event)); in serverWorker() 266 handleNewClientConnection(server_fd_.get()); in serverWorker()
|
/system/core/adb/tls/tests/ |
D | tls_connection_test.cpp | 213 android::base::Socketpair(SOCK_STREAM, &server_fd_, &client_fd_); in SetUp() 215 kTestRsa2048ServerPrivKey, server_fd_); in SetUp() 254 unique_fd server_fd_; member in adb::tls::AdbWifiTlsConnectionTest 267 kTestRsa2048ServerPrivKey, server_fd_); in TEST_F() 273 "", server_fd_); in TEST_F()
|