/external/openscreen/discovery/dnssd/public/ |
D | dns_sd_instance.h | 24 class DnsSdInstance { 29 DnsSdInstance(std::string instance_id, 37 DnsSdInstance(std::string instance_id, in DnsSdInstance() function 43 : DnsSdInstance(std::move(instance_id), in DnsSdInstance() 50 DnsSdInstance(const DnsSdInstance& other); 51 DnsSdInstance(DnsSdInstance&& other); 53 virtual ~DnsSdInstance(); 55 DnsSdInstance& operator=(const DnsSdInstance& rhs); 56 DnsSdInstance& operator=(DnsSdInstance&& rhs); 91 friend bool operator<(const DnsSdInstance& lhs, const DnsSdInstance& rhs); [all …]
|
D | dns_sd_instance.cc | 56 DnsSdInstance::DnsSdInstance(std::string instance_id, in DnsSdInstance() function in openscreen::discovery::DnsSdInstance 81 DnsSdInstance::DnsSdInstance(const DnsSdInstance& other) = default; 83 DnsSdInstance::DnsSdInstance(DnsSdInstance&& other) = default; 85 DnsSdInstance::~DnsSdInstance() = default; 87 DnsSdInstance& DnsSdInstance::operator=(const DnsSdInstance& rhs) = default; 89 DnsSdInstance& DnsSdInstance::operator=(DnsSdInstance&& rhs) = default; 174 bool IsSubtypeValid(const DnsSdInstance::Subtype& subtype) { in IsSubtypeValid() 187 bool operator<(const DnsSdInstance& lhs, const DnsSdInstance& rhs) { in operator <()
|
D | dns_sd_instance_unittest.cc | 227 DnsSdInstance kIn1("instance", "_service._tcp", "local", {}, 80); in TEST() 228 DnsSdInstance kIn2("instance", "_service._tcp", "local", {}, 80); in TEST() 229 DnsSdInstance kIn3("instance2", "_service._tcp", "local", {}, 80); in TEST() 230 DnsSdInstance kIn4("instance", "_service2._tcp", "local", {}, 80); in TEST() 231 DnsSdInstance kIn5("instance", "_service._tcp", "local2", {}, 80); in TEST() 232 DnsSdInstance kIn6("instance", "_service._tcp", "local", set_record, 80); in TEST() 233 DnsSdInstance kIn7("instance", "_service._tcp", "local", {}, 79); in TEST() 234 DnsSdInstance kIn8("instance", "_service._tcp", "local", {}, 80, "foo"); in TEST() 235 DnsSdInstance kIn9("instance", "_service._tcp", "local", {}, 80, "foobar"); in TEST() 236 DnsSdInstance kIn10("instance", "_service._tcp", "local", {}, 80, "foo", in TEST()
|
D | dns_sd_instance_endpoint_unittest.cc | 17 DnsSdInstance instance("instance", "_test._tcp", "local", {}, 80); in TEST() 18 DnsSdInstance instance2("instance", "_test._tcp", "local", {}, 79); in TEST() 35 EXPECT_EQ(static_cast<DnsSdInstance>(endpoint1), in TEST() 36 static_cast<DnsSdInstance>(endpoint2)); in TEST() 60 DnsSdInstance instance("instance", "_test._tcp", "local", {}, 80, subtypes); in TEST()
|
D | dns_sd_instance_endpoint.cc | 40 : DnsSdInstance(std::move(instance_id), in DnsSdInstanceEndpoint() 52 DnsSdInstance instance, in DnsSdInstanceEndpoint() 55 : DnsSdInstance(std::move(instance)), in DnsSdInstanceEndpoint() 100 return static_cast<const DnsSdInstance&>(lhs) < in operator <() 101 static_cast<const DnsSdInstance&>(rhs); in operator <()
|
D | dns_sd_publisher.h | 30 const DnsSdInstance& requested_instance, 42 virtual Error Register(const DnsSdInstance& instance, Client* client) = 0; 49 virtual Error UpdateRegistration(const DnsSdInstance& instance) = 0;
|
D | dns_sd_instance_endpoint.h | 21 class DnsSdInstanceEndpoint : public DnsSdInstance { 23 using DnsSdInstance::Subtype; 27 DnsSdInstanceEndpoint(DnsSdInstance record, 48 DnsSdInstanceEndpoint(DnsSdInstance record, in DnsSdInstanceEndpoint()
|
/external/openscreen/discovery/dnssd/impl/ |
D | publisher_impl.h | 31 Error Register(const DnsSdInstance& instance, Client* client) override; 32 Error UpdateRegistration(const DnsSdInstance& instance) override; 36 Error UpdatePublishedRegistration(const DnsSdInstance& instance); 44 std::map<DnsSdInstance, Client* const> pending_instances_; 49 std::map<DnsSdInstance, DnsSdInstanceEndpoint> published_instances_;
|
D | publisher_impl.cc | 27 DnsSdInstance instance, in CreateEndpoint() 44 DnsSdInstance instance, in UpdateDomain() 50 DnsSdInstance instance, in CreateEndpoint() 57 inline typename std::map<DnsSdInstance, T>::iterator FindKey( in FindKey() argument 58 std::map<DnsSdInstance, T>* instances, in FindKey() 61 [&key](const std::pair<DnsSdInstance, T>& pair) { in FindKey() argument 67 int EraseInstancesWithServiceId(std::map<DnsSdInstance, T>* instances, in EraseInstancesWithServiceId() argument 99 Error PublisherImpl::Register(const DnsSdInstance& instance, Client* client) { in Register() 120 Error PublisherImpl::UpdateRegistration(const DnsSdInstance& instance) { in UpdateRegistration() 145 const DnsSdInstance& instance) { in UpdatePublishedRegistration() [all …]
|
D | publisher_impl_unittest.cc | 28 void(const DnsSdInstance&, const DnsSdInstanceEndpoint&)); 92 const DnsSdInstance instance("instance", "_service._udp", "domain", {}, 80); in TEST_F() 93 const DnsSdInstance instance2("instance2", "_service._udp", "domain", {}, 80); in TEST_F() 124 .WillOnce([instance2](const DnsSdInstance& requested, in TEST_F() 162 DnsSdInstance instance("instance", "_service._udp", "domain", std::move(txt), in TEST_F() 179 DnsSdInstance instance2("instance", "_service._udp", "domain", in TEST_F() 194 .WillOnce([instance2](const DnsSdInstance& requested, in TEST_F()
|
D | conversion_layer.cc | 55 MdnsRecord CreatePtrRecord(const DnsSdInstance& instance, in CreatePtrRecord() 64 MdnsRecord CreateSrvRecord(const DnsSdInstance& instance, in CreateSrvRecord() 101 MdnsRecord CreateTxtRecord(const DnsSdInstance& endpoint, in CreateTxtRecord() 179 std::vector<MdnsRecord> GetDnsRecords(const DnsSdInstance& instance) { in GetDnsRecords() 190 GetDnsRecords(static_cast<DnsSdInstance>(endpoint)); in GetDnsRecords()
|
D | service_dispatcher.h | 44 Error Register(const DnsSdInstance& instance, Client* client) override; 45 Error UpdateRegistration(const DnsSdInstance& instance) override;
|
D | instance_key.h | 17 class DnsSdInstance; variable 30 explicit InstanceKey(const DnsSdInstance& instance);
|
D | dns_data_graph_unittest.cc | 81 void ExpectDomainEqual(const DnsSdInstance& instance, in ExpectDomainEqual() 335 EXPECT_EQ(static_cast<DnsSdInstance>(endpoint_a), in TEST_F() 336 static_cast<DnsSdInstance>(endpoint_a_aaaa)); in TEST_F() 349 EXPECT_EQ(static_cast<DnsSdInstance>(endpoint_a), in TEST_F() 350 static_cast<DnsSdInstance>(endpoint_aaaa)); in TEST_F() 394 EXPECT_EQ(static_cast<DnsSdInstance>(endpoint), in TEST_F() 395 static_cast<DnsSdInstance>(endpoint2)); in TEST_F()
|
D | service_dispatcher.cc | 109 Error ServiceDispatcher::Register(const DnsSdInstance& instance, in Register() 119 Error ServiceDispatcher::UpdateRegistration(const DnsSdInstance& instance) { in UpdateRegistration()
|
D | conversion_layer.h | 57 std::vector<MdnsRecord> GetDnsRecords(const DnsSdInstance& instance);
|
D | instance_key.cc | 28 InstanceKey::InstanceKey(const DnsSdInstance& instance) in InstanceKey()
|
D | querier_impl_unittest.cc | 337 EXPECT_EQ(static_cast<DnsSdInstance>(created), in TEST_F() 338 static_cast<DnsSdInstance>(updated)); in TEST_F()
|
/external/openscreen/discovery/public/ |
D | dns_sd_service_publisher.h | 36 using ServiceInstanceConverter = std::function<DnsSdInstance(const T&)>; 54 DnsSdInstance instance = conversion_(service); in Register() 63 DnsSdInstance instance = conversion_(service); in UpdateRegistration() 77 const DnsSdInstance& requested_instance, in OnEndpointClaimed()
|
D | dns_sd_service_watcher_unittest.cc | 90 [this](const DnsSdInstance& instance) { return Convert(instance); }, in TestServiceWatcher() 102 std::string Convert(const DnsSdInstance& instance) { in Convert()
|
/external/openscreen/cast/common/public/ |
D | service_info.cc | 101 discovery::DnsSdInstance ServiceInfoToDnsSdInstance(const ServiceInfo& info) { in ServiceInfoToDnsSdInstance() 120 return discovery::DnsSdInstance(info.GetInstanceId(), kCastV2ServiceId, in ServiceInfoToDnsSdInstance()
|
D | service_info.h | 116 discovery::DnsSdInstance ServiceInfoToDnsSdInstance(const ServiceInfo& service);
|
D | service_info_unittest.cc | 134 discovery::DnsSdInstance instance = ServiceInfoToDnsSdInstance(info); in TEST()
|