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.cpp79 void expectAnswersValid(int fd, int ipType, int expectedRcode) { in expectAnswersValid() argument
84 EXPECT_EQ(rcode, expectedRcode); in expectAnswersValid()
86 if (expectedRcode == ns_r_noerror) { in expectAnswersValid()
/packages/modules/Connectivity/tests/cts/net/jni/
DNativeMultinetworkJni.cpp146 int expectAnswersValid(JNIEnv* env, int fd, int family, int expectedRcode) { in expectAnswersValid() argument
154 EXPECT_EQ(env, expectedRcode, rcode, "rcode is not expected"); in expectAnswersValid()
156 if (expectedRcode == ns_r_noerror && res > 0) { in expectAnswersValid()