Home
last modified time | relevance | path

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

/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsNsecRecord.java33 public class MdnsNsecRecord extends MdnsRecord { class
37 public MdnsNsecRecord(String[] name, MdnsPacketReader reader) throws IOException { in MdnsNsecRecord() method in MdnsNsecRecord
41 public MdnsNsecRecord(String[] name, MdnsPacketReader reader, boolean isQuestion) in MdnsNsecRecord() method in MdnsNsecRecord
46 public MdnsNsecRecord(String[] name, long receiptTimeMillis, boolean cacheFlush, long ttlMillis, in MdnsNsecRecord() method in MdnsNsecRecord
165 if (!(other instanceof MdnsNsecRecord)) { in equals()
171 ((MdnsNsecRecord) other).mNextDomain) in equals()
172 && Arrays.equals(mTypes, ((MdnsNsecRecord) other).mTypes); in equals()
DMdnsRecordRepository.java884 MdnsNsecRecord nsecRecord = new MdnsNsecRecord( in addReplyFromService()
959 destinationList.add(new MdnsNsecRecord( in addNsecRecordsForUniqueNames()
1007 if (record.isSharedName || record.record instanceof MdnsNsecRecord) continue; in addNonSharedRecordsToMap()
DMdnsPacket.java210 return new MdnsNsecRecord(name, reader, isQuestion); in parseRecord()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsRecordRepositoryTest.kt475 MdnsNsecRecord(v4AddrRev, in testOnProbingSucceeded()
481 MdnsNsecRecord(TEST_HOSTNAME, in testOnProbingSucceeded()
487 MdnsNsecRecord(v6Addr1Rev, in testOnProbingSucceeded()
493 MdnsNsecRecord(v6Addr2Rev, in testOnProbingSucceeded()
499 MdnsNsecRecord(serviceName, in testOnProbingSucceeded()
630 MdnsNsecRecord(serviceName, 0L, true, LONG_TTL, serviceName /* nextDomain */, in testGetReply_singlePtrQuestion_returnsSrvTxtAddressNsecRecords()
632 MdnsNsecRecord(TEST_HOSTNAME, 0L, true, SHORT_TTL, TEST_HOSTNAME /* nextDomain */, in testGetReply_singlePtrQuestion_returnsSrvTxtAddressNsecRecords()
662 MdnsNsecRecord(serviceName, 0L, true, LONG_TTL, serviceName /* nextDomain */, in testGetReply_ptrQuestionForServiceWithCustomHost_customHostUsedInAdditionalAnswers()
664 MdnsNsecRecord(TEST_CUSTOM_HOST_1_NAME, 0L, true, SHORT_TTL, in testGetReply_ptrQuestionForServiceWithCustomHost_customHostUsedInAdditionalAnswers()
715 MdnsNsecRecord(serviceName, 0L, true, LONG_TTL, serviceName /* nextDomain */, in testGetReply_ptrQuestionForServicesWithSameCustomHost_customHostUsedInAdditionalAnswers()
[all …]
DMdnsAnnouncerTest.kt219 MdnsNsecRecord(v4AddrRev, in <lambda>()
225 MdnsNsecRecord(v6Addr1Rev, in <lambda>()
231 MdnsNsecRecord(v6Addr2Rev, in <lambda>()
237 MdnsNsecRecord(serviceName, in <lambda>()
243 MdnsNsecRecord(hostname, in <lambda>()
DMdnsRecordTest.kt94 val nsecRecord1 = MdnsNsecRecord( in testEqualsCaseInsensitive()
102 val nsecRecord2 = MdnsNsecRecord( in testEqualsCaseInsensitive()
DMdnsReplySenderTest.kt87 MdnsNsecRecord(serviceName, 0L /* receiptTimeMillis */, true /* cacheFlush */, LONG_TTL,
90 MdnsNsecRecord(hostname, 0L /* receiptTimeMillis */, true /* cacheFlush */, SHORT_TTL,
104 MdnsNsecRecord(otherServiceName, 0L /* receiptTimeMillis */, true /* cacheFlush */,
107 MdnsNsecRecord(otherHostname, 0L /* receiptTimeMillis */, true /* cacheFlush */,
DMdnsRecordTests.java312 MdnsNsecRecord record = new MdnsNsecRecord(name, reader); in testNsecRecord()