Home
last modified time | relevance | path

Searched refs:socketpair (Results 1 – 21 of 21) sorted by relevance

/system/core/adb/
Dsysdeps_test.cpp45 int socketpair[2]; in TEST() local
47 while (adb_socketpair(socketpair) == 0) { in TEST()
48 fds.push_back(socketpair[0]); in TEST()
49 fds.push_back(socketpair[1]); in TEST()
56 ASSERT_EQ(0, adb_socketpair(socketpair)); in TEST()
57 ASSERT_EQ(socketpair[0], fds[0]); in TEST()
58 ASSERT_EQ(socketpair[1], fds[1]); in TEST()
59 ASSERT_EQ(0, adb_close(socketpair[0])); in TEST()
60 ASSERT_EQ(0, adb_close(socketpair[1])); in TEST()
Dsysdeps.h586 return socketpair( d, type, protocol, sv ); in unix_socketpair()
602 #undef socketpair
603 #define socketpair ___xxx_socketpair macro
Dprotocol.txt218 reading, one for writing) and a datagram socketpair to provide the
231 service, the bridge program will create a stream socketpair and spawn
/system/tpm/attestation/server/
Dattestationd-seccomp-arm.policy16 socketpair: 1
Dattestationd-seccomp-amd64.policy32 socketpair: 1
/system/core/base/include/android-base/
Dunique_fd.h127 if (socketpair(domain, type, protocol, sockfd) != 0) { in Socketpair()
/system/core/init/
Dsigchld_handler.cpp126 if (socketpair(AF_UNIX, SOCK_STREAM | SOCK_NONBLOCK | SOCK_CLOEXEC, 0, s) == -1) { in sigchld_handler_init()
/system/tpm/tpm_manager/server/
Dtpm_managerd-seccomp-amd64.policy33 socketpair: 1
/system/bt/vendor_libs/test_vendor_lib/test/
Dpacket_stream_unittest.cc47 socketpair(AF_LOCAL, SOCK_STREAM, 0, socketpair_fds_); in PacketStreamTest()
/system/core/libmemunreachable/
DLeakPipe.h39 int ret = socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0, sv_); in LeakPipe()
/system/core/libion/
Dion_test.c126 socketpair(AF_UNIX, SOCK_STREAM, 0, sd); in ion_share_test()
/system/core/libappfuse/
DFuseBuffer.cc143 if (socketpair(AF_UNIX, SOCK_SEQPACKET, 0, raw_fds) == -1) { in SetupMessageSockets()
/system/bt/btif/src/
Dbtif_sock_sco.cc140 if (socketpair(AF_LOCAL, SOCK_STREAM, 0, pair) == -1) { in sco_socket_establish_locked()
Dbtif_sock_thread.cc195 if (socketpair(AF_UNIX, SOCK_STREAM, 0, &ts[h].cmd_fdr) < 0) { in init_cmd_fd()
Dbtif_sock_rfc.cc205 if (socketpair(AF_LOCAL, SOCK_STREAM, 0, fds) == -1) { in alloc_rfc_slot()
Dbtif_sock_l2cap.cc286 if (socketpair(AF_LOCAL, SOCK_SEQPACKET, 0, fds)) { in btsock_l2cap_alloc_l()
Dbtif_hl.cc4170 if (socketpair(AF_UNIX, SOCK_STREAM, 0, p_scb->socket_id) >= 0) { in btif_hl_create_socket()
4395 socketpair(AF_UNIX, SOCK_STREAM, 0, signal_fds) < 0) { in btif_hl_select_wakeup_init()
/system/bt/hci/src/
Dhci_layer_linux.cc211 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv) < 0) { in hci_initialize()
/system/bt/udrv/ulinux/
Duipc.cc195 if (socketpair(AF_UNIX, SOCK_STREAM, 0, uipc.signal_fds) < 0) { in uipc_main_init()
/system/netd/server/dns/
DREADME.md51 "reliable datagram pipe" (`socketpair()` in `SOCK_SEQPACKET` mode).
/system/netd/server/
DMDnsSdListener.cpp524 socketpair(AF_LOCAL, SOCK_STREAM, 0, mCtrlSocketPair); in Monitor()