Home
last modified time | relevance | path

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

/packages/modules/adb/pairing_connection/
Dpairing_server.cpp139 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()
238 int port = socket_get_local_port(server_fd_.get()); in SetupServer()
255 CHECK_EQ(0, epoll_ctl(epoll_fd_.get(), EPOLL_CTL_ADD, server_fd_.get(), &event)); in ServerWorker()
280 HandleNewClientConnection(server_fd_.get()); in ServerWorker()
/packages/modules/adb/client/pairing/tests/
Dpairing_server.cpp129 unique_fd server_fd_; member in adbwifi::pairing::__anon1ee857250111::PairingServerImpl
211 server_fd_.reset(socket_inaddr_any_server(port_, SOCK_STREAM)); in setupServer()
212 if (server_fd_.get() == -1) { in setupServer()
235 CHECK_EQ(0, epoll_ctl(epoll_fd_.get(), EPOLL_CTL_ADD, server_fd_.get(), &event)); in serverWorker()
260 handleNewClientConnection(server_fd_.get()); in serverWorker()
/packages/modules/adb/tls/tests/
Dtls_connection_test.cpp213 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()