/system/core/base/ |
D | cmsg_test.cpp | 50 fd1.reset(dup1); in SetUp() 63 unique_fd fd1; member 71 ASSERT_EQ(1, SendFileDescriptors(send.get(), "x", 1, fd1.get())); in TEST_P() 83 ASSERT_EQ(2, SendFileDescriptors(send.get(), "ab", 2, fd1.get(), fd2.get())); in TEST_P() 105 ASSERT_EQ(1, SendFileDescriptors(send.get(), "a", 1, fd1.get(), fd2.get())); in TEST_P() 115 ASSERT_EQ(1, SendFileDescriptors(send.get(), "a", 1, fd1.get())); in TEST_P() 133 ASSERT_EQ(2, SendFileDescriptors(send.get(), "bc", 2, fd1.get())); in TEST_P() 153 ASSERT_EQ(1, SendFileDescriptors(send.get(), "a", 1, fd1.get(), fd2.get())); in TEST_P() 167 ASSERT_EQ(1, SendFileDescriptors(send.get(), "a", 1, fd1.get())); in TEST_P() 186 ASSERT_EQ(1, SendFileDescriptors(send.get(), "", 1, fd1.get())); in TEST_P()
|
/system/ashmemd/tests/ |
D | ashmemd_test.cpp | 61 ParcelFileDescriptor fd1; in TEST_F() local 63 openFd(&fd1); in TEST_F() 65 ASSERT_NE(fd1.get(), fd2.get()); in TEST_F()
|
/system/core/libsync/ |
D | sync.c | 154 static int legacy_sync_merge(const char *name, int fd1, int fd2) in legacy_sync_merge() argument 161 ret = ioctl(fd1, SYNC_IOC_LEGACY_MERGE, &data); in legacy_sync_merge() 167 static int modern_sync_merge(const char *name, int fd1, int fd2) in modern_sync_merge() argument 177 ret = ioctl(fd1, SYNC_IOC_MERGE, &data); in modern_sync_merge() 183 int sync_merge(const char *name, int fd1, int fd2) in sync_merge() argument 191 ret = modern_sync_merge(name, fd1, fd2); in sync_merge() 201 ret = legacy_sync_merge(name, fd1, fd2); in sync_merge()
|
/system/core/libsync/include/ndk/ |
D | sync.h | 69 int32_t sync_merge(const char* name, int32_t fd1, int32_t fd2) __INTRODUCED_IN(26);
|
/system/netd/resolv/ |
D | resolver_test.cpp | 1841 int fd1 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, 0); in TEST_F() local 1843 EXPECT_TRUE(fd1 != -1); in TEST_F() 1852 res = getAsyncResponse(fd1, &rcode, buf, MAXPACKET); in TEST_F() 1859 fd1 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, 0); in TEST_F() 1862 EXPECT_TRUE(fd1 != -1); in TEST_F() 1869 res = getAsyncResponse(fd1, &rcode, buf, MAXPACKET); in TEST_F() 1935 int fd1; in TEST_F() local 1939 fd1 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_aaaa, 0); in TEST_F() 1940 EXPECT_TRUE(fd1 != -1); in TEST_F() 1975 res = getAsyncResponse(fd1, &rcode, buf, MAXPACKET); in TEST_F() [all …]
|
/system/netd/libnetdutils/ |
D | FdTest.cpp | 42 Fd fd1(1); in TEST() local 43 Fd fd2(fd1); in TEST()
|
/system/core/adb/daemon/ |
D | shell_service.cpp | 133 bool CreateSocketpair(unique_fd* fd1, unique_fd* fd2) { in CreateSocketpair() argument 139 fd1->reset(sockets[0]); in CreateSocketpair()
|