Home
last modified time | relevance | path

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

/cts/tests/tests/net/native/dns/
DNativeDnsAsyncTest.cpp78 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 …]
/cts/tests/tests/net/jni/
DNativeMultinetworkJni.cpp123 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 …]