Home
last modified time | relevance | path

Searched refs:socketpair (Results 1 – 18 of 18) 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.h555 return socketpair( d, type, protocol, sv ); in unix_socketpair()
571 #undef socketpair
572 #define socketpair ___xxx_socketpair macro
Dprotocol.txt220 reading, one for writing) and a datagram socketpair to provide the
233 service, the bridge program will create a stream socketpair and spawn
Dtest_adb.py50 readsock, writesock = socket.socketpair()
/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/base/include/android-base/
Dunique_fd.h212 if (socketpair(domain, type, protocol, sockfd) != 0) { in Socketpair()
/system/core/libion/
Dion_test.c126 socketpair(AF_UNIX, SOCK_STREAM, 0, sd); in ion_share_test()
/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.cc300 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/core/libappfuse/
DFuseBuffer.cc143 if (socketpair(AF_UNIX, SOCK_SEQPACKET, 0, raw_fds) == -1) { in SetupMessageSockets()
/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/resolv/
DREADME.md51 "reliable datagram pipe" (`socketpair()` in `SOCK_SEQPACKET` mode).
/system/netd/server/
DMDnsSdListener.cpp528 socketpair(AF_LOCAL, SOCK_STREAM | SOCK_CLOEXEC, 0, mCtrlSocketPair); in Monitor()