Searched refs:accept_fd (Results 1 – 3 of 3) sorted by relevance
/system/bt/vendor_libs/test_vendor_lib/model/devices/ |
D | server_port_factory.cc | 80 int accept_fd = -1; in Accept() local 85 …OSI_NO_INTR(accept_fd = accept(listen_fd_, reinterpret_cast<sockaddr*>(&test_channel_address), &so… in Accept() 86 if (accept_fd < 0) { in Accept() 96 LOG_INFO(LOG_TAG, "accept_fd = %d.", accept_fd); in Accept() 98 return accept_fd; in Accept()
|
/system/bt/vendor_libs/test_vendor_lib/model/setup/ |
D | test_channel_transport.cc | 74 int accept_fd = -1; in Accept() local 76 OSI_NO_INTR(accept_fd = accept(listen_fd_, NULL, NULL)); in Accept() 78 if (accept_fd < 0) { in Accept() 88 LOG_INFO(LOG_TAG, "accept_fd = %d.", accept_fd); in Accept() 90 return accept_fd; in Accept()
|
/system/core/adb/ |
D | socket_test.cpp | 286 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()
|