Searched refs:socketpair (Results 1 – 18 of 18) sorted by relevance
/system/core/adb/ |
D | sysdeps_test.cpp | 45 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()
|
D | sysdeps.h | 555 return socketpair( d, type, protocol, sv ); in unix_socketpair() 571 #undef socketpair 572 #define socketpair ___xxx_socketpair macro
|
D | protocol.txt | 220 reading, one for writing) and a datagram socketpair to provide the 233 service, the bridge program will create a stream socketpair and spawn
|
D | test_adb.py | 50 readsock, writesock = socket.socketpair()
|
/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/core/libmemunreachable/ |
D | LeakPipe.h | 39 int ret = socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0, sv_); in LeakPipe()
|
/system/core/base/include/android-base/ |
D | unique_fd.h | 212 if (socketpair(domain, type, protocol, sockfd) != 0) { in Socketpair()
|
/system/core/libion/ |
D | ion_test.c | 126 socketpair(AF_UNIX, SOCK_STREAM, 0, sd); in ion_share_test()
|
/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 | 300 if (socketpair(AF_LOCAL, SOCK_SEQPACKET, 0, fds)) { in btsock_l2cap_alloc_l()
|
D | btif_hl.cc | 4170 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/core/libappfuse/ |
D | FuseBuffer.cc | 143 if (socketpair(AF_UNIX, SOCK_SEQPACKET, 0, raw_fds) == -1) { in SetupMessageSockets()
|
/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/resolv/ |
D | README.md | 51 "reliable datagram pipe" (`socketpair()` in `SOCK_SEQPACKET` mode).
|
/system/netd/server/ |
D | MDnsSdListener.cpp | 528 socketpair(AF_LOCAL, SOCK_STREAM | SOCK_CLOEXEC, 0, mCtrlSocketPair); in Monitor()
|