Home
last modified time | relevance | path

Searched refs:kSRV (Results 1 – 17 of 17) sorted by relevance

/external/openscreen/discovery/mdns/
Dmdns_querier_unittest.cc519 MdnsRecord srv_nsec = CreateNsec(alternate_name, DnsType::kSRV); in TEST_F()
533 EXPECT_TRUE(ContainsRecord(querier.get(), srv_nsec, DnsType::kSRV)); in TEST_F()
598 CreateNsec(first_name, DnsType::kA, DnsType::kAAAA, DnsType::kSRV); in TEST_F()
603 CreateNsec(alternate_name, DnsType::kA, DnsType::kAAAA, DnsType::kSRV); in TEST_F()
605 MdnsRecord srv(third_name, DnsType::kSRV, record0_created_.dns_class(), in TEST_F()
609 CreateNsec(third_name, DnsType::kA, DnsType::kAAAA, DnsType::kSRV); in TEST_F()
626 CreateNsec(first_name, DnsType::kAAAA, DnsType::kSRV); in TEST_F()
628 CreateNsec(alternate_name, DnsType::kA, DnsType::kSRV); in TEST_F()
634 EXPECT_TRUE(ContainsRecord(querier.get(), new_first_nsec, DnsType::kSRV)); in TEST_F()
638 EXPECT_TRUE(ContainsRecord(querier.get(), new_second_nsec, DnsType::kSRV)); in TEST_F()
[all …]
Dmdns_responder_unittest.cc150 return MdnsRecord(name, DnsType::kSRV, DnsClass::kIN, RecordType::kUnique, in GetFakeSrvRecord()
330 EXPECT_TRUE(ContainsRecordType(message.answers(), DnsType::kSRV)); in TEST_F()
367 EXPECT_TRUE(ContainsRecordType(records, DnsType::kSRV)); in TEST_F()
380 MdnsMessage message = CreateMulticastMdnsQuery(DnsType::kSRV); in TEST_F()
397 EXPECT_TRUE(ContainsRecordType(message.answers(), DnsType::kSRV)); in TEST_F()
403 EXPECT_FALSE(ContainsRecordType(records, DnsType::kSRV)); in TEST_F()
437 EXPECT_FALSE(ContainsRecordType(records, DnsType::kSRV)); in TEST_F()
471 EXPECT_FALSE(ContainsRecordType(records, DnsType::kSRV)); in TEST_F()
582 EXPECT_TRUE(ContainsRecordType(message.answers(), DnsType::kSRV)); in TEST_F()
626 QueryForRecordTypeWhenNonePresent(DnsType::kSRV); in TEST_F()
[all …]
Dmdns_responder.cc40 case DnsType::kSRV: in GetTtlForNsecTargetingType()
69 return type == DnsType::kSRV || type == DnsType::kTXT || in IsValidAdditionalRecordType()
167 DnsType::kSRV, clazz, true); in ApplyQueryResults()
176 if (message->additional_records()[i].dns_type() != DnsType::kSRV) { in ApplyQueryResults()
198 } else if (type == DnsType::kSRV) { in ApplyQueryResults()
205 OSP_DCHECK(srv_record.dns_type() == DnsType::kSRV); in ApplyQueryResults()
Dmdns_writer_unittest.cc260 DnsType::kTXT, DnsType::kSRV, DnsType::kNSEC); in TEST()
287 DnsType::kTXT, DnsType::kSRV, DnsType::kNSEC), in TEST()
294 DnsType::kTXT, DnsType::kSRV, DnsType::kNSEC)); in TEST()
Dmdns_records_unittest.cc376 rdata = NsecRecordRdata(domain, DnsType::kSRV); in TEST()
428 rdata = NsecRecordRdata(domain, DnsType::kA, DnsType::kTXT, DnsType::kSRV, in TEST()
439 const NsecRecordRdata rdata1(domain, DnsType::kA, DnsType::kSRV); in TEST()
440 const NsecRecordRdata rdata2(domain, DnsType::kSRV, DnsType::kA); in TEST()
441 const NsecRecordRdata rdata3(domain, DnsType::kSRV, DnsType::kA, in TEST()
443 const NsecRecordRdata rdata4(domain, DnsType::kSRV, DnsType::kAAAA); in TEST()
461 DnsType::kSRV)); in TEST()
Dmdns_records.cc86 case DnsType::kSRV: in IsGreaterThan()
591 ((dns_type == DnsType::kSRV && in IsValidConfig()
675 } else if (dns_type_ == DnsType::kSRV) { in ToString()
883 case DnsType::kSRV: in CanBePublished()
907 case DnsType::kSRV: in CanBeQueried()
927 case DnsType::kSRV: in CanBeProcessed()
Dmdns_probe_unittest.cc66 MdnsRecord record(std::move(domain), DnsType::kSRV, DnsClass::kIN, in CreateMessage()
Dmdns_reader.cc375 case DnsType::kSRV: in Read()
Dmdns_reader_unittest.cc437 DnsType::kTXT, DnsType::kSRV, DnsType::kNSEC)); in TEST()
Dmdns_querier.cc27 DnsType::kA, DnsType::kPTR, DnsType::kTXT, DnsType::kAAAA, DnsType::kSRV};
/external/openscreen/discovery/mdns/public/
Dmdns_constants.h309 kSRV = 33, enumerator
325 case DnsType::kSRV:
340 DnsType::kSRV, DnsType::kNSEC, DnsType::kANY};
/external/openscreen/discovery/dnssd/testing/
Dfake_dns_record_factory.cc15 constexpr auto kType = DnsType::kSRV; in CreateFullyPopulatedSrvRecord()
/external/openscreen/discovery/dnssd/impl/
Ddns_data_graph.cc260 if (record.dns_type() == DnsType::kSRV) { in ApplyDataRecordChange()
479 srv_and_txt->GetRdata<SrvRecordRdata>(DnsType::kSRV); in CreateEndpoints()
529 node->GetRdata<SrvRecordRdata>(DnsType::kSRV); in IsValidSrvAndTxtNode()
574 case DnsType::kSRV: in GetDomainGroup()
Dpublisher_impl_unittest.cc110 } else if (record.dns_type() == DnsType::kSRV) { in TEST_F()
143 } else if (record.dns_type() == DnsType::kSRV) { in TEST_F()
Dconversion_layer.cc68 return MdnsRecord(domain, DnsType::kSRV, DnsClass::kIN, RecordType::kUnique, in CreateSrvRecord()
Dconversion_layer_unittest.cc145 return record.dns_type() == DnsType::kSRV; in TEST()
/external/openscreen/discovery/mdns/testing/
Dmdns_test_util.cc38 return MdnsRecord(name, DnsType::kSRV, DnsClass::kIN, RecordType::kUnique, in GetFakeSrvRecord()