Home
last modified time | relevance | path

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

/system/core/adb/
Dsysdeps_test.cpp60 int socketpair[2]; in TEST() local
62 while (adb_socketpair(socketpair) == 0) { in TEST()
63 fds.push_back(socketpair[0]); in TEST()
64 fds.push_back(socketpair[1]); in TEST()
71 ASSERT_EQ(0, adb_socketpair(socketpair)); in TEST()
72 ASSERT_EQ(socketpair[0], fds[0]); in TEST()
73 ASSERT_EQ(socketpair[1], fds[1]); in TEST()
74 ASSERT_EQ(0, adb_close(socketpair[0])); in TEST()
75 ASSERT_EQ(0, adb_close(socketpair[1])); in TEST()
Dsysdeps.h631 return socketpair(d, type, protocol, sv); in unix_socketpair()
645 #undef socketpair
646 #define socketpair ___xxx_socketpair macro
Dprotocol.txt229 reading, one for writing) and a datagram socketpair to provide the
242 service, the bridge program will create a stream socketpair and spawn
Dtest_adb.py57 readsock, writesock = socket.socketpair()
/system/bt/gd/shim/
Ddumpsys_test.cc108 ASSERT_EQ(0, socketpair(AF_LOCAL, SOCK_STREAM | SOCK_NONBLOCK, 0, sv)); in TEST_F()
125 ASSERT_EQ(0, socketpair(AF_LOCAL, SOCK_STREAM | SOCK_NONBLOCK, 0, sv)); in TEST_F()
/system/bt/vendor_libs/test_vendor_lib/test/
Dpacket_stream_unittest.cc47 socketpair(AF_LOCAL, SOCK_STREAM, 0, socketpair_fds_); in PacketStreamTest()
/system/memory/libmemunreachable/
DLeakPipe.h39 int ret = socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0, sv_); in LeakPipe()
/system/memory/libion/
Dion_test.c126 socketpair(AF_UNIX, SOCK_STREAM, 0, sd); in ion_share_test()
/system/libbase/include/android-base/
Dunique_fd.h225 if (socketpair(domain, type, protocol, sockfd) != 0) { in Socketpair()
/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.cc211 if (socketpair(AF_LOCAL, SOCK_STREAM, 0, fds) == -1) { in alloc_rfc_slot()
Dbtif_sock_l2cap.cc306 if (socketpair(AF_LOCAL, SOCK_SEQPACKET, 0, fds)) { in btsock_l2cap_alloc_l()
/system/bt/hci/src/
Dhci_layer_linux.cc210 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/
DMDnsSdListener.cpp528 socketpair(AF_LOCAL, SOCK_STREAM | SOCK_CLOEXEC, 0, mCtrlSocketPair); in Monitor()
/system/core/init/
Dproperty_service.cpp1198 if (socketpair(AF_UNIX, SOCK_SEQPACKET | SOCK_CLOEXEC, 0, sockets) != 0) { in StartPropertyService()