Home
last modified time | relevance | path

Searched refs:rType (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DDnsPacket.java272 public final int rType; field in DnsPacket.DnsRecord
286 protected DnsRecord(@RecordType int rType, @NonNull ByteBuffer buf) in DnsRecord() argument
289 this.rType = rType; in DnsRecord()
299 if (rType != QDSECTION) { in DnsRecord()
317 public static DnsRecord parse(@RecordType int rType, @NonNull ByteBuffer buf) in parse() argument
331 return new DnsSvcbRecord(rType, buf); in parse()
333 return new DnsRecord(rType, buf); in parse()
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
[all …]
DDnsSvcbRecord.java94 public DnsSvcbRecord(@DnsPacket.RecordType int rType, @NonNull ByteBuffer buff) in DnsSvcbRecord() argument
96 super(rType, buff); in DnsSvcbRecord()
105 if (rType == DnsPacket.QDSECTION) { in DnsSvcbRecord()
199 if (rType == DnsPacket.QDSECTION) { in toString()
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_hid_host.cpp423 jint rType = reportType; in getReportNative() local
428 (bthh_report_type_t)rType, (uint8_t)rId, bufferSize); in getReportNative()
451 jint rType = reportType; in setReportNative() local
457 (bthh_report_type_t)rType, (char*)c_report); in setReportNative()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DDnsPacketTest.java262 final DnsPacket.DnsRecord after = DnsPacket.DnsRecord.parse(before.rType, in assertDnsRecordRoundTrip()