Home
last modified time | relevance | path

Searched refs:listen_fd (Results 1 – 4 of 4) sorted by relevance

/system/bt/vendor_libs/test_vendor_lib/model/devices/
Dserver_port_factory.h38 void Accept(int listen_fd);
/system/update_engine/
Dtest_http_server.cc596 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/
Dtest_channel_transport.h46 int Accept(int listen_fd);
/system/core/adb/
Dsocket_test.cpp281 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()