/external/openscreen/discovery/dnssd/public/ |
D | dns_sd_instance_endpoint.h | 21 class DnsSdInstanceEndpoint : public DnsSdInstance { 27 DnsSdInstanceEndpoint(DnsSdInstance record, 31 DnsSdInstanceEndpoint(std::string instance_id, 37 DnsSdInstanceEndpoint(std::string instance_id, 48 DnsSdInstanceEndpoint(DnsSdInstance record, in DnsSdInstanceEndpoint() function 51 : DnsSdInstanceEndpoint( in DnsSdInstanceEndpoint() 58 DnsSdInstanceEndpoint(std::string instance_id, in DnsSdInstanceEndpoint() function 65 : DnsSdInstanceEndpoint( in DnsSdInstanceEndpoint() 76 DnsSdInstanceEndpoint(const DnsSdInstanceEndpoint& other); 77 DnsSdInstanceEndpoint(DnsSdInstanceEndpoint&& other); [all …]
|
D | dns_sd_instance_endpoint.cc | 17 DnsSdInstanceEndpoint::DnsSdInstanceEndpoint( in DnsSdInstanceEndpoint() function in openscreen::discovery::DnsSdInstanceEndpoint 24 : DnsSdInstanceEndpoint(std::move(instance_id), in DnsSdInstanceEndpoint() 32 DnsSdInstanceEndpoint::DnsSdInstanceEndpoint( in DnsSdInstanceEndpoint() function in openscreen::discovery::DnsSdInstanceEndpoint 51 DnsSdInstanceEndpoint::DnsSdInstanceEndpoint( in DnsSdInstanceEndpoint() function in openscreen::discovery::DnsSdInstanceEndpoint 61 DnsSdInstanceEndpoint::DnsSdInstanceEndpoint( 62 const DnsSdInstanceEndpoint& other) = default; 64 DnsSdInstanceEndpoint::DnsSdInstanceEndpoint(DnsSdInstanceEndpoint&& other) = 67 DnsSdInstanceEndpoint::~DnsSdInstanceEndpoint() = default; 69 DnsSdInstanceEndpoint& DnsSdInstanceEndpoint::operator=( 70 const DnsSdInstanceEndpoint& rhs) = default; [all …]
|
D | dns_sd_instance_endpoint_unittest.cc | 22 DnsSdInstanceEndpoint endpoint1(instance, kIndex1, ep1); in TEST() 23 DnsSdInstanceEndpoint endpoint2("instance", "_test._tcp", "local", {}, in TEST() 25 DnsSdInstanceEndpoint endpoint3(instance2, kIndex1, ep2); in TEST() 26 DnsSdInstanceEndpoint endpoint4(instance2, kIndex0, ep2); in TEST() 27 DnsSdInstanceEndpoint endpoint5(instance2, kIndex1, ep3); in TEST() 28 DnsSdInstanceEndpoint endpoint6("instance", "_test._tcp", "local", {}, in TEST() 30 DnsSdInstanceEndpoint endpoint7("instance", "_test._tcp", "local", {}, in TEST() 32 DnsSdInstanceEndpoint endpoint8("instance", "_test._tcp", "local", {}, in TEST() 62 DnsSdInstanceEndpoint ep1(instance, kIndex, endpoint1, endpoint2); in TEST() 63 DnsSdInstanceEndpoint ep2(instance, kIndex, in TEST() [all …]
|
D | dns_sd_querier.h | 25 const DnsSdInstanceEndpoint& new_endpoint) = 0; 31 const DnsSdInstanceEndpoint& modified_endpoint) = 0; 37 const DnsSdInstanceEndpoint& old_endpoint) = 0;
|
D | dns_sd_publisher.h | 16 class DnsSdInstanceEndpoint; variable 31 const DnsSdInstanceEndpoint& claimed_endpoint) = 0;
|
/external/openscreen/discovery/dnssd/impl/ |
D | querier_impl.cc | 27 void ProcessErrors(std::vector<ErrorOr<DnsSdInstanceEndpoint>>* old_endpoints, in ProcessErrors() 28 std::vector<ErrorOr<DnsSdInstanceEndpoint>>* new_endpoints, in ProcessErrors() 39 ErrorOr<DnsSdInstanceEndpoint>& old_ep = *old_it; in ProcessErrors() 40 ErrorOr<DnsSdInstanceEndpoint>& new_ep = *new_it; in ProcessErrors() 82 std::vector<DnsSdInstanceEndpoint> GetValues( in GetValues() 83 std::vector<ErrorOr<DnsSdInstanceEndpoint>> endpoints) { in GetValues() 84 std::vector<DnsSdInstanceEndpoint> results; in GetValues() 86 for (ErrorOr<DnsSdInstanceEndpoint>& endpoint : endpoints) { in GetValues() 92 bool IsEqualOrUpdate(const absl::optional<DnsSdInstanceEndpoint>& first, in IsEqualOrUpdate() 93 const absl::optional<DnsSdInstanceEndpoint>& second) { in IsEqualOrUpdate() [all …]
|
D | querier_impl_unittest.cc | 33 MOCK_METHOD1(OnEndpointCreated, void(const DnsSdInstanceEndpoint&)); 34 MOCK_METHOD1(OnEndpointUpdated, void(const DnsSdInstanceEndpoint&)); 35 MOCK_METHOD1(OnEndpointDeleted, void(const DnsSdInstanceEndpoint&)); 70 std::vector<ErrorOr<DnsSdInstanceEndpoint>>(DomainGroup, 309 std::vector<DnsSdInstanceEndpoint> endpoints; in TEST_F() 319 .WillOnce([&endpoints](const DnsSdInstanceEndpoint& ep) mutable { in TEST_F() 327 .WillOnce([&endpoints](const DnsSdInstanceEndpoint& ep) mutable { in TEST_F() 335 DnsSdInstanceEndpoint& created = endpoints[0]; in TEST_F() 336 DnsSdInstanceEndpoint& updated = endpoints[1]; in TEST_F() 462 std::vector<ErrorOr<DnsSdInstanceEndpoint>> before_changes{}; in TEST_F() [all …]
|
D | dns_data_graph_unittest.cc | 18 IPAddress GetAddressV4(const DnsSdInstanceEndpoint endpoint) { in GetAddressV4() 27 IPAddress GetAddressV6(const DnsSdInstanceEndpoint endpoint) { in GetAddressV6() 265 std::vector<ErrorOr<DnsSdInstanceEndpoint>> endpoints = in TEST_F() 269 ErrorOr<DnsSdInstanceEndpoint> endpoint_or_error = std::move(endpoints[0]); in TEST_F() 271 DnsSdInstanceEndpoint endpoint = std::move(endpoint_or_error.value()); in TEST_F() 284 DnsSdInstanceEndpoint endpoint2 = std::move(endpoint_or_error.value()); in TEST_F() 306 std::vector<ErrorOr<DnsSdInstanceEndpoint>> endpoints = in TEST_F() 315 ErrorOr<DnsSdInstanceEndpoint> endpoint_or_error = std::move(endpoints[0]); in TEST_F() 317 DnsSdInstanceEndpoint endpoint_a = std::move(endpoint_or_error.value()); in TEST_F() 330 DnsSdInstanceEndpoint endpoint_a_aaaa = std::move(endpoint_or_error.value()); in TEST_F() [all …]
|
D | querier_impl.h | 64 void InvokeChangeCallbacks(std::vector<DnsSdInstanceEndpoint> created, 65 std::vector<DnsSdInstanceEndpoint> updated, 66 std::vector<DnsSdInstanceEndpoint> deleted);
|
D | dns_data_graph.cc | 16 ErrorOr<DnsSdInstanceEndpoint> CreateEndpoint( in CreateEndpoint() 38 return DnsSdInstanceEndpoint( in CreateEndpoint() 65 std::vector<ErrorOr<DnsSdInstanceEndpoint>> CreateEndpoints( 191 std::vector<ErrorOr<DnsSdInstanceEndpoint>> CalculatePtrRecordEndpoints( 430 std::vector<ErrorOr<DnsSdInstanceEndpoint>> DnsDataGraphImpl::CreateEndpoints( in CreateEndpoints() 472 std::vector<ErrorOr<DnsSdInstanceEndpoint>> endpoints; in CreateEndpoints() 507 ErrorOr<DnsSdInstanceEndpoint> endpoint = in CreateEndpoints() 536 std::vector<ErrorOr<DnsSdInstanceEndpoint>> 540 std::vector<ErrorOr<DnsSdInstanceEndpoint>> endpoints; in CalculatePtrRecordEndpoints() 549 std::vector<ErrorOr<DnsSdInstanceEndpoint>> child_endpoints = in CalculatePtrRecordEndpoints()
|
D | publisher_impl.cc | 26 DnsSdInstanceEndpoint CreateEndpoint( in CreateEndpoint() 37 return DnsSdInstanceEndpoint( in CreateEndpoint() 42 DnsSdInstanceEndpoint UpdateDomain( in UpdateDomain() 49 DnsSdInstanceEndpoint CreateEndpoint( in CreateEndpoint() 157 const DnsSdInstanceEndpoint updated_endpoint = in UpdatePublishedRegistration() 284 DnsSdInstanceEndpoint endpoint = in OnDomainFound()
|
D | conversion_layer_unittest.cc | 99 DnsSdInstanceEndpoint instance_endpoint( in TEST() 135 DnsSdInstanceEndpoint instance_endpoint( in TEST() 167 DnsSdInstanceEndpoint instance_endpoint( in TEST() 198 DnsSdInstanceEndpoint instance_endpoint( in TEST() 213 DnsSdInstanceEndpoint instance_endpoint( in TEST() 244 DnsSdInstanceEndpoint instance_endpoint( in TEST() 262 DnsSdInstanceEndpoint instance_endpoint( in TEST()
|
D | publisher_impl_unittest.cc | 28 void(const DnsSdInstance&, const DnsSdInstanceEndpoint&)); 125 const DnsSdInstanceEndpoint& claimed) { in TEST_F() 195 const DnsSdInstanceEndpoint& claimed) { in TEST_F()
|
D | conversion_layer.cc | 72 std::vector<MdnsRecord> CreateARecords(const DnsSdInstanceEndpoint& endpoint, in CreateARecords() 86 std::vector<MdnsRecord> CreateAAAARecords(const DnsSdInstanceEndpoint& endpoint, in CreateAAAARecords() 186 std::vector<MdnsRecord> GetDnsRecords(const DnsSdInstanceEndpoint& endpoint) { in GetDnsRecords()
|
D | conversion_layer.h | 56 std::vector<MdnsRecord> GetDnsRecords(const DnsSdInstanceEndpoint& endpoint);
|
D | dns_data_graph.h | 104 virtual std::vector<ErrorOr<DnsSdInstanceEndpoint>> CreateEndpoints(
|
D | publisher_impl.h | 49 std::map<DnsSdInstance, DnsSdInstanceEndpoint> published_instances_;
|
/external/openscreen/cast/common/public/ |
D | service_info_unittest.cc | 26 discovery::DnsSdInstanceEndpoint record( in TEST() 44 record = discovery::DnsSdInstanceEndpoint(instance, kCastV2ServiceId, in TEST() 60 record = discovery::DnsSdInstanceEndpoint(instance, kCastV2ServiceId, in TEST() 81 discovery::DnsSdInstanceEndpoint record( in TEST() 88 record = discovery::DnsSdInstanceEndpoint( in TEST() 95 record = discovery::DnsSdInstanceEndpoint( in TEST() 102 record = discovery::DnsSdInstanceEndpoint( in TEST() 109 record = discovery::DnsSdInstanceEndpoint( in TEST() 116 record = discovery::DnsSdInstanceEndpoint( in TEST() 167 const discovery::DnsSdInstanceEndpoint record( in TEST()
|
D | service_info.h | 119 const discovery::DnsSdInstanceEndpoint& endpoint);
|
D | service_info.cc | 125 const discovery::DnsSdInstanceEndpoint& endpoint) { in DnsSdInstanceEndpointToServiceInfo()
|
/external/openscreen/discovery/public/ |
D | dns_sd_service_watcher_unittest.cc | 118 void CreateNewInstance(const DnsSdInstanceEndpoint& record) { in CreateNewInstance() 140 void CreateExistingInstance(const DnsSdInstanceEndpoint& record) { in CreateExistingInstance() 162 void UpdateExistingInstance(const DnsSdInstanceEndpoint& record) { in UpdateExistingInstance() 184 void DeleteExistingInstance(const DnsSdInstanceEndpoint& record) { in DeleteExistingInstance() 203 void UpdateNonExistingInstance(const DnsSdInstanceEndpoint& record) { in UpdateNonExistingInstance() 219 void DeleteNonExistingInstance(const DnsSdInstanceEndpoint& record) { in DeleteNonExistingInstance() 235 bool ContainsService(const DnsSdInstanceEndpoint& record) { in ContainsService() 265 const DnsSdInstanceEndpoint record("Instance", kCastServiceId, kCastDomainId, in TEST_F() 283 const DnsSdInstanceEndpoint record("Instance", kCastServiceId, kCastDomainId, in TEST_F() 286 const DnsSdInstanceEndpoint record2("Instance2", kCastServiceId, in TEST_F()
|
D | dns_sd_service_watcher.h | 61 std::function<ErrorOr<T>(const DnsSdInstanceEndpoint&)>; 143 void OnEndpointCreated(const DnsSdInstanceEndpoint& new_endpoint) override { in OnEndpointCreated() 158 const DnsSdInstanceEndpoint& modified_endpoint) override { in OnEndpointUpdated() 178 void OnEndpointDeleted(const DnsSdInstanceEndpoint& old_endpoint) override { in OnEndpointDeleted() 191 EndpointKey GetKey(const DnsSdInstanceEndpoint& endpoint) const { in GetKey()
|
D | dns_sd_service_publisher.h | 78 const DnsSdInstanceEndpoint& claimed_endpoint) override { in OnEndpointClaimed()
|