Home
last modified time | relevance | path

Searched defs:rcode (Results 1 – 21 of 21) sorted by relevance

/packages/modules/Connectivity/tests/cts/net/native/dns/
DNativeDnsAsyncTest.cpp37 int getAsyncResponse(int fd, int timeoutMs, int* rcode, uint8_t* buf, size_t bufLen) { in getAsyncResponse()
79 int rcode = -1; in expectAnswersValid() local
96 int rcode = -1; in expectAnswersNotValid() local
/packages/modules/DnsResolver/
Dstats.h32 uint8_t rcode; // the DNS rcode or RCODE_XXX defined above member
Dres_debug.cpp244 uint32_t opcode, rcode, id; in res_pquery() local
478 const char* p_rcode(int rcode) { in p_rcode()
DDnsStats.cpp41 std::string rcodeToName(int rcode) { in rcodeToName()
126 const int rcode = record.rcode; in updateStatsData() local
DDnsStatsTest.cpp47 DnsQueryEvent makeDnsQueryEvent(const Protocol protocol, const NsRcode rcode, in makeDnsQueryEvent()
391 const NsRcode rcode = static_cast<NsRcode>(rcodes[i % rcodeNum]); in TEST_F() local
404 for (const auto& rcode : rcodes) { in TEST_F() local
DDnsStats.h71 int rcode = 0; // NS_R_NO_ERROR member
Dres_send.cpp420 int res_nsend(res_state statp, const uint8_t* buf, int buflen, uint8_t* ans, int anssiz, int* rcode, in res_nsend()
656 uint8_t* ans, int anssiz, int* terrno, size_t ns, time_t* at, int* rcode, in send_vc()
1002 int* gotsomewhere, time_t* at, int* rcode, int* delay) { in send_dg()
1207 static int res_tls_send(res_state statp, const Slice query, const Slice answer, int* rcode, in res_tls_send()
1297 uint8_t* ans, int ansLen, int* rcode, uint32_t flags, in resolv_res_nsend()
Dres_query.cpp112 int rcode = NOERROR; in res_nquery() local
Dres_stats.cpp35 void res_stats_set_sample(res_sample* sample, time_t now, int rcode, int rtt) { in res_stats_set_sample()
Dgetaddrinfo.cpp1581 int getHerrnoFromRcode(int rcode) { in getHerrnoFromRcode()
1604 int rcode; member
1646 int rcode = NOERROR; in doQuery() local
1692 int rcode = 0; in res_queryN_parallel() local
1736 int rcode; in res_queryN() local
DDnsProxyListener.cpp218 int rcodeToAiError(int rcode) { in rcodeToAiError()
229 int resNSendToAiError(int err, int rcode) { in resNSendToAiError()
935 int rcode = ns_r_noerror; in run() local
Dstats.proto351 optional NsRcode rcode = 1; field
/packages/modules/Connectivity/framework/src/android/net/
DDnsResolver.java142 void onAnswer(@NonNull T answer, int rcode); in onAnswer()
287 public void onAnswer(@NonNull byte[] answer, int rcode) { in onAnswer()
469 public final int rcode; field in DnsResolver.DnsResponse
470 public DnsResponse(@NonNull byte[] answerbuf, int rcode) { in DnsResponse()
/packages/modules/Connectivity/tests/cts/net/jni/
DNativeMultinetworkJni.cpp80 int getAsyncResponse(JNIEnv* env, int fd, int timeoutMs, int* rcode, uint8_t* buf, size_t bufLen) { in getAsyncResponse()
124 int rcode = -1; in expectAnswersValid() local
140 int rcode = -1; in expectAnswersNotValid() local
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DDnsResolverTest.java225 public void onAnswer(@NonNull byte[] answer, int rcode) { in onAnswer()
547 public void onAnswer(@NonNull List<InetAddress> answerList, int rcode) { in onAnswer()
/packages/modules/Connectivity/framework/jni/
Dandroid_net_NetworkUtils.cpp160 int rcode; in android_net_utils_resNetworkResult() local
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder.h88 uint8_t rcode; member
Ddns_responder.cpp904 bool DNSResponder::makeErrorResponse(DNSHeader* header, ns_rcode rcode, char* response, in makeErrorResponse()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNetworkDiagnostics.java571 protected String responseCodeStr(int rcode) { in responseCodeStr()
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp2208 int getAsyncResponse(int fd, int* rcode, uint8_t* buf, int bufLen) { in getAsyncResponse()
2264 int rcode = -1; in expectAnswersValid() local
2273 int rcode = -1; in expectAnswersNotValid() local
2301 int rcode; in TEST_F() local
2365 int rcode; in TEST_F() local
2407 int rcode; in TEST_F() local
2488 int rcode; in TEST_F() local
2778 int rcode; in TEST_F() local
4296 int rcode; in TEST_F() local
4387 int rcode; in TEST_F() local
Dresolv_unit_test.cpp622 ns_rcode rcode; in TEST_F() member
1330 ns_rcode rcode; in TEST_F() member