Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/cts/net/native/dns/
DNativeDnsAsyncTest.cpp38 int getAsyncResponse(int fd, int timeoutMs, int* rcode, uint8_t* buf, size_t bufLen) { in getAsyncResponse()
80 int rcode = -1; in expectAnswersValid() local
97 int rcode = -1; in expectAnswersNotValid() local
/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/DnsResolver/
Dres_send.cpp439 int res_nsend(ResState* statp, span<const uint8_t> msg, span<uint8_t> ans, int* rcode, in res_nsend()
709 int* terrno, size_t ns, int* rcode) { in send_vc()
1086 int* terrno, size_t* ns, int* v_circuit, int* gotsomewhere, int* rcode) { in send_dg()
1208 int* rcode) { in send_mdns()
1300 static int res_private_dns_send(ResState* statp, const Slice query, const Slice answer, int* rcode, in res_private_dns_send()
1371 ssize_t res_doh_send(ResState* statp, const Slice query, const Slice answer, int* rcode) { in res_doh_send()
1409 const Slice answer, int* rcode, PrivateDnsMode mode) { in res_tls_send()
1455 span<uint8_t> ans, int* rcode, uint32_t flags, in resolv_res_nsend()
Dstats.h32 uint8_t rcode; // the DNS rcode or RCODE_XXX defined above member
Dres_debug.cpp256 uint32_t opcode, rcode, id; in res_pquery() local
490 const char* p_rcode(int rcode) { in p_rcode()
DDnsStats.cpp40 std::string rcodeToName(int rcode) { in rcodeToName()
125 const int rcode = record.rcode; in updateStatsData() local
DDnsStatsTest.cpp48 DnsQueryEvent makeDnsQueryEvent(const Protocol protocol, const NsRcode rcode, in makeDnsQueryEvent()
418 const NsRcode rcode = static_cast<NsRcode>(rcodes[i % rcodeNum]); in TEST_F() local
436 for (const auto& rcode : rcodes) { in TEST_F() local
DDnsStats.h71 int rcode = 0; // NS_R_NO_ERROR member
Dres_query.cpp111 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.cpp1576 int getHerrnoFromRcode(int rcode) { in getHerrnoFromRcode()
1599 int rcode; member
1641 int rcode = NOERROR; in doQuery() local
1688 int rcode = 0; in res_queryN_parallel() local
DDnsProxyListener.cpp230 int rcodeToAiError(int rcode) { in rcodeToAiError()
241 int resNSendToAiError(int err, int rcode) { in resNSendToAiError()
1056 int rcode = ns_r_noerror; in run() local
Dstats.proto352 optional NsRcode rcode = 1; field
/packages/modules/Connectivity/tests/cts/net/jni/
DNativeMultinetworkJni.cpp88 int getAsyncResponse(JNIEnv* env, int fd, int timeoutMs, int* rcode, uint8_t* buf, size_t bufLen) { in getAsyncResponse()
144 int rcode = -1; in expectAnswersValid() local
160 int rcode = -1; in expectAnswersNotValid() local
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/
DNaptrDnsResolver.java247 public void onAnswer(@NonNull byte[] answer, int rcode) { in onAnswer()
DSrvDnsResolver.java317 public void onAnswer(@NonNull byte[] answer, int rcode) { in onAnswer()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DDnsResolverTest.java256 public void onAnswer(@NonNull byte[] answer, int rcode) { in onAnswer()
591 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/
Dresolv_private_dns_test.cpp90 int getAsyncResponse(int fd, int* rcode, uint8_t* buf, int bufLen) { in getAsyncResponse()
124 int rcode = -1; in expectAnswersValid() local
Dresolv_integration_test.cpp2410 int getAsyncResponse(int fd, int* rcode, uint8_t* buf, int bufLen) { in getAsyncResponse()
2465 int rcode = -1; in expectAnswersValid() local
2474 int rcode = -1; in expectAnswersNotValid() local
2502 int rcode; in TEST_F() local
2566 int rcode; in TEST_F() local
2611 int rcode; in TEST_F() local
2687 int rcode; in TEST_F() local
2977 int rcode; in TEST_F() local
4472 int rcode; in TEST_F() local
4563 int rcode; in TEST_F() local
Dresolv_unit_test.cpp625 ns_rcode rcode; in TEST_F() member
1523 ns_rcode rcode; in TEST_F() member
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder.h88 uint8_t rcode; member
Ddns_responder.cpp906 bool DNSResponder::makeErrorResponse(DNSHeader* header, ns_rcode rcode, char* response, in makeErrorResponse()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNetworkDiagnostics.java626 protected String responseCodeStr(int rcode) { in responseCodeStr()