Home
last modified time | relevance | path

Searched refs:service_instance (Results 1 – 16 of 16) sorted by relevance

/external/openscreen/osp/impl/discovery/mdns/
Dmdns_demo.cc48 explicit Service(DomainName service_instance) in Service()
49 : service_instance(std::move(service_instance)) {} in Service()
52 DomainName service_instance; member
153 OSP_LOG_INFO << "PTR: (" << s.service_instance << ")" << std::endl in LogService()
165 auto it = g_services->find(ptr_event.service_instance); in HandleEvents()
170 ptr_event.service_instance); in HandleEvents()
172 ptr_event.service_instance); in HandleEvents()
174 g_services->emplace(ptr_event.service_instance, in HandleEvents()
175 Service(ptr_event.service_instance)); in HandleEvents()
182 OSP_LOG_WARN << "ptr-remove: " << ptr_event.service_instance; in HandleEvents()
[all …]
Dmdns_responder_adapter.h43 PtrEvent(QueryEventHeader header, DomainName service_instance);
49 DomainName service_instance; member
55 DomainName service_instance,
63 DomainName service_instance; member
71 DomainName service_instance,
78 DomainName service_instance; member
207 const DomainName& service_instance) = 0;
210 const DomainName& service_instance) = 0;
222 const DomainName& service_instance) = 0;
225 const DomainName& service_instance) = 0;
[all …]
Dmdns_responder_adapter.cc42 PtrEvent::PtrEvent(QueryEventHeader header, DomainName service_instance) in PtrEvent() argument
44 service_instance(std::move(service_instance)) {} in PtrEvent()
51 DomainName service_instance, in SrvEvent() argument
55 service_instance(std::move(service_instance)), in SrvEvent()
64 DomainName service_instance, in TxtEvent() argument
67 service_instance(std::move(service_instance)), in TxtEvent()
Dmdns_responder_adapter_impl.h55 const DomainName& service_instance) override;
58 const DomainName& service_instance) override;
67 const DomainName& service_instance) override;
70 const DomainName& service_instance) override;
77 const std::string& service_instance,
84 const std::string& service_instance,
88 const std::string& service_instance,
Dmdns_responder_adapter_impl.cc79 void MakeLocalServiceNameParts(const std::string& service_instance, in MakeLocalServiceNameParts() argument
87 MakeDomainLabelFromLiteralString(instance, service_instance.c_str()); in MakeLocalServiceNameParts()
462 const DomainName& service_instance) { in StartSrvQuery() argument
464 if (!service_instance.EndsWithLocalDomain()) in StartSrvQuery()
468 if (srv_questions.find(service_instance) != srv_questions.end()) in StartSrvQuery()
471 auto& question = srv_questions[service_instance]; in StartSrvQuery()
475 std::copy(service_instance.domain_name().begin(), in StartSrvQuery()
476 service_instance.domain_name().end(), question.qname.c); in StartSrvQuery()
500 const DomainName& service_instance) { in StartTxtQuery() argument
502 if (!service_instance.EndsWithLocalDomain()) in StartTxtQuery()
[all …]
Dmdns_responder_adapter_impl_unittest.cc66 ASSERT_THAT(ptr[0].service_instance.GetLabels(), in TEST()
68 mdns_adapter->StartSrvQuery(0, ptr[0].service_instance); in TEST()
69 mdns_adapter->StartTxtQuery(0, ptr[0].service_instance); in TEST()
/external/openscreen/osp/impl/testing/
Dfake_mdns_responder_adapter.cc20 PtrEvent MakePtrEvent(const std::string& service_instance, in MakePtrEvent() argument
24 const auto labels = std::vector<std::string>{service_instance, service_type, in MakePtrEvent()
34 SrvEvent MakeSrvEvent(const std::string& service_instance, in MakeSrvEvent() argument
41 service_instance, service_type, service_protocol, kLocalDomain}; in MakeSrvEvent()
56 TxtEvent MakeTxtEvent(const std::string& service_instance, in MakeTxtEvent() argument
61 const auto labels = std::vector<std::string>{service_instance, service_type, in MakeTxtEvent()
96 const std::string& service_instance, in AddEventsForNewService() argument
105 MakePtrEvent(service_instance, service_name, service_protocol, socket)); in AddEventsForNewService()
106 mdns_responder->AddSrvEvent(MakeSrvEvent(service_instance, service_name, in AddEventsForNewService()
110 service_instance, service_name, service_protocol, txt_lines, socket)); in AddEventsForNewService()
[all …]
Dfake_mdns_responder_adapter.h20 PtrEvent MakePtrEvent(const std::string& service_instance,
25 SrvEvent MakeSrvEvent(const std::string& service_instance,
32 TxtEvent MakeTxtEvent(const std::string& service_instance,
47 const std::string& service_instance,
65 std::string service_instance; member
134 const DomainName& service_instance) override;
137 const DomainName& service_instance) override;
147 const DomainName& service_instance) override;
150 const DomainName& service_instance) override;
157 const std::string& service_instance,
[all …]
Dfake_mdns_responder_adapter_unittest.cc116 auto labels = ptr_events[0].service_instance.GetLabels(); in TEST()
149 auto service_instance = event.service_instance; in TEST() local
156 auto result = mdns_responder.StartSrvQuery(kDefaultSocket, service_instance); in TEST()
161 EXPECT_EQ(service_instance, srv_events[0].service_instance); in TEST()
165 result = mdns_responder.StopSrvQuery(kDefaultSocket, service_instance); in TEST()
174 result = mdns_responder.StartSrvQuery(kDefaultSocket, service_instance); in TEST()
189 auto service_instance = event.service_instance; in TEST() local
195 auto result = mdns_responder.StartTxtQuery(kDefaultSocket, service_instance); in TEST()
200 EXPECT_EQ(service_instance, txt_events[0].service_instance); in TEST()
203 result = mdns_responder.StopTxtQuery(kDefaultSocket, service_instance); in TEST()
[all …]
/external/tensorflow/tensorflow/compiler/xla/client/
Dcompile_only_client.cc43 CompileOnlyService::AotXlaComputationInstance& service_instance = in CompileAheadOfTime() local
46 service_instance.computation = instance.computation->proto(); in CompileAheadOfTime()
47 service_instance.argument_layouts = instance.argument_layouts; in CompileAheadOfTime()
48 service_instance.result_layout = instance.result_layout; in CompileAheadOfTime()
/external/openscreen/discovery/dnssd/impl/
Dservice_dispatcher.cc24 for (auto& service_instance : *service_instances) { in ForAllQueriers()
25 auto* querier = service_instance->GetQuerier(); in ForAllQueriers()
37 for (auto& service_instance : *service_instances) { in ForAllPublishers()
38 auto* publisher = service_instance->GetPublisher(); in ForAllPublishers()
132 for (auto& service_instance : service_instances_) { in DeregisterAll() local
133 auto* publisher = service_instance->GetPublisher(); in DeregisterAll()
/external/openscreen/osp/impl/
Dmdns_responder_service.cc23 const DomainName& service_instance) { in ServiceIdFromServiceInstanceName() argument
26 reinterpret_cast<const char*>(service_instance.domain_name().data()), in ServiceIdFromServiceInstanceName()
27 service_instance.domain_name().size()); in ServiceIdFromServiceInstanceName()
428 const auto& instance_name = ptr_event.service_instance; in HandlePtrEvent()
430 auto entry = service_by_name_.find(ptr_event.service_instance); in HandlePtrEvent()
480 const auto& instance_name = srv_event.service_instance; in HandleSrvEvent()
482 auto entry = service_by_name_.find(srv_event.service_instance); in HandleSrvEvent()
543 const auto& instance_name = txt_event.service_instance; in HandleTxtEvent()
Dmdns_responder_service_unittest.cc429 EXPECT_EQ(kTestServiceInstance, services[0].service_instance); in TEST_F()
/external/openscreen/discovery/
DBUILD.gn81 "dnssd/impl/service_instance.cc",
82 "dnssd/impl/service_instance.h",
/external/mdnsresponder/mDNSShared/
Duds_daemon.c109 typedef struct service_instance struct
111 struct service_instance *next; argument
120 } service_instance; argument
185 service_instance *instances;
608 mDNSlocal void external_start_advertising_helper(service_instance *const instance) in external_start_advertising_helper()
642 mDNSlocal void external_stop_advertising_helper(service_instance *const instance) in external_stop_advertising_helper()
684 mDNSlocal void unlink_and_free_service_instance(service_instance *srv) in unlink_and_free_service_instance()
693 service_instance **p = &srv->request->u.servicereg.instances; in unlink_and_free_service_instance()
748 service_instance *instance = srs->ServiceContext; in SendServiceRemovalNotification()
760 service_instance *instance; in regservice_callback()
[all …]
/external/openscreen/
DAndroid.bp83 "discovery/dnssd/impl/service_instance.cc",