Home
last modified time | relevance | path

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

12

/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/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()
1212 int* rcode) { in send_mdns()
1305 static int res_private_dns_send(ResState* statp, const Slice query, const Slice answer, int* rcode, in res_private_dns_send()
1375 ssize_t res_doh_send(ResState* statp, const Slice query, const Slice answer, int* rcode) { in res_doh_send()
1413 const Slice answer, int* rcode, PrivateDnsMode mode) { in res_tls_send()
1459 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.cpp254 uint32_t opcode, rcode, id; in res_pquery() local
488 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.cpp1573 int getHerrnoFromRcode(int rcode) { in getHerrnoFromRcode()
1596 int rcode; member
1638 int rcode = NOERROR; in doQuery() local
1687 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()
1128 int rcode = ns_r_noerror; in run() local
Dstats.proto354 optional NsRcode rcode = 1; field
/packages/modules/Connectivity/framework/src/android/net/
DDnsResolver.java151 void onAnswer(@NonNull T answer, int rcode); in onAnswer()
296 public void onAnswer(@NonNull byte[] answer, int rcode) { in onAnswer()
478 public final int rcode; field in DnsResolver.DnsResponse
479 public DnsResponse(@NonNull byte[] answerbuf, int rcode) { in DnsResponse()
/packages/modules/Connectivity/tests/cts/net/jni/
DNativeMultinetworkJni.cpp91 int getAsyncResponse(JNIEnv* env, int fd, int timeoutMs, int* rcode, uint8_t* buf, size_t bufLen) { in getAsyncResponse()
147 int rcode = -1; in expectAnswersValid() local
163 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/DnsResolver/tests/
Dresolv_private_dns_test.cpp65 int getAsyncResponse(int fd, int* rcode, uint8_t* buf, int bufLen) { in getAsyncResponse()
99 int rcode = -1; in expectAnswersValid() local
344 int rcode; in expectQueriesAreBlocked() local
Dresolv_integration_test.cpp2421 int getAsyncResponse(int fd, int* rcode, uint8_t* buf, int bufLen) { in getAsyncResponse()
2476 int rcode = -1; in expectAnswersValid() local
2485 int rcode = -1; in expectAnswersNotValid() local
2513 int rcode; in TEST_F() local
2577 int rcode; in TEST_F() local
2622 int rcode; in TEST_F() local
2698 int rcode; in TEST_F() local
2988 int rcode; in TEST_F() local
4475 int rcode; in TEST_F() local
4566 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/Connectivity/tests/cts/net/src/android/net/cts/
DDnsResolverTest.java283 public void onAnswer(@NonNull byte[] answer, int rcode) { in onAnswer()
628 public void onAnswer(@NonNull List<InetAddress> answerList, int rcode) { in onAnswer()
/packages/modules/Connectivity/framework/jni/
Dandroid_net_NetworkUtils.cpp162 int rcode; in android_net_utils_resNetworkResult() local
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder.h88 uint8_t rcode; member
Ddns_responder.cpp907 bool DNSResponder::makeErrorResponse(DNSHeader* header, ns_rcode rcode, char* response, in makeErrorResponse()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNetworkDiagnostics.java666 protected String responseCodeStr(int rcode) { in responseCodeStr()
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/
DNsdPublisher.java671 public void onAnswer(@NonNull List<InetAddress> answerList, int rcode) { in onAnswer()

12