Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/cts/net/native/dns/
DNativeDnsAsyncTest.cpp78 void expectAnswersValid(int fd, int ipType, int expectedRcode) { in expectAnswersValid() argument
83 EXPECT_EQ(rcode, expectedRcode); in expectAnswersValid()
85 if (expectedRcode == ns_r_noerror) { in expectAnswersValid()
/packages/modules/Connectivity/tests/cts/net/jni/
DNativeMultinetworkJni.cpp123 int expectAnswersValid(JNIEnv* env, int fd, int family, int expectedRcode) { in expectAnswersValid() argument
131 EXPECT_EQ(env, expectedRcode, rcode, "rcode is not expected"); in expectAnswersValid()
133 if (expectedRcode == ns_r_noerror && res > 0) { in expectAnswersValid()