Home
last modified time | relevance | path

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

/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DDnsPacket.java263 public final String dName; field in DnsPacket.DnsRecord
290 dName = DnsRecordParser.parseName(buf, 0 /* Parse depth */, in DnsRecord()
292 if (dName.length() > MAXNAMESIZE) { in DnsRecord()
294 "Parse name fail, name size is too long: " + dName.length()); in DnsRecord()
352 public static DnsRecord makeAOrAAAARecord(int rType, @NonNull String dName, in makeAOrAAAARecord() argument
355 return new DnsRecord(rType, dName, nsType, nsClass, ttl, address, null /* rDataStr */); in makeAOrAAAARecord()
373 public static DnsRecord makeCNameRecord(int rType, @NonNull String dName, int nsClass, in makeCNameRecord() argument
375 return new DnsRecord(rType, dName, TYPE_CNAME, nsClass, ttl, null /* address */, in makeCNameRecord()
382 public static DnsRecord makeQuestion(@NonNull String dName, int nsType, int nsClass) { in makeQuestion() argument
383 return new DnsRecord(dName, nsType, nsClass); in makeQuestion()
[all …]
DDnsSvcbRecord.java200 return dName + " IN SVCB"; in toString()
207 return dName + " " + ttl + " IN SVCB " + mSvcPriority + " " + mTargetName + " " in toString()
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/
DSrvDnsResolver.java166 Log.d(TAG, "SrvRecord name: " + ansSec.dName + " target name: " + record.target); in parseSrvRecords()
185 domainNameToIpAddress.computeIfAbsent(ansSec.dName, k -> new ArrayList<>()); in parseIpAddresses()
191 + ansSec.dName in parseIpAddresses()
194 domainNameToIpAddress.get(ansSec.dName).add(ipAddress); in parseIpAddresses()
197 "RR to IP address translation failed for domain: " + ansSec.dName); in parseIpAddresses()
DNaptrDnsResolver.java202 + ansSec.dName in parseNaptrRecords()
/packages/modules/NetworkStack/tests/unit/src/android/net/testutils/
DDnsAnswerProviderTest.kt99 private fun getTestDnsRecord(dName: String, address: String) = in <lambda>()
100 DnsPacket.DnsRecord.makeAOrAAAARecord(DnsPacket.ANSECTION, dName, CLASS_IN, 5 /* ttl */, in <lambda>()
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DTestDnsServer.kt84 val answerRecords = queryRecords[0].let { ansProvider.getAnswer(it.dName, it.nsType) } in handleDnsQuery()
/packages/modules/Connectivity/Tethering/tests/integration/base/android/net/
DTetheringTester.java565 if (!TextUtils.equals(records.get(i).dName, otherRecords.get(i).dName)
935 if (!qdRecordList.get(0).dName.equals(PREF64_IPV4ONLY_HOSTNAME)) return;
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DDnsPacketTest.java66 assertEquals(record.dName, dname); in assertRecordParses()