/external/chromium_org/chrome/browser/extensions/api/mdns/ |
dns_sd_registry_unittest.cc | 27 MockDnsSdDeviceLister* GetListerForService(const std::string& service_type) { 28 return listers_[service_type]; 31 int GetServiceListenerCount(const std::string& service_type) { 32 if (service_data_map_.find(service_type) == service_data_map_.end()) 35 return service_data_map_[service_type].get()->GetListenerCount(); 45 const std::string& service_type, 50 listers_[service_type] = lister; 84 const std::string service_type = "_testing._tcp.local"; local 86 EXPECT_CALL(observer_, OnDnsSdEvent(service_type, 89 registry_->RegisterDnsSdListener(service_type); 100 const std::string service_type = "_testing._tcp.local"; local 131 const std::string service_type = "_testing._tcp.local"; local 154 const std::string service_type = "_testing._tcp.local"; local 179 const std::string service_type = "_testing._tcp.local"; local 207 const std::string service_type = "_testing._tcp.local"; local [all...] |
dns_sd_registry.cc | 117 const std::string& service_type, 119 return new DnsSdDeviceLister(discovery_client, delegate, service_type); 122 void DnsSdRegistry::RegisterDnsSdListener(std::string service_type) { 123 if (service_type.empty()) 126 if (IsRegistered(service_type)) { 127 service_data_map_[service_type]->ListenerAdded(); 128 DispatchApiEvent(service_type); 133 this, service_type, service_discovery_client_)); 137 service_data_map_[service_type] = service_type_data; 138 DispatchApiEvent(service_type); [all...] |
dns_sd_device_lister.cc | 35 const std::string& service_type) 37 device_lister_(this, service_discovery_client, service_type), 49 << device_lister_.service_type(); 53 << device_lister_.service_type(); 61 delegate_->ServiceChanged(device_lister_.service_type(), added, service); 65 delegate_->ServiceRemoved(device_lister_.service_type(), service_name); 69 delegate_->ServicesFlushed(device_lister_.service_type());
|
mdns_apitest.cc | 28 MOCK_METHOD1(RegisterDnsSdListener, void(std::string service_type)); 29 MOCK_METHOD1(UnregisterDnsSdListener, void(std::string service_type)); 31 void DispatchMDnsEvent(const std::string& service_type, 33 api_->OnDnsSdEvent(service_type, services); 73 const std::string& service_type = "_googlecast._tcp.local"; local 76 EXPECT_CALL(*dns_sd_registry_, RegisterDnsSdListener(service_type)) 78 EXPECT_CALL(*dns_sd_registry_, UnregisterDnsSdListener(service_type)) 92 service.service_name = service_type; 95 dns_sd_registry_->DispatchMDnsEvent(service_type, services); 97 dns_sd_registry_->DispatchMDnsEvent(service_type, services) 110 const std::string& service_type = "_googlecast._tcp.local"; local [all...] |
dns_sd_registry.h | 35 virtual void OnDnsSdEvent(const std::string& service_type, 51 virtual void RegisterDnsSdListener(std::string service_type); 52 virtual void UnregisterDnsSdListener(std::string service_type); 88 const std::string& service_type, 92 virtual void ServiceChanged(const std::string& service_type, 95 virtual void ServiceRemoved(const std::string& service_type, 97 virtual void ServicesFlushed(const std::string& service_type) OVERRIDE; 102 void DispatchApiEvent(const std::string& service_type); 103 bool IsRegistered(const std::string& service_type);
|
dns_sd_delegate.h | 38 virtual void ServiceChanged(const std::string& service_type, 41 virtual void ServiceRemoved(const std::string& service_type, 43 virtual void ServicesFlushed(const std::string& service_type) = 0;
|
mdns_api.cc | 25 bool IsServiceTypeWhitelisted(const std::string& service_type) { 26 return service_type == kCastServiceType || 27 service_type == kPrivetServiceType || 28 service_type == kTestServiceType; 127 void MDnsAPI::OnDnsSdEvent(const std::string& service_type, 147 event->filter_info.SetServiceType(service_type);
|
dns_sd_device_lister.h | 27 const std::string& service_type);
|
/external/chromium_org/cloud_print/gcp20/prototype/ |
service_parameters.cc | 13 ServiceParameters::ServiceParameters(const std::string& service_type, 19 : service_type_(service_type), 21 service_name_(service_name_prefix + "." + service_type),
|
service_parameters.h | 18 ServiceParameters(const std::string& service_type,
|
/external/chromium_org/extensions/common/ |
event_filtering_info.h | 31 void SetServiceType(const std::string& service_type) { 32 service_type_ = service_type; 42 const std::string& service_type() const { return service_type_; } function in class:extensions::EventFilteringInfo
|
/external/chromium_org/chrome/browser/local_discovery/ |
service_discovery_device_lister.h | 31 const std::string& service_type); 37 std::string service_type() { return service_type_; } function in class:local_discovery::ServiceDiscoveryDeviceLister
|
test_service_discovery_client.cc | 31 const std::string& service_type, 33 return service_discovery_client_impl_->CreateServiceWatcher(service_type,
|
privet_device_lister_unittest.cc | 22 virtual void ServiceWatcherStarted(const std::string& service_type, 24 virtual void ServiceResolverStarted(const std::string& service_type, 30 MockServiceWatcher(const std::string& service_type, 33 : started_(false), service_type_(service_type), callback_(callback), 113 // on service type |service_type|. 115 const std::string& service_type, 118 new MockServiceWatcher(service_type, callback, mock_delegate_)); 147 MOCK_METHOD2(ServiceWatcherStarted, void(const std::string& service_type, 149 MOCK_METHOD2(ServiceResolverStarted, void(const std::string& service_type,
|
service_discovery_client_mac.h | 27 const std::string& service_type, 42 ServiceWatcherImplMac(const std::string& service_type,
|
service_discovery_client_mdns.cc | 22 const std::string& service_type, 25 return host_client_->CreateServiceWatcher(service_type, callback);
|
service_discovery_device_lister.cc | 24 const std::string& service_type) 27 service_type_(service_type),
|
service_discovery_client_mdns.h | 27 const std::string& service_type,
|
test_service_discovery_client.h | 23 const std::string& service_type,
|
/development/samples/training/NsdChat/src/com/example/android/nsdchat/ |
NsdHelper.java | 33 public static final String SERVICE_TYPE = "_http._tcp."; 65 if (!service.getServiceType().equals(SERVICE_TYPE)) { 149 serviceInfo.setServiceType(SERVICE_TYPE); 158 SERVICE_TYPE, NsdManager.PROTOCOL_DNS_SD, mDiscoveryListener);
|
/external/chromium_org/chrome/common/local_discovery/ |
service_discovery_client.cc | 22 std::string ServiceDescription::service_type() const { function in class:local_discovery::ServiceDescription
|
service_discovery_client.h | 30 // name follows the format <instance_name>.<service_type>. 32 std::string service_type() const; 113 // on service type |service_type|. 115 const std::string& service_type,
|
/external/chromium_org/chrome/utility/local_discovery/ |
service_discovery_message_handler.h | 61 void OnStartWatcher(uint64 id, const std::string& service_type); 71 void StartWatcher(uint64 id, const std::string& service_type);
|
/external/chromium_org/chrome/common/extensions/api/ |
mdns.idl | 13 // <instance_name>.<service_type>.
|
/external/chromium_org/chrome/tools/service_discovery_sniffer/ |
service_discovery_sniffer.h | 43 const std::string& service_type);
|