Home
last modified time | relevance | path

Searched refs:SOCK_NONBLOCK (Results 1 – 13 of 13) sorted by relevance

/system/core/libcutils/
Dandroid_get_control_socket_test.cpp27 #ifndef SOCK_NONBLOCK
28 #define SOCK_NONBLOCK 0 macro
43 ASSERT_GE(fd = socket(PF_UNIX, SOCK_STREAM | SOCK_CLOEXEC | SOCK_NONBLOCK, 0), 0); in TEST()
/system/core/adb/libs/adbconnection/
Dadbconnection_server.cpp46 unique_fd s(socket(AF_UNIX, SOCK_SEQPACKET | SOCK_NONBLOCK | SOCK_CLOEXEC, 0)); in adbconnection_listen()
83 TEMP_FAILURE_RETRY(accept4(s.get(), nullptr, nullptr, SOCK_NONBLOCK | SOCK_CLOEXEC))); in adbconnection_listen()
/system/core/libsysutils/src/
DSocketListener_test.cpp49 unique_fd fd(socket(PF_UNIX, SOCK_STREAM | SOCK_CLOEXEC | SOCK_NONBLOCK, 0)); in serverSocket()
63 unique_fd fd(socket(PF_UNIX, SOCK_STREAM | SOCK_CLOEXEC | SOCK_NONBLOCK, 0)); in clientSocket()
/system/core/libstats/push_compat/
Dstatsd_writer.c86 #ifdef SOCK_NONBLOCK in statsdOpen()
87 flags |= SOCK_NONBLOCK; in statsdOpen()
/system/core/libstats/socket/
Dstatsd_writer.c88 #ifdef SOCK_NONBLOCK in statsdOpen()
89 flags |= SOCK_NONBLOCK; in statsdOpen()
/system/core/liblog/tests/
Dlogd_writer_test.cpp58 unique_fd{TEMP_FAILURE_RETRY(socket(AF_UNIX, SOCK_DGRAM | SOCK_NONBLOCK | SOCK_CLOEXEC, 0))}; in TEST()
/system/core/liblog/
Dlogd_writer.cpp63 TEMP_FAILURE_RETRY(socket(PF_UNIX, SOCK_DGRAM | SOCK_CLOEXEC | SOCK_NONBLOCK, 0)); in GetSocket()
/system/bt/service/ipc/
Dipc_handler_linux.cc159 int client_socket = accept4(socket_.get(), nullptr, nullptr, SOCK_NONBLOCK); in StartListeningOnThread()
/system/netd/tests/
Dnetd_test.cpp119 int rv = socket(AF_UNIX, SOCK_DGRAM | SOCK_NONBLOCK, 0); in TEST()
Dbinder_test.cpp3462 int sockFd = socket(AF_INET6, type | SOCK_NONBLOCK, 0); in createIpv6SocketAndCheckMark()
/system/netd/server/
DNFLogListener.cpp209 const auto flags = SOCK_DGRAM | SOCK_CLOEXEC | SOCK_NONBLOCK; in makeNFLogListener()
DTrafficController.cpp139 const int type = SOCK_DGRAM | SOCK_CLOEXEC | SOCK_NONBLOCK; in makeSkDestroyListener()
/system/core/init/
Dproperty_service.cpp1156 if (auto result = CreateSocket(PROP_SERVICE_NAME, SOCK_STREAM | SOCK_CLOEXEC | SOCK_NONBLOCK, in StartPropertyService()