/packages/modules/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 | 679 return socketpair(d, type, protocol, sv); in unix_socketpair() 693 #undef socketpair 694 #define socketpair ___xxx_socketpair macro
|
D | protocol.txt | 230 reading, one for writing) and a datagram socketpair to provide the 243 service, the bridge program will create a stream socketpair and spawn
|
D | test_adb.py | 57 readsock, writesock = socket.socketpair()
|
/packages/modules/Bluetooth/system/gd/shim/ |
D | dumpsys_test.cc | 107 ASSERT_EQ(0, socketpair(AF_LOCAL, SOCK_STREAM | SOCK_NONBLOCK, 0, sv)); in TEST_F() 124 ASSERT_EQ(0, socketpair(AF_LOCAL, SOCK_STREAM | SOCK_NONBLOCK, 0, sv)); in TEST_F()
|
/packages/modules/Virtualization/vmclient/src/ |
D | lib.rs | 69 use nix::sys::socket::{socketpair, AddressFamily, SockFlag, SockType}; in posix_socketpair() 74 Ok(socketpair(AddressFamily::Unix, SockType::Stream, None, SockFlag::SOCK_CLOEXEC)?) in posix_socketpair()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/ |
D | ApfTestUtils.java | 380 Os.socketpair(AF_UNIX, SOCK_STREAM, 0, mWriteSocket, readSocket); in maybeStartFilter() 476 Os.socketpair(AF_UNIX, SOCK_STREAM, 0, mWriteSocket, readSocket); in maybeStartFilter()
|
/packages/modules/Bluetooth/system/stack/test/ |
D | stack_l2cap_test.cc | 264 ASSERT_EQ(0, socketpair(AF_UNIX, SOCK_STREAM, 0, sv)); in TEST_F()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/util/ |
D | TetheringUtilsTest.java | 140 Os.socketpair(AF_UNIX, SOCK_DGRAM | SOCK_NONBLOCK | SOCK_CLOEXEC, 0, in, out); in checkIcmpSocketFilter()
|
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_sock_sco.cc | 143 if (socketpair(AF_LOCAL, SOCK_STREAM, 0, pair) == -1) { in sco_socket_establish_locked()
|
D | btif_sock_thread.cc | 184 if (socketpair(AF_UNIX, SOCK_STREAM, 0, &ts[h].cmd_fdr) < 0) { in init_cmd_fd()
|
D | btif_sock_l2cap.cc | 305 if (socketpair(AF_LOCAL, sock_type, 0, fds)) { in btsock_l2cap_alloc_l()
|
D | btif_sock_rfc.cc | 204 if (socketpair(AF_LOCAL, SOCK_STREAM, 0, fds) == -1) { in alloc_rfc_slot()
|
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/ip/ |
D | ConntrackMonitorTest.java | 93 Os.socketpair(AF_UNIX, SOCK_DGRAM, 0, mWriteFd, mReadFd); in TestConntrackMonitor()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | OffloadHardwareInterfaceTest.java | 293 Os.socketpair(AF_UNIX, SOCK_STREAM, 0, writeSocket, readSocket); in testSendIpv4NfGenMsg()
|
/packages/modules/DnsResolver/ |
D | README-DoT.md | 51 "reliable datagram pipe" (`socketpair()` in `SOCK_SEQPACKET` mode).
|
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/async/ |
D | FakeOsAccess.java | 307 public synchronized ParcelFileDescriptor[] socketpair() throws IOException { in socketpair() method in FakeOsAccess
|
/packages/modules/Bluetooth/system/udrv/ulinux/ |
D | uipc.cc | 191 if (socketpair(AF_UNIX, SOCK_STREAM, 0, uipc.signal_fds) < 0) { in uipc_main_init()
|
/packages/modules/Bluetooth/system/btif/test/ |
D | btif_core_test.cc | 848 ASSERT_EQ(0, socketpair(AF_LOCAL, SOCK_STREAM | SOCK_NONBLOCK, 0, fds)); in TEST_F() 995 ASSERT_EQ(0, socketpair(AF_LOCAL, SOCK_STREAM | SOCK_NONBLOCK, 0, fds)); in SetUp()
|
/packages/modules/Connectivity/clatd/ |
D | clatd_test.cpp | 437 if (socketpair(AF_UNIX, SOCK_DGRAM | SOCK_NONBLOCK, 0, fds)) { in do_translate_packet()
|
/packages/modules/Bluetooth/system/bta/has/ |
D | has_client_test.cc | 3035 ASSERT_EQ(0, socketpair(AF_LOCAL, SOCK_STREAM | SOCK_NONBLOCK, 0, sv)); in TEST_F()
|