Home
last modified time | relevance | path

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

/external/openscreen/discovery/dnssd/impl/
Dquerier_impl_unittest.cc145 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 …]
Dquerier_impl.cc240 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()
Dconversion_layer.cc158 return {GetDomainName(key), DnsType::kANY, DnsClass::kANY}; in GetInstanceQueryInfo()
163 return {std::move(domain), DnsType::kPTR, DnsClass::kANY}; in GetPtrQueryInfo()
Dconversion_layer_unittest.cc70 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/
Dmdns_querier.cc47 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 …]
Dmdns_querier_unittest.cc152 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 …]
Dmdns_responder_unittest.cc84 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 …]
Dmdns_publisher.cc72 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()
Dmdns_publisher_unittest.cc287 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()
Dmdns_records.cc826 (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()
Dmdns_probe.cc67 MdnsQuestion probe_question(target_name(), DnsType::kANY, DnsClass::kIN, in ProbeOnce()
Dmdns_trackers.cc53 return type == dns_type || type == DnsType::kANY; in IsNegativeResponseForType()
152 OSP_DCHECK(dns_type_ != DnsType::kANY); in MdnsRecordTracker()
Dmdns_probe_manager_unittest.cc121 MdnsQuestion question(domain, DnsType::kANY, DnsClass::kANY, in CreateProbeQueryMessage()
Dmdns_trackers_unittest.cc78 DnsType::kANY,
347 DnsClass::kANY, a_record_.record_type(), in TEST_F()
Dmdns_responder.cc44 case DnsType::kANY: in GetTtlForNsecTargetingType()
Dmdns_records_unittest.cc404 rdata = NsecRecordRdata(domain, DnsType::kANY); in TEST()
/external/openscreen/discovery/mdns/public/
Dmdns_constants.h312 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