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 | 76 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/ |
D | test_channel_transport.cc | 78 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/ |
D | hci_hal_host_test.cc | 114 int accept_fd; in Accept() local 116 RUN_NO_INTR(accept_fd = accept(listen_fd_, nullptr, nullptr)); in Accept() 118 int flags = fcntl(accept_fd, F_GETFL, NULL); in Accept() 119 int ret = fcntl(accept_fd, F_SETFL, flags | O_NONBLOCK); in Accept() 125 if (accept_fd < 0) { in Accept() 135 return accept_fd; in Accept()
|