Home
last modified time | relevance | path

Searched refs:ServiceKey (Results 1 – 11 of 11) sorted by relevance

/external/openscreen/discovery/dnssd/impl/
Dservice_key.h22 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 …]
Dservice_key.cc21 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 …]
Dservice_key_unittest.cc17 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 …]
Dinstance_key.cc24 : 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()
Dconversion_layer.h22 class ServiceKey; variable
53 DnsQueryInfo GetPtrQueryInfo(const ServiceKey& key);
Dinstance_key_unittest.cc46 ServiceKey ptr("_service._udp", "domain"); in TEST()
55 ptr = ServiceKey("_service._udp", "domain2"); in TEST()
60 ptr = ServiceKey("_service2._udp", "domain"); in TEST()
Dinstance_key.h20 class ServiceKey; variable
24 class InstanceKey : public ServiceKey {
Dquerier_impl.cc228 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()
Dquerier_impl.h73 std::map<ServiceKey, std::vector<Callback*>> callback_map_;
Dconversion_layer.cc161 DnsQueryInfo GetPtrQueryInfo(const ServiceKey& key) { in GetPtrQueryInfo()
Dconversion_layer_unittest.cc83 ServiceKey key{"_service-id._udp", "192.168.0.0"}; in TEST()