Home
last modified time | relevance | path

Searched refs:expectAnswersValid (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Connectivity/tests/cts/net/native/dns/
DNativeDnsAsyncTest.cpp79 void expectAnswersValid(int fd, int ipType, int expectedRcode) { in expectAnswersValid() function
115 expectAnswersValid(fd2, AF_INET, ns_r_noerror); in TEST_F()
116 expectAnswersValid(fd1, AF_INET, ns_r_noerror); in TEST_F()
125 expectAnswersValid(fd2, AF_INET6, ns_r_noerror); in TEST_F()
126 expectAnswersValid(fd1, AF_INET6, ns_r_noerror); in TEST_F()
146 expectAnswersValid(fd2, AF_INET, ns_r_noerror); in TEST_F()
147 expectAnswersValid(fd1, AF_INET, ns_r_noerror); in TEST_F()
164 expectAnswersValid(fd2, AF_INET6, ns_r_noerror); in TEST_F()
165 expectAnswersValid(fd1, AF_INET6, ns_r_noerror); in TEST_F()
182 expectAnswersValid(fd2, AF_INET, ns_r_nxdomain); in TEST_F()
[all …]
/packages/modules/Connectivity/tests/cts/net/jni/
DNativeMultinetworkJni.cpp146 int expectAnswersValid(JNIEnv* env, int fd, int family, int expectedRcode) { in expectAnswersValid() function
181 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, fd, AF_INET6, ns_r_noerror), in Java_android_net_cts_MultinetworkApiTest_runResNqueryCheck()
210 EXPECT_EQ(env, 0, expectAnswersValid(env, fd2, AF_INET, ns_r_noerror), in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck()
212 EXPECT_EQ(env, 0, expectAnswersValid(env, fd1, AF_INET, ns_r_noerror), in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck()
228 EXPECT_EQ(env, 0, expectAnswersValid(env, fd2, AF_INET6, ns_r_noerror), in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck()
230 EXPECT_EQ(env, 0, expectAnswersValid(env, fd1, AF_INET6, ns_r_noerror), in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck()
242 EXPECT_EQ(env, 0, expectAnswersValid(env, fd, AF_INET, ns_r_nxdomain), in Java_android_net_cts_MultinetworkApiTest_runResNnxDomainCheck()
248 EXPECT_EQ(env, 0, expectAnswersValid(env, fd, AF_INET6, ns_r_nxdomain), in Java_android_net_cts_MultinetworkApiTest_runResNnxDomainCheck()
257 EXPECT_EQ(env, 0, expectAnswersValid(env, fd, AF_INET, ns_r_nxdomain), in Java_android_net_cts_MultinetworkApiTest_runResNnxDomainCheck()
[all …]
/packages/modules/DnsResolver/tests/
Dresolv_private_dns_test.cpp98 void expectAnswersValid(int fd, int ipType, const std::string& expectedAnswer) { in expectAnswersValid() function
933 expectAnswersValid(fd, AF_INET, kQueryAnswerA); in TEST_F()
992 expectAnswersValid(fd, AF_INET6, kQueryAnswerAAAA); in TEST_F()
1029 expectAnswersValid(fd, AF_INET6, kQueryAnswerAAAA); in TEST_F()
1046 expectAnswersValid(fd, AF_INET6, kQueryAnswerAAAA); in TEST_F()
1082 expectAnswersValid(fd, AF_INET, kQueryAnswerA); in TEST_F()
1091 expectAnswersValid(fd, AF_INET, kQueryAnswerA); in TEST_F()
1131 expectAnswersValid(fd, AF_INET, kQueryAnswerA); in TEST_F()
1170 expectAnswersValid(fd, AF_INET, kQueryAnswerA); in TEST_F()
1245 expectAnswersValid(fd, AF_INET, kQueryAnswerA); in TEST_F()
[all …]
Dresolv_integration_test.cpp2475 void expectAnswersValid(int fd, int ipType, const std::string& expectedAnswer) { in expectAnswersValid() function
2739 expectAnswersValid(fd3, AF_INET, "1.2.3.4"); in TEST_F()
2740 expectAnswersValid(fd2, AF_INET, "1.2.3.4"); in TEST_F()
2741 expectAnswersValid(fd1, AF_INET, "1.2.3.4"); in TEST_F()
2752 expectAnswersValid(fd1, AF_INET, "1.2.3.4"); in TEST_F()
2762 expectAnswersValid(fd1, AF_INET, "1.2.3.4"); in TEST_F()
2776 expectAnswersValid(fd2, AF_INET, "1.2.3.4"); in TEST_F()
2777 expectAnswersValid(fd1, AF_INET, "1.2.3.4"); in TEST_F()
2785 expectAnswersValid(fd1, AF_INET, "1.2.3.4"); in TEST_F()
2801 expectAnswersValid(fd2, AF_INET6, "::1.2.3.5"); in TEST_F()
[all …]