Home
last modified time | relevance | path

Searched refs:rcode (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/net/
DDnsResolver.java142 void onAnswer(@NonNull T answer, int rcode); in onAnswer() argument
287 public void onAnswer(@NonNull byte[] answer, int rcode) { in onAnswer() argument
290 if (mReceivedAnswerCount == 0 || rcode == 0) { in onAnswer()
291 mRcode = rcode; in onAnswer()
469 public final int rcode; field in DnsResolver.DnsResponse
470 public DnsResponse(@NonNull byte[] answerbuf, int rcode) { in DnsResponse() argument
472 this.rcode = rcode; in DnsResponse()
511 answerCallback.onAnswer(resp.answerbuf, resp.rcode); in registerFDListener()
/frameworks/base/native/android/
Dnet.c97 int android_res_nresult(int fd, int *rcode, uint8_t *answer, size_t anslen) { in android_res_nresult() argument
98 return resNetworkResult(fd, rcode, answer, anslen); in android_res_nresult()
/frameworks/base/core/jni/
Dandroid_net_NetUtils.cpp183 int rcode; in android_net_utils_resNetworkResult() local
186 int res = resNetworkResult(fd, &rcode, buf.data(), MAXPACKETSIZE); in android_net_utils_resNetworkResult()
205 return env->NewObject(class_DnsResponse, ctor, answer, rcode); in android_net_utils_resNetworkResult()
/frameworks/base/native/android/include/android/
Dmultinetwork.h180 int *rcode, uint8_t *answer, size_t anslen) __INTRODUCED_IN(29);
/frameworks/native/include/android/
Dmultinetwork.h180 int *rcode, uint8_t *answer, size_t anslen) __INTRODUCED_IN(29);
/frameworks/libs/net/common/framework/com/android/net/module/util/
DDnsPacket.java60 public final int rcode; field in DnsPacket.DnsHeader
75 rcode = flags & 0xF; in DnsHeader()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkDiagnostics.java571 protected String responseCodeStr(int rcode) { in responseCodeStr() argument
573 return DnsResponseCode.values()[rcode].toString(); in responseCodeStr()
575 return String.valueOf(rcode); in responseCodeStr()
/frameworks/base/core/proto/android/stats/dnsresolver/
Ddns_resolver.proto65 // Define rcode=12~15(UNASSIGNED) in rcode enum type.
349 optional android.stats.dnsresolver.NsRcode rcode = 1; field