Home
last modified time | relevance | path

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

/system/core/adb/
Dsysdeps_test.cpp93 int socketpair[2]; in TEST() local
95 while (adb_socketpair(socketpair) == 0) { in TEST()
96 fds.push_back(socketpair[0]); in TEST()
97 fds.push_back(socketpair[1]); in TEST()
104 ASSERT_EQ(0, adb_socketpair(socketpair)); in TEST()
105 ASSERT_EQ(socketpair[0], fds[0]); in TEST()
106 ASSERT_EQ(socketpair[1], fds[1]); in TEST()
107 ASSERT_EQ(0, adb_close(socketpair[0])); in TEST()
108 ASSERT_EQ(0, adb_close(socketpair[1])); in TEST()
Dsysdeps.h741 return socketpair( d, type, protocol, sv ); in unix_socketpair()
757 #undef socketpair
758 #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/core/init/
Dsignal_handler.cpp54 if (socketpair(AF_UNIX, SOCK_STREAM | SOCK_NONBLOCK | SOCK_CLOEXEC, 0, s) == -1) { in signal_handler_init()
/system/tpm/attestation/server/
Dattestationd-seccomp-arm.policy16 socketpair: 1
Dattestationd-seccomp-amd64.policy32 socketpair: 1
/system/tpm/tpm_manager/server/
Dtpm_managerd-seccomp-amd64.policy33 socketpair: 1
/system/core/debuggerd/
Dsignal_sender.cpp75 if (socketpair(AF_UNIX, SOCK_SEQPACKET | SOCK_CLOEXEC, 0, sfd) != 0) { in start_signal_sender()
/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.h37 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.cc140 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.cc203 if (socketpair(AF_LOCAL, SOCK_STREAM, 0, fds) == -1) { in alloc_rfc_slot()
Dbtif_sock_l2cap.cc299 if (socketpair(AF_LOCAL, SOCK_SEQPACKET, 0, fds)) { in btsock_l2cap_alloc_l()
Dbtif_hl.cc4229 if (socketpair(AF_UNIX, SOCK_STREAM, 0, p_scb->socket_id) >= 0) { in btif_hl_create_socket()
4454 socketpair(AF_UNIX, SOCK_STREAM, 0, signal_fds) < 0) { in btif_hl_select_wakeup_init()
/system/bt/hci/src/
Dhci_layer_linux.cc209 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv) < 0) { in hci_initialize()
/system/netd/server/
DBandwidthControllerTest.cpp243 ASSERT_EQ(0, socketpair(AF_UNIX, SOCK_STREAM, 0, socketPair)); in TEST_F()
DMDnsSdListener.cpp524 socketpair(AF_LOCAL, SOCK_STREAM, 0, mCtrlSocketPair); in Monitor()
/system/bt/udrv/ulinux/
Duipc.cc222 if (socketpair(AF_UNIX, SOCK_STREAM, 0, uipc_main.signal_fds) < 0) { in uipc_main_init()
/system/nfc/halimpl/bcm2079x/adaptation/
Duserial_linux.c435 socketpair(AF_UNIX, SOCK_STREAM, 0, signal_fds) < 0) { in create_signal_fds()