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.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/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.cpp440 int res_nsend(ResState* statp, span<const uint8_t> msg, span<uint8_t> ans, int* rcode, in res_nsend()
712 int* terrno, size_t ns, time_t* at, int* rcode, int* delay) { in send_vc()
1095 int* rcode, int* delay) { in send_dg()
1220 int* rcode) { in send_mdns()
1325 static int res_private_dns_send(ResState* statp, const Slice query, const Slice answer, int* rcode, in res_private_dns_send()
1396 ssize_t res_doh_send(ResState* statp, const Slice query, const Slice answer, int* rcode) { in res_doh_send()
1434 const Slice answer, int* rcode, PrivateDnsMode mode) { in res_tls_send()
1482 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
DDnsStats.cpp40 std::string rcodeToName(int rcode) { in rcodeToName()
125 const int rcode = record.rcode; in updateStatsData() local
Dres_debug.cpp256 uint32_t opcode, rcode, id; in res_pquery() local
490 const char* p_rcode(int rcode) { in p_rcode()
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.cpp1583 int getHerrnoFromRcode(int rcode) { in getHerrnoFromRcode()
1606 int rcode; member
1646 int rcode = NOERROR; in doQuery() local
1691 int rcode = 0; in res_queryN_parallel() local
1735 int rcode; in res_queryN() local
DDnsProxyListener.cpp217 int rcodeToAiError(int rcode) { in rcodeToAiError()
228 int resNSendToAiError(int err, int rcode) { in resNSendToAiError()
939 int rcode = ns_r_noerror; in run() local
Dstats.proto352 optional NsRcode rcode = 1; field
/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/services/Iwlan/src/com/google/android/iwlan/epdg/
DNaptrDnsResolver.java247 public void onAnswer(@NonNull byte[] answer, int rcode) { in onAnswer()
DSrvDnsResolver.java316 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.cpp95 int getAsyncResponse(int fd, int* rcode, uint8_t* buf, int bufLen) { in getAsyncResponse()
129 int rcode = -1; in expectAnswersValid() local
Dresolv_integration_test.cpp2188 int getAsyncResponse(int fd, int* rcode, uint8_t* buf, int bufLen) { in getAsyncResponse()
2243 int rcode = -1; in expectAnswersValid() local
2252 int rcode = -1; in expectAnswersNotValid() local
2280 int rcode; in TEST_F() local
2344 int rcode; in TEST_F() local
2389 int rcode; in TEST_F() local
2465 int rcode; in TEST_F() local
2755 int rcode; in TEST_F() local
4378 int rcode; in TEST_F() local
4473 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.cpp911 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()