/external/openscreen/discovery/dnssd/impl/ |
D | querier_impl_unittest.cc | 145 StartQuery(_, DnsType::kANY, DnsClass::kANY, _)) 231 return change.dns_type == DnsType::kANY && in ValidateRecordChangeResult() 232 change.dns_class == DnsClass::kANY && in ValidateRecordChangeResult() 253 StartQuery(_, DnsType::kANY, DnsClass::kANY, _)) in TEST_F() 259 StopQuery(_, DnsType::kANY, DnsClass::kANY, _)) in TEST_F() 279 StopQuery(ptr_domain, DnsType::kANY, DnsClass::kANY, _)) in TEST_F() 282 StopQuery(name, DnsType::kANY, DnsClass::kANY, _)) in TEST_F() 291 StartQuery(_, DnsType::kANY, DnsClass::kANY, _)) in TEST_F() 437 StopQuery(ptr_domain, DnsType::kANY, DnsClass::kANY, _)) in TEST_F() 440 StopQuery(name, DnsType::kANY, DnsClass::kANY, _)) in TEST_F() [all …]
|
D | querier_impl.cc | 240 mdns_querier_->StartQuery(changed_domain, DnsType::kANY, in StartQuery() 241 DnsClass::kANY, this); in StartQuery() 287 mdns_querier_->StopQuery(changed_domain, DnsType::kANY, in StopQuery() 288 DnsClass::kANY, this); in StopQuery() 310 mdns_querier_->StartQuery(domain, DnsType::kANY, DnsClass::kANY, this); in ReinitializeQueries() 314 mdns_querier_->StopQuery(domain, DnsType::kANY, DnsClass::kANY, this); in ReinitializeQueries() 452 pending_changes.push_back({std::move(domain), DnsType::kANY, in ApplyRecordChanges() 453 DnsClass::kANY, this, in ApplyRecordChanges() 458 pending_changes.push_back({std::move(domain), DnsType::kANY, in ApplyRecordChanges() 459 DnsClass::kANY, this, in ApplyRecordChanges()
|
D | conversion_layer.cc | 158 return {GetDomainName(key), DnsType::kANY, DnsClass::kANY}; in GetInstanceQueryInfo() 163 return {std::move(domain), DnsType::kPTR, DnsClass::kANY}; in GetPtrQueryInfo()
|
D | conversion_layer_unittest.cc | 70 EXPECT_EQ(query.dns_type, DnsType::kANY); in TEST() 71 EXPECT_EQ(query.dns_class, DnsClass::kANY); in TEST() 86 EXPECT_EQ(query.dns_class, DnsClass::kANY); in TEST()
|
/external/openscreen/discovery/mdns/ |
D | mdns_querier.cc | 47 stored_type == DnsType::kANY; in IsNegativeResponseFor() 83 uint16_t bit = (type == DnsType::kANY) ? 0 : static_cast<uint16_t>(type); in Insert() 106 } else if (type == DnsType::kANY) { in Remove() 120 return {DnsType::kANY}; in GetTypes() 125 if (type == DnsType::kANY) { in GetTypes() 243 return Find(name, DnsType::kANY, DnsClass::kANY); in Find() 254 if ((dns_type == DnsType::kANY || dns_type == tracker.dns_type()) && in Find() 255 (dns_class == DnsClass::kANY || dns_class == tracker.dns_class())) { in Find() 583 return (pair.second->question().dns_type() == DnsType::kANY || in ShouldAnswerRecordBeProcessed() 587 (pair.second->question().dns_class() == DnsClass::kANY || in ShouldAnswerRecordBeProcessed() [all …]
|
D | mdns_querier_unittest.cc | 152 DnsType type = DnsType::kANY) { in ContainsRecord() 212 querier->StartQuery(DomainName{"poking", "local"}, DnsType::kANY, in TEST_F() 213 DnsClass::kANY, &callback); in TEST_F() 484 querier->StartQuery(DomainName{"testing", "local"}, DnsType::kANY, in TEST_F() 499 querier->StartQuery(DomainName{"testing", "local"}, DnsType::kANY, in TEST_F() 523 querier->StartQuery(DomainName{"testing", "local"}, DnsType::kANY, in TEST_F() 525 querier->StartQuery(alternate_name, DnsType::kANY, DnsClass::kIN, &callback); in TEST_F() 544 querier->StartQuery(DomainName{"testing", "local"}, DnsType::kANY, in TEST_F() 557 querier->StartQuery(DomainName{"testing", "local"}, DnsType::kANY, in TEST_F() 579 querier->StartQuery(DomainName{"testing", "local"}, DnsType::kANY, in TEST_F() [all …]
|
D | mdns_responder_unittest.cc | 84 if (type == DnsType::kANY || record.dns_type() == type) { in GetRecords() 177 MdnsQuestion question(domain_, type, DnsClass::kANY, in QueryForRecordTypeWhenNonePresent() 194 MdnsQuestion question(domain_, type, DnsClass::kANY, in CreateMulticastMdnsQuery() 204 DnsClass::kANY, ResponseType::kMulticast); in CreateTypeEnumerationQuery() 230 MdnsMessage message = CreateMulticastMdnsQuery(DnsType::kANY); in TEST_F() 247 MdnsMessage message = CreateMulticastMdnsQuery(DnsType::kANY); in TEST_F() 264 MdnsMessage message = CreateMulticastMdnsQuery(DnsType::kANY); in TEST_F() 265 MdnsQuestion question2(domain_, DnsType::kANY, DnsClass::kANY, in TEST_F() 287 MdnsQuestion question(domain_, DnsType::kANY, DnsClass::kANY, in TEST_F() 301 MdnsMessage message = CreateMulticastMdnsQuery(DnsType::kANY); in TEST_F() [all …]
|
D | mdns_publisher.cc | 72 OSP_DCHECK(record.dns_class() != DnsClass::kANY); in RegisterRecord() 99 OSP_DCHECK(record.dns_class() != DnsClass::kANY); in UnregisterRecord() 175 if ((type == DnsType::kANY || type == record_dns_type) && in GetRecords() 176 (clazz == DnsClass::kANY || clazz == record_dns_class)) { in GetRecords() 200 if ((clazz == DnsClass::kANY || clazz == record_dns_class)) { in GetPtrRecords()
|
D | mdns_publisher_unittest.cc | 287 ASSERT_EQ(publisher_.GetPtrRecords(DnsClass::kANY).size(), size_t{0}); in TEST_F() 298 ASSERT_EQ(publisher_.GetPtrRecords(DnsClass::kANY).size(), size_t{1}); in TEST_F() 305 ASSERT_EQ(publisher_.GetPtrRecords(DnsClass::kANY).size(), size_t{1}); in TEST_F() 316 ASSERT_EQ(publisher_.GetPtrRecords(DnsClass::kANY).size(), size_t{2}); in TEST_F() 327 ASSERT_EQ(publisher_.GetPtrRecords(DnsClass::kANY).size(), size_t{1}); in TEST_F() 334 ASSERT_EQ(publisher_.GetPtrRecords(DnsClass::kANY).size(), size_t{1}); in TEST_F() 345 ASSERT_EQ(publisher_.GetPtrRecords(DnsClass::kANY).size(), size_t{0}); in TEST_F()
|
D | mdns_records.cc | 826 (question.dns_type() == DnsType::kANY)) && in IsProbeQuery() 828 (question.dns_class() == DnsClass::kANY))) { in IsProbeQuery() 887 case DnsType::kANY: in CanBePublished() 908 case DnsType::kANY: in CanBeQueried() 931 case DnsType::kANY: in CanBeProcessed()
|
D | mdns_probe.cc | 67 MdnsQuestion probe_question(target_name(), DnsType::kANY, DnsClass::kIN, in ProbeOnce()
|
D | mdns_trackers.cc | 53 return type == dns_type || type == DnsType::kANY; in IsNegativeResponseForType() 152 OSP_DCHECK(dns_type_ != DnsType::kANY); in MdnsRecordTracker()
|
D | mdns_probe_manager_unittest.cc | 121 MdnsQuestion question(domain, DnsType::kANY, DnsClass::kANY, in CreateProbeQueryMessage()
|
D | mdns_trackers_unittest.cc | 78 DnsType::kANY, 347 DnsClass::kANY, a_record_.record_type(), in TEST_F()
|
D | mdns_responder.cc | 44 case DnsType::kANY: in GetTtlForNsecTargetingType()
|
D | mdns_records_unittest.cc | 404 rdata = NsecRecordRdata(domain, DnsType::kANY); in TEST()
|
/external/openscreen/discovery/mdns/public/ |
D | mdns_constants.h | 312 kANY = 255, // Only allowed for QTYPE enumerator 331 case DnsType::kANY: 340 DnsType::kSRV, DnsType::kNSEC, DnsType::kANY}; 344 kANY = 255, // Only allowed for QCLASS enumerator
|