/external/chromium_org/chrome/browser/local_discovery/ |
service_discovery_client_mac.h | 26 virtual scoped_ptr<ServiceWatcher> CreateServiceWatcher( 28 const ServiceWatcher::UpdatedCallback& callback) OVERRIDE; 40 class ServiceWatcherImplMac : public ServiceWatcher { 43 const ServiceWatcher::UpdatedCallback& callback); 45 void OnServicesUpdate(ServiceWatcher::UpdateType update, 57 ServiceWatcher::UpdatedCallback callback_;
|
service_discovery_device_lister.cc | 43 ServiceWatcher::UpdateType update, 45 if (update == ServiceWatcher::UPDATE_INVALIDATED) { 53 if (update != ServiceWatcher::UPDATE_REMOVED) { 54 bool added = (update == ServiceWatcher::UPDATE_ADDED); 94 ServiceWatcher::UPDATE_CHANGED,
|
service_discovery_host_client.h | 47 virtual scoped_ptr<ServiceWatcher> CreateServiceWatcher( 49 const ServiceWatcher::UpdatedCallback& callback) OVERRIDE; 71 typedef std::map<uint64, ServiceWatcher::UpdatedCallback> WatcherCallbacks; 90 const ServiceWatcher::UpdatedCallback& callback); 103 ServiceWatcher::UpdateType update, 116 ServiceWatcher::UpdateType update,
|
privet_device_lister_unittest.cc | 28 class MockServiceWatcher : public ServiceWatcher { 31 const ServiceWatcher::UpdatedCallback& callback, 56 ServiceWatcher::UpdatedCallback callback() { 63 ServiceWatcher::UpdatedCallback callback_; 114 virtual scoped_ptr<ServiceWatcher> CreateServiceWatcher( 116 const ServiceWatcher::UpdatedCallback& callback) OVERRIDE { 119 return mock_service_watcher.PassAs<ServiceWatcher>(); 220 service_watcher->callback().Run(ServiceWatcher::UPDATE_ADDED, 245 service_watcher->callback().Run(ServiceWatcher::UPDATE_REMOVED, 264 service_watcher->callback().Run(ServiceWatcher::UPDATE_CHANGED [all...] |
service_discovery_client_mdns.h | 26 virtual scoped_ptr<ServiceWatcher> CreateServiceWatcher( 28 const ServiceWatcher::UpdatedCallback& callback) OVERRIDE;
|
service_discovery_device_lister.h | 43 void OnServiceUpdated(ServiceWatcher::UpdateType update, 59 scoped_ptr<ServiceWatcher> service_watcher_;
|
test_service_discovery_client.h | 22 virtual scoped_ptr<ServiceWatcher> CreateServiceWatcher( 24 const ServiceWatcher::UpdatedCallback& callback) OVERRIDE;
|
test_service_discovery_client.cc | 30 scoped_ptr<ServiceWatcher> TestServiceDiscoveryClient::CreateServiceWatcher( 32 const ServiceWatcher::UpdatedCallback& callback) {
|
service_discovery_host_client.cc | 54 class ServiceDiscoveryHostClient::ServiceWatcherProxy : public ServiceWatcher { 58 const ServiceWatcher::UpdatedCallback& callback) 73 DVLOG(1) << "ServiceWatcher::Start with id " << id_; 80 DVLOG(1) << "ServiceWatcher::DiscoverNewServices with id " << id_; 181 scoped_ptr<ServiceWatcher> ServiceDiscoveryHostClient::CreateServiceWatcher( 183 const ServiceWatcher::UpdatedCallback& callback) { 185 return scoped_ptr<ServiceWatcher>( 208 const ServiceWatcher::UpdatedCallback& callback) { 371 i->second.Run(ServiceWatcher::UPDATE_INVALIDATED, ""); 384 ServiceWatcher::UpdateType update [all...] |
service_discovery_client_mdns.cc | 21 scoped_ptr<ServiceWatcher> ServiceDiscoveryClientMdns::CreateServiceWatcher( 23 const ServiceWatcher::UpdatedCallback& callback) {
|
/external/chromium_org/chrome/common/local_discovery/ |
service_discovery_client.h | 49 class ServiceWatcher { 62 virtual ~ServiceWatcher() {} 114 virtual scoped_ptr<ServiceWatcher> CreateServiceWatcher( 116 const ServiceWatcher::UpdatedCallback& callback) = 0;
|
local_discovery_messages.h | 41 IPC_ENUM_TRAITS(local_discovery::ServiceWatcher::UpdateType) 108 local_discovery::ServiceWatcher::UpdateType /* update */,
|
/external/chromium_org/chrome/tools/service_discovery_sniffer/ |
service_discovery_sniffer.h | 47 void OnServiceUpdated(ServiceWatcher::UpdateType, 54 scoped_ptr<ServiceWatcher> watcher_;
|
service_discovery_sniffer.cc | 82 void ServiceTypePrinter::OnServiceUpdated(ServiceWatcher::UpdateType update, 84 if (update == ServiceWatcher::UPDATE_ADDED) { 87 } else if (update == ServiceWatcher::UPDATE_CHANGED) { 89 } else if (update == ServiceWatcher::UPDATE_REMOVED) {
|
/frameworks/base/services/java/com/android/server/location/ |
FusedProxy.java | 19 import com.android.server.ServiceWatcher; 36 private final ServiceWatcher mServiceWatcher; 66 mServiceWatcher = new ServiceWatcher(
|
GeocoderProxy.java | 28 import com.android.server.ServiceWatcher; 40 private final ServiceWatcher mServiceWatcher; 59 mServiceWatcher = new ServiceWatcher(mContext, TAG, SERVICE_ACTION, overlaySwitchResId,
|
GeofenceProxy.java | 33 import com.android.server.ServiceWatcher; 44 private final ServiceWatcher mServiceWatcher; 86 mServiceWatcher = new ServiceWatcher(context, TAG, SERVICE_ACTION, overlaySwitchResId,
|
LocationProviderProxy.java | 35 import com.android.server.ServiceWatcher; 46 private final ServiceWatcher mServiceWatcher; 75 mServiceWatcher = new ServiceWatcher(mContext, TAG + "-" + name, action, overlaySwitchResId,
|
/external/chromium_org/chrome/utility/local_discovery/ |
service_discovery_client_unittest.cc | 175 void(ServiceWatcher::UpdateType, const std::string&)); 177 ServiceWatcher::UpdatedCallback GetCallback() { 217 scoped_ptr<ServiceWatcher> watcher( 223 EXPECT_CALL(delegate, OnServiceUpdated(ServiceWatcher::UPDATE_ADDED, 229 EXPECT_CALL(delegate, OnServiceUpdated(ServiceWatcher::UPDATE_REMOVED, 239 scoped_ptr<ServiceWatcher> watcher( 259 scoped_ptr<ServiceWatcher> watcher( 265 EXPECT_CALL(delegate, OnServiceUpdated(ServiceWatcher::UPDATE_ADDED, 277 scoped_ptr<ServiceWatcher> watcher = 283 EXPECT_CALL(delegate, OnServiceUpdated(ServiceWatcher::UPDATE_ADDED [all...] |
service_discovery_client_impl.h | 29 virtual scoped_ptr<ServiceWatcher> CreateServiceWatcher( 31 const ServiceWatcher::UpdatedCallback& callback) OVERRIDE; 48 class ServiceWatcherImpl : public ServiceWatcher, 53 const ServiceWatcher::UpdatedCallback& callback, 58 // ServiceWatcher implementation: 106 void DeferUpdate(ServiceWatcher::UpdateType update_type, 108 void DeliverDeferredUpdate(ServiceWatcher::UpdateType update_type, 121 ServiceWatcher::UpdatedCallback callback_;
|
service_discovery_message_handler.h | 47 typedef std::map<uint64, linked_ptr<ServiceWatcher> > ServiceWatchers; 83 // Is called by ServiceWatcher as callback. 85 ServiceWatcher::UpdateType update,
|
service_discovery_message_handler.cc | 143 std::string WatcherUpdateToString(ServiceWatcher::UpdateType update) { 145 case ServiceWatcher::UPDATE_ADDED: 147 case ServiceWatcher::UPDATE_CHANGED: 149 case ServiceWatcher::UPDATE_REMOVED: 151 case ServiceWatcher::UPDATE_INVALIDATED: 317 scoped_ptr<ServiceWatcher> watcher( 414 ServiceWatcher::UpdateType update,
|
service_discovery_client_impl.cc | 33 scoped_ptr<ServiceWatcher> ServiceDiscoveryClientImpl::CreateServiceWatcher( 35 const ServiceWatcher::UpdatedCallback& callback) { 36 return scoped_ptr<ServiceWatcher>(new ServiceWatcherImpl( 58 const ServiceWatcher::UpdatedCallback& callback, 199 void ServiceWatcherImpl::DeferUpdate(ServiceWatcher::UpdateType update_type, 213 ServiceWatcher::UpdateType update_type, const std::string& service_name) {
|
/frameworks/base/services/java/com/android/server/ |
ServiceWatcher.java | 48 public class ServiceWatcher implements ServiceConnection { 92 Log.w("ServiceWatcher", pkg + " not found"); 98 public ServiceWatcher(Context context, String logTag, String action,
|
LocationManagerService.java | 275 ArrayList<HashSet<Signature>> sigSets = ServiceWatcher.getSignatureSets(mContext, pkgs); 288 if (!ServiceWatcher.isSignatureMatch(pInfo.signatures, sigSets)) { 305 ServiceWatcher.EXTRA_SERVICE_VERSION, -1); [all...] |