Searched refs:SOCK_NONBLOCK (Results 1 – 13 of 13) sorted by relevance
/system/core/libcutils/ |
D | android_get_control_socket_test.cpp | 27 #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/ |
D | adbconnection_server.cpp | 46 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/ |
D | SocketListener_test.cpp | 49 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/ |
D | statsd_writer.c | 86 #ifdef SOCK_NONBLOCK in statsdOpen() 87 flags |= SOCK_NONBLOCK; in statsdOpen()
|
/system/core/libstats/socket/ |
D | statsd_writer.c | 88 #ifdef SOCK_NONBLOCK in statsdOpen() 89 flags |= SOCK_NONBLOCK; in statsdOpen()
|
/system/core/liblog/tests/ |
D | logd_writer_test.cpp | 58 unique_fd{TEMP_FAILURE_RETRY(socket(AF_UNIX, SOCK_DGRAM | SOCK_NONBLOCK | SOCK_CLOEXEC, 0))}; in TEST()
|
/system/core/liblog/ |
D | logd_writer.cpp | 63 TEMP_FAILURE_RETRY(socket(PF_UNIX, SOCK_DGRAM | SOCK_CLOEXEC | SOCK_NONBLOCK, 0)); in GetSocket()
|
/system/bt/service/ipc/ |
D | ipc_handler_linux.cc | 159 int client_socket = accept4(socket_.get(), nullptr, nullptr, SOCK_NONBLOCK); in StartListeningOnThread()
|
/system/netd/tests/ |
D | netd_test.cpp | 119 int rv = socket(AF_UNIX, SOCK_DGRAM | SOCK_NONBLOCK, 0); in TEST()
|
D | binder_test.cpp | 3462 int sockFd = socket(AF_INET6, type | SOCK_NONBLOCK, 0); in createIpv6SocketAndCheckMark()
|
/system/netd/server/ |
D | NFLogListener.cpp | 209 const auto flags = SOCK_DGRAM | SOCK_CLOEXEC | SOCK_NONBLOCK; in makeNFLogListener()
|
D | TrafficController.cpp | 139 const int type = SOCK_DGRAM | SOCK_CLOEXEC | SOCK_NONBLOCK; in makeSkDestroyListener()
|
/system/core/init/ |
D | property_service.cpp | 1156 if (auto result = CreateSocket(PROP_SERVICE_NAME, SOCK_STREAM | SOCK_CLOEXEC | SOCK_NONBLOCK, in StartPropertyService()
|