Searched refs:fd1 (Results 1 – 5 of 5) sorted by relevance
/packages/modules/Connectivity/tests/cts/net/native/dns/ |
D | NativeDnsAsyncTest.cpp | 106 int fd1 = android_res_nquery( in TEST() local 108 EXPECT_GE(fd1, 0); in TEST() 113 expectAnswersValid(fd1, AF_INET, ns_r_noerror); in TEST() 116 fd1 = android_res_nquery( in TEST() 118 EXPECT_GE(fd1, 0); in TEST() 123 expectAnswersValid(fd1, AF_INET6, ns_r_noerror); in TEST() 138 int fd1 = android_res_nsend(NETWORK_UNSPECIFIED, buf1, len1, 0); in TEST() local 139 EXPECT_GE(fd1, 0); in TEST() 144 expectAnswersValid(fd1, AF_INET, ns_r_noerror); in TEST() 156 fd1 = android_res_nsend(NETWORK_UNSPECIFIED, buf1, len1, 0); in TEST() [all …]
|
/packages/modules/DnsResolver/tests/ |
D | resolv_integration_test.cpp | 2295 int fd1 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, 0); in TEST_F() local 2297 EXPECT_TRUE(fd1 != -1); in TEST_F() 2306 res = getAsyncResponse(fd1, &rcode, buf, MAXPACKET); in TEST_F() 2313 fd1 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, 0); in TEST_F() 2316 EXPECT_TRUE(fd1 != -1); in TEST_F() 2323 res = getAsyncResponse(fd1, &rcode, buf, MAXPACKET); in TEST_F() 2389 int fd1; in TEST_F() local 2393 fd1 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_aaaa, 0); in TEST_F() 2394 EXPECT_TRUE(fd1 != -1); in TEST_F() 2429 res = getAsyncResponse(fd1, &rcode, buf, MAXPACKET); in TEST_F() [all …]
|
/packages/modules/Connectivity/tests/cts/net/jni/ |
D | NativeMultinetworkJni.cpp | 182 int fd1 = android_res_nsend(handle, buf1, len1, 0); in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck() local 183 EXPECT_GE(env, fd1, 0, "v4 res_nsend 1st"); in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck() 189 EXPECT_EQ(env, 0, expectAnswersValid(env, fd1, AF_INET, ns_r_noerror), in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck() 200 fd1 = android_res_nsend(handle, buf1, len1, 0); in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck() 201 EXPECT_GE(env, fd1, 0, "v6 res_nsend 1st"); in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck() 207 EXPECT_EQ(env, 0, expectAnswersValid(env, fd1, AF_INET6, ns_r_noerror), in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | IpSecServiceTest.java | 599 private boolean fileDescriptorsEqual(FileDescriptor fd1, FileDescriptor fd2) { 601 StructStat fd1Stat = Os.fstat(fd1);
|
/packages/modules/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()
|