Home
last modified time | relevance | path

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

/system/bt/vendor_libs/test_vendor_lib/model/devices/
Dserver_port_factory.cc76 int accept_fd = -1; in Accept() local
81 …OSI_NO_INTR(accept_fd = accept(listen_fd_, reinterpret_cast<sockaddr*>(&test_channel_address), &so… in Accept()
82 if (accept_fd < 0) { in Accept()
92 LOG_INFO("accept_fd = %d.", accept_fd); in Accept()
94 return accept_fd; in Accept()
/system/bt/vendor_libs/test_vendor_lib/model/setup/
Dtest_channel_transport.cc78 int accept_fd; in Accept() local
80 OSI_NO_INTR(accept_fd = accept(listen_fd, NULL, NULL)); in Accept()
82 if (accept_fd < 0) { in Accept()
92 LOG_INFO("accept_fd = %d.", accept_fd); in Accept()
94 return accept_fd; in Accept()
/system/bt/gd/hal/
Dhci_hal_host_rootcanal_test.cc109 int accept_fd; in Accept() local
111 RUN_NO_INTR(accept_fd = accept(listen_fd_, nullptr, nullptr)); in Accept()
113 int flags = fcntl(accept_fd, F_GETFL, NULL); in Accept()
114 int ret = fcntl(accept_fd, F_SETFL, flags | O_NONBLOCK); in Accept()
120 if (accept_fd < 0) { in Accept()
130 return accept_fd; in Accept()
/system/core/adb/
Dsocket_test.cpp286 int accept_fd = adb_socket_accept(listen_fd, nullptr, nullptr); in TEST_F() local
287 ASSERT_GE(accept_fd, 0); in TEST_F()
291 fdevent_run_on_main_thread([accept_fd]() { in TEST_F()
292 asocket* s = create_local_socket(unique_fd(accept_fd)); in TEST_F()