Searched refs:expectAnswersValid (Results 1 – 3 of 3) sorted by relevance
/packages/modules/Connectivity/tests/cts/net/native/dns/ |
D | NativeDnsAsyncTest.cpp | 78 void expectAnswersValid(int fd, int ipType, int expectedRcode) { in expectAnswersValid() function 112 expectAnswersValid(fd2, AF_INET, ns_r_noerror); in TEST() 113 expectAnswersValid(fd1, AF_INET, ns_r_noerror); in TEST() 122 expectAnswersValid(fd2, AF_INET6, ns_r_noerror); in TEST() 123 expectAnswersValid(fd1, AF_INET6, ns_r_noerror); in TEST() 143 expectAnswersValid(fd2, AF_INET, ns_r_noerror); in TEST() 144 expectAnswersValid(fd1, AF_INET, ns_r_noerror); in TEST() 161 expectAnswersValid(fd2, AF_INET6, ns_r_noerror); in TEST() 162 expectAnswersValid(fd1, AF_INET6, ns_r_noerror); in TEST() 179 expectAnswersValid(fd2, AF_INET, ns_r_nxdomain); in TEST() [all …]
|
/packages/modules/Connectivity/tests/cts/net/jni/ |
D | NativeMultinetworkJni.cpp | 123 int expectAnswersValid(JNIEnv* env, int fd, int family, int expectedRcode) { in expectAnswersValid() function 158 EXPECT_EQ(env, 0, expectAnswersValid(env, fd, AF_INET, ns_r_noerror), in Java_android_net_cts_MultinetworkApiTest_runResNqueryCheck() 164 EXPECT_EQ(env, 0, expectAnswersValid(env, fd, AF_INET, ns_r_noerror), in Java_android_net_cts_MultinetworkApiTest_runResNqueryCheck() 187 EXPECT_EQ(env, 0, expectAnswersValid(env, fd2, AF_INET, ns_r_noerror), 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() 205 EXPECT_EQ(env, 0, expectAnswersValid(env, fd2, AF_INET6, ns_r_noerror), 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() 219 EXPECT_EQ(env, 0, expectAnswersValid(env, fd, AF_INET, ns_r_nxdomain), in Java_android_net_cts_MultinetworkApiTest_runResNnxDomainCheck() 225 EXPECT_EQ(env, 0, expectAnswersValid(env, fd, AF_INET6, ns_r_nxdomain), in Java_android_net_cts_MultinetworkApiTest_runResNnxDomainCheck() 234 EXPECT_EQ(env, 0, expectAnswersValid(env, fd, AF_INET, ns_r_nxdomain), in Java_android_net_cts_MultinetworkApiTest_runResNnxDomainCheck() [all …]
|
/packages/modules/DnsResolver/tests/ |
D | resolv_integration_test.cpp | 2263 void expectAnswersValid(int fd, int ipType, const std::string& expectedAnswer) { in expectAnswersValid() function 2529 expectAnswersValid(fd3, AF_INET, "1.2.3.4"); in TEST_F() 2530 expectAnswersValid(fd2, AF_INET, "1.2.3.4"); in TEST_F() 2531 expectAnswersValid(fd1, AF_INET, "1.2.3.4"); in TEST_F() 2542 expectAnswersValid(fd1, AF_INET, "1.2.3.4"); in TEST_F() 2552 expectAnswersValid(fd1, AF_INET, "1.2.3.4"); in TEST_F() 2566 expectAnswersValid(fd2, AF_INET, "1.2.3.4"); in TEST_F() 2567 expectAnswersValid(fd1, AF_INET, "1.2.3.4"); in TEST_F() 2575 expectAnswersValid(fd1, AF_INET, "1.2.3.4"); in TEST_F() 2591 expectAnswersValid(fd2, AF_INET6, "::1.2.3.5"); in TEST_F() [all …]
|