Home
last modified time | relevance | path

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

/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsPointerRecord.java39 super(name, TYPE_PTR, reader, isQuestion); in MdnsPointerRecord()
43 super(name, TYPE_PTR, in MdnsPointerRecord()
50 super(name, TYPE_PTR, MdnsConstants.QCLASS_INTERNET, receiptTimeMillis, cacheFlush, in MdnsPointerRecord()
DMdnsRecord.java41 public static final int TYPE_PTR = 0x000C; field in MdnsRecord
DMdnsPacket.java172 case MdnsRecord.TYPE_PTR: { in parseRecord()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsRecordRepositoryTest.kt31 import com.android.server.connectivity.mdns.MdnsRecord.TYPE_PTR in <lambda>()
480 intArrayOf(TYPE_PTR)), in testOnProbingSucceeded()
492 intArrayOf(TYPE_PTR)), in testOnProbingSucceeded()
498 intArrayOf(TYPE_PTR)), in testOnProbingSucceeded()
597 TYPE_PTR -> return MdnsPointerRecord(name, false /* isUnicast */) in makeQuestionRecord()
613 val query = makeQuery(TYPE_PTR to arrayOf("_testservice", "_tcp", "local")) in testGetReply_singlePtrQuestion_returnsSrvTxtAddressNsecRecords()
646 val query = makeQuery(TYPE_PTR to arrayOf("_testservice", "_tcp", "local")) in testGetReply_ptrQuestionForServiceWithCustomHost_customHostUsedInAdditionalAnswers()
693 val query = makeQuery(TYPE_PTR to arrayOf("_testservice", "_tcp", "local")) in testGetReply_ptrQuestionForServicesWithSameCustomHost_customHostUsedInAdditionalAnswers()
731 TYPE_PTR to arrayOf(TEST_SUBTYPE, "_sub", "_testservice", "_tcp", "local")) in testGetReply_singleSubtypePtrQuestion_returnsSrvTxtAddressNsecRecords()
764 TYPE_PTR to arrayOf("_testservice", "_tcp", "local"), in testGetReply_duplicatePtrQuestions_doesNotReturnDuplicateRecords()
[all …]
DMdnsAnnouncerTest.kt224 intArrayOf(MdnsRecord.TYPE_PTR)), in <lambda>()
230 intArrayOf(MdnsRecord.TYPE_PTR)), in <lambda>()
236 intArrayOf(MdnsRecord.TYPE_PTR)), in <lambda>()
DMdnsServiceTypeClientTests.java716 assertTrue(hasQuestion(subtype1Query, MdnsRecord.TYPE_PTR, SERVICE_TYPE_LABELS)); in testCombinedSubtypesQueriedWithMultipleListeners()
717 assertTrue(hasQuestion(subtype1Query, MdnsRecord.TYPE_PTR, in testCombinedSubtypesQueriedWithMultipleListeners()
737 assertTrue(hasQuestion(combinedSubtypesQuery, MdnsRecord.TYPE_PTR, SERVICE_TYPE_LABELS)); in testCombinedSubtypesQueriedWithMultipleListeners()
738 assertTrue(hasQuestion(combinedSubtypesQuery, MdnsRecord.TYPE_PTR, in testCombinedSubtypesQueriedWithMultipleListeners()
740 assertTrue(hasQuestion(combinedSubtypesQuery, MdnsRecord.TYPE_PTR, in testCombinedSubtypesQueriedWithMultipleListeners()
761 assertTrue(hasQuestion(subtype2Query, MdnsRecord.TYPE_PTR, SERVICE_TYPE_LABELS)); in testCombinedSubtypesQueriedWithMultipleListeners()
762 assertTrue(hasQuestion(subtype2Query, MdnsRecord.TYPE_PTR, in testCombinedSubtypesQueriedWithMultipleListeners()
1230 assertFalse(hasQuestion(srvTxtQueryPacket, MdnsRecord.TYPE_PTR)); in testProcessResponse_Resolve()
1957 assertTrue(hasQuestion(queryPacket, MdnsRecord.TYPE_PTR)); in testSendQueryWithKnownAnswers()
1992 assertTrue(hasQuestion(knownAnswersQueryPacket, MdnsRecord.TYPE_PTR, SERVICE_TYPE_LABELS)); in testSendQueryWithKnownAnswers()
[all …]
DMdnsRecordTests.java192 assertEquals(MdnsRecord.TYPE_PTR, type); in testPointerRecord()
/packages/modules/Connectivity/framework/src/android/net/
DDnsResolver.java82 public static final int TYPE_PTR = 12; field in DnsResolver