Searched refs:socketpair (Results 1 – 18 of 18) sorted by relevance
/system/core/adb/ |
D | sysdeps_test.cpp | 60 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()
|
D | sysdeps.h | 631 return socketpair(d, type, protocol, sv); in unix_socketpair() 645 #undef socketpair 646 #define socketpair ___xxx_socketpair macro
|
D | protocol.txt | 229 reading, one for writing) and a datagram socketpair to provide the 242 service, the bridge program will create a stream socketpair and spawn
|
D | test_adb.py | 57 readsock, writesock = socket.socketpair()
|
/system/bt/gd/shim/ |
D | dumpsys_test.cc | 108 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/ |
D | packet_stream_unittest.cc | 47 socketpair(AF_LOCAL, SOCK_STREAM, 0, socketpair_fds_); in PacketStreamTest()
|
/system/memory/libmemunreachable/ |
D | LeakPipe.h | 39 int ret = socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0, sv_); in LeakPipe()
|
/system/memory/libion/ |
D | ion_test.c | 126 socketpair(AF_UNIX, SOCK_STREAM, 0, sd); in ion_share_test()
|
/system/libbase/include/android-base/ |
D | unique_fd.h | 225 if (socketpair(domain, type, protocol, sockfd) != 0) { in Socketpair()
|
/system/core/libappfuse/ |
D | FuseBuffer.cc | 143 if (socketpair(AF_UNIX, SOCK_SEQPACKET, 0, raw_fds) == -1) { in SetupMessageSockets()
|
/system/bt/btif/src/ |
D | btif_sock_sco.cc | 140 if (socketpair(AF_LOCAL, SOCK_STREAM, 0, pair) == -1) { in sco_socket_establish_locked()
|
D | btif_sock_thread.cc | 195 if (socketpair(AF_UNIX, SOCK_STREAM, 0, &ts[h].cmd_fdr) < 0) { in init_cmd_fd()
|
D | btif_sock_rfc.cc | 211 if (socketpair(AF_LOCAL, SOCK_STREAM, 0, fds) == -1) { in alloc_rfc_slot()
|
D | btif_sock_l2cap.cc | 306 if (socketpair(AF_LOCAL, SOCK_SEQPACKET, 0, fds)) { in btsock_l2cap_alloc_l()
|
/system/bt/hci/src/ |
D | hci_layer_linux.cc | 210 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv) < 0) { in hci_initialize()
|
/system/bt/udrv/ulinux/ |
D | uipc.cc | 195 if (socketpair(AF_UNIX, SOCK_STREAM, 0, uipc.signal_fds) < 0) { in uipc_main_init()
|
/system/netd/server/ |
D | MDnsSdListener.cpp | 528 socketpair(AF_LOCAL, SOCK_STREAM | SOCK_CLOEXEC, 0, mCtrlSocketPair); in Monitor()
|
/system/core/init/ |
D | property_service.cpp | 1198 if (socketpair(AF_UNIX, SOCK_SEQPACKET | SOCK_CLOEXEC, 0, sockets) != 0) { in StartPropertyService()
|