Searched refs:ServiceKey (Results 1 – 11 of 11) sorted by relevance
/external/openscreen/discovery/dnssd/impl/ |
D | service_key.h | 22 class ServiceKey { 25 explicit ServiceKey(const MdnsRecord& record); 26 explicit ServiceKey(const DomainName& domain); 27 virtual ~ServiceKey() = default; 30 ServiceKey(absl::string_view service, absl::string_view domain); 31 ServiceKey(const ServiceKey& other); 32 ServiceKey(ServiceKey&& other); 34 ServiceKey& operator=(const ServiceKey& rhs); 35 ServiceKey& operator=(ServiceKey&& rhs); 43 static ErrorOr<ServiceKey> TryCreate(const MdnsRecord& record); [all …]
|
D | service_key.cc | 21 ServiceKey::ServiceKey(const MdnsRecord& record) { in ServiceKey() function in openscreen::discovery::ServiceKey 22 ErrorOr<ServiceKey> key = TryCreate(record); in ServiceKey() 26 ServiceKey::ServiceKey(const DomainName& domain) { in ServiceKey() function in openscreen::discovery::ServiceKey 27 ErrorOr<ServiceKey> key = TryCreate(domain); in ServiceKey() 31 ServiceKey::ServiceKey(absl::string_view service, absl::string_view domain) in ServiceKey() function in openscreen::discovery::ServiceKey 38 ServiceKey::ServiceKey(const ServiceKey& other) = default; 39 ServiceKey::ServiceKey(ServiceKey&& other) = default; 41 ServiceKey& ServiceKey::operator=(const ServiceKey& rhs) = default; 42 ServiceKey& ServiceKey::operator=(ServiceKey&& rhs) = default; 44 DomainName ServiceKey::GetName() const { in GetName() [all …]
|
D | service_key_unittest.cc | 17 ServiceKey key1("_service._udp", "domain"); in TEST() 18 ServiceKey key2("_service._udp", "domain"); in TEST() 22 key1 = ServiceKey("_service2._udp", "domain"); in TEST() 25 key2 = ServiceKey("_service2._udp", "domain"); in TEST() 29 key1 = ServiceKey("_service._udp", "domain2"); in TEST() 32 key2 = ServiceKey("_service._udp", "domain2"); in TEST() 38 ServiceKey ptr{"_service._udp", "domain"}; in TEST() 39 ServiceKey ptr2{"_service._udp", "domain"}; in TEST() 40 ServiceKey ptr3{"_service2._udp", "domain"}; in TEST() 41 ServiceKey ptr4{"_service._udp", "domain2"}; in TEST() [all …]
|
D | instance_key.cc | 24 : ServiceKey(domain), instance_id_(domain.labels()[0]) { in InstanceKey() 36 : ServiceKey(service, domain), instance_id_(instance) { in InstanceKey() 48 std::vector<std::string> labels = ServiceKey::GetName().labels(); in GetName()
|
D | conversion_layer.h | 22 class ServiceKey; variable 53 DnsQueryInfo GetPtrQueryInfo(const ServiceKey& key);
|
D | instance_key_unittest.cc | 46 ServiceKey ptr("_service._udp", "domain"); in TEST() 55 ptr = ServiceKey("_service._udp", "domain2"); in TEST() 60 ptr = ServiceKey("_service2._udp", "domain"); in TEST()
|
D | instance_key.h | 20 class ServiceKey; variable 24 class InstanceKey : public ServiceKey {
|
D | querier_impl.cc | 228 const ServiceKey key(service, kLocalDomain); in StartQuery() 264 ServiceKey key(service, kLocalDomain); in StopQuery() 280 ServiceKey key(service, kLocalDomain); in StopQuery() 296 const ServiceKey key(service, kLocalDomain); in IsQueryRunning() 305 const ServiceKey key(service, kLocalDomain); in ReinitializeQueries() 423 ServiceKey key(some_endpoint->service_id(), some_endpoint->domain_id()); in InvokeChangeCallbacks()
|
D | querier_impl.h | 73 std::map<ServiceKey, std::vector<Callback*>> callback_map_;
|
D | conversion_layer.cc | 161 DnsQueryInfo GetPtrQueryInfo(const ServiceKey& key) { in GetPtrQueryInfo()
|
D | conversion_layer_unittest.cc | 83 ServiceKey key{"_service-id._udp", "192.168.0.0"}; in TEST()
|