Searched refs:listen_fd (Results 1 – 4 of 4) sorted by relevance
/system/bt/vendor_libs/test_vendor_lib/model/devices/ |
D | server_port_factory.h | 38 void Accept(int listen_fd);
|
/system/update_engine/ |
D | test_http_server.cc | 596 int listen_fd = socket(AF_INET, SOCK_STREAM, 0); in main() local 597 if (listen_fd < 0) in main() 608 if (setsockopt(listen_fd, SOL_SOCKET, SO_REUSEADDR, &tr, sizeof(int)) == in main() 616 if (bind(listen_fd, in main() 622 if (listen(listen_fd, 5) < 0) { in main() 630 if (getsockname(listen_fd, in main() 655 int client_fd = accept(listen_fd, nullptr, nullptr); in main()
|
/system/bt/vendor_libs/test_vendor_lib/model/setup/ |
D | test_channel_transport.h | 46 int Accept(int listen_fd);
|
/system/core/adb/ |
D | socket_test.cpp | 281 int listen_fd = network_inaddr_any_server(5038, SOCK_STREAM, &error); in TEST_F() local 282 ASSERT_GE(listen_fd, 0); in TEST_F() 286 int accept_fd = adb_socket_accept(listen_fd, nullptr, nullptr); in TEST_F()
|