Home
last modified time | relevance | path

Searched refs:service_name (Results 1 – 25 of 106) sorted by relevance

12345

/external/libchrome/dbus/
Dbus.cc216 ObjectProxy* Bus::GetObjectProxy(const std::string& service_name, in GetObjectProxy() argument
218 return GetObjectProxyWithOptions(service_name, object_path, in GetObjectProxy()
222 ObjectProxy* Bus::GetObjectProxyWithOptions(const std::string& service_name, in GetObjectProxyWithOptions() argument
228 const ObjectProxyTable::key_type key(service_name + object_path.value(), in GetObjectProxyWithOptions()
236 new ObjectProxy(this, service_name, object_path, options); in GetObjectProxyWithOptions()
242 bool Bus::RemoveObjectProxy(const std::string& service_name, in RemoveObjectProxy() argument
245 return RemoveObjectProxyWithOptions(service_name, object_path, in RemoveObjectProxy()
250 bool Bus::RemoveObjectProxyWithOptions(const std::string& service_name, in RemoveObjectProxyWithOptions() argument
257 const ObjectProxyTable::key_type key(service_name + object_path.value(), in RemoveObjectProxyWithOptions()
328 ObjectManager* Bus::GetObjectManager(const std::string& service_name, in GetObjectManager() argument
[all …]
Dbus.h261 virtual ObjectProxy* GetObjectProxy(const std::string& service_name,
267 const std::string& service_name,
295 virtual bool RemoveObjectProxy(const std::string& service_name,
302 const std::string& service_name,
343 virtual ObjectManager* GetObjectManager(const std::string& service_name,
359 virtual bool RemoveObjectManager(const std::string& service_name,
419 virtual void RequestOwnership(const std::string& service_name,
431 virtual bool RequestOwnershipAndBlock(const std::string& service_name,
438 virtual bool ReleaseOwnership(const std::string& service_name);
561 virtual std::string GetServiceOwnerAndBlock(const std::string& service_name,
[all …]
Dmock_bus.h23 MOCK_METHOD2(GetObjectProxy, ObjectProxy*(const std::string& service_name,
26 ObjectProxy*(const std::string& service_name,
37 const std::string& service_name,
40 MOCK_METHOD2(RequestOwnershipAndBlock, bool(const std::string& service_name,
42 MOCK_METHOD1(ReleaseOwnership, bool(const std::string& service_name));
/external/dbus/bus/
Dservices.c143 const DBusString *service_name) in bus_registry_lookup() argument
148 _dbus_string_get_const_data (service_name)); in bus_registry_lookup()
242 const DBusString *service_name, in bus_registry_ensure() argument
256 _dbus_string_get_const_data (service_name)); in bus_registry_ensure()
271 service_name, _dbus_string_get_const_data (service_name)); in bus_registry_ensure()
272 if (!_dbus_string_copy_data (service_name, &service->name)) in bus_registry_ensure()
279 service_name, _dbus_string_get_const_data (service_name), in bus_registry_ensure()
380 const DBusString *service_name, in bus_registry_acquire_service() argument
396 if (!_dbus_validate_bus_name (service_name, 0, in bus_registry_acquire_service()
397 _dbus_string_get_length (service_name))) in bus_registry_acquire_service()
[all …]
Dactivation.c93 char *service_name; member
190 dbus_free (pending_activation->service_name); in bus_pending_activation_unref()
1027 d->pending_activation->service_name, in restore_pending()
1032 … d->pending_activation->service_name, d->pending_activation); in restore_pending()
1083 const char *service_name, in bus_activation_service_created() argument
1094 …ending_activation = _dbus_hash_table_lookup_string (activation->pending_activations, service_name); in bus_activation_service_created()
1101 service_name); in bus_activation_service_created()
1272 pending_activation->service_name); in pending_activation_failed()
1385 pending_activation->service_name, in pending_activation_finished_cb()
1457 pending_activation->service_name); in pending_activation_timed_out()
[all …]
Ddriver.h36 const char *service_name,
40 const char *service_name,
43 dbus_bool_t bus_driver_send_service_owner_changed (const char *service_name,
Dservices.h40 const DBusString *service_name);
42 const DBusString *service_name,
55 const DBusString *service_name,
62 const DBusString *service_name,
Dselinux.h41 const DBusString *service_name);
43 const char *service_name,
54 const char *service_name,
/external/libbrillo/brillo/daemons/
Ddbus_daemon.cc32 DBusServiceDaemon::DBusServiceDaemon(const std::string& service_name) in DBusServiceDaemon() argument
33 : service_name_(service_name) { in DBusServiceDaemon()
37 const std::string& service_name, in DBusServiceDaemon() argument
39 : service_name_(service_name), object_manager_path_(object_manager_path) { in DBusServiceDaemon()
42 DBusServiceDaemon::DBusServiceDaemon(const std::string& service_name, in DBusServiceDaemon() argument
44 : DBusServiceDaemon(service_name, in DBusServiceDaemon()
Ddbus_daemon.h60 explicit DBusServiceDaemon(const std::string& service_name);
61 DBusServiceDaemon(const std::string& service_name,
63 DBusServiceDaemon(const std::string& service_name,
/external/google-tv-pairing-protocol/cpp/src/polo/pairing/message/
Dpairingrequestmessage.cc25 const std::string& service_name) in PairingRequestMessage() argument
27 service_name_(service_name), in PairingRequestMessage()
31 PairingRequestMessage::PairingRequestMessage(const std::string& service_name, in PairingRequestMessage() argument
34 service_name_(service_name), in PairingRequestMessage()
38 std::string PairingRequestMessage::service_name() const { in service_name() function in polo::pairing::message::PairingRequestMessage
Dpairingrequestmessage.h32 explicit PairingRequestMessage(const std::string& service_name);
38 PairingRequestMessage(const std::string& service_name,
42 std::string service_name() const;
/external/autotest/client/cros/
Dupstart.py11 def ensure_running(service_name): argument
16 cmd = 'initctl status %s | grep start/running' % service_name
20 def has_service(service_name): argument
25 return os.path.exists('/etc/init/' + service_name + '.conf')
/external/curl/lib/
Dsocks_sspi.c82 char *service_name = NULL; in Curl_SOCKS5_gssapi_negotiate() local
98 service_name = malloc(strlen(service)); in Curl_SOCKS5_gssapi_negotiate()
99 if(!service_name) in Curl_SOCKS5_gssapi_negotiate()
101 memcpy(service_name, service, strlen(service)); in Curl_SOCKS5_gssapi_negotiate()
104 service_name = malloc(strlen(service) + strlen(conn->proxy.name) + 2); in Curl_SOCKS5_gssapi_negotiate()
105 if(!service_name) in Curl_SOCKS5_gssapi_negotiate()
107 snprintf(service_name, strlen(service) +strlen(conn->proxy.name)+2, in Curl_SOCKS5_gssapi_negotiate()
146 free(service_name); in Curl_SOCKS5_gssapi_negotiate()
156 sname = Curl_convert_UTF8_to_tchar(service_name); in Curl_SOCKS5_gssapi_negotiate()
185 free(service_name); in Curl_SOCKS5_gssapi_negotiate()
[all …]
/external/parameter-framework/asio-1.10.6/include/asio/ip/
Dbasic_resolver_iterator.hpp72 const std::string& host_name, const std::string& service_name) in create() argument
96 actual_host_name, service_name)); in create()
107 const std::string& host_name, const std::string& service_name) in create() argument
113 endpoint, host_name, service_name)); in create()
121 const std::string& host_name, const std::string& service_name) in create() argument
131 *ep_iter, host_name, service_name)); in create()
/external/avahi/avahi-core/
Davahi-test.c46 static char *service_name = NULL; variable
119 avahi_log_debug("Service name conflict, retrying with <%s>", service_name); in entry_group_callback()
121 avahi_log_debug("Service established under name <%s>", service_name); in entry_group_callback()
161 if (!service_name) in create_entries()
162 service_name = avahi_strdup("Test Service"); in create_entries()
164 char *n = avahi_alternative_service_name(service_name); in create_entries()
165 avahi_free(service_name); in create_entries()
166 service_name = n; in create_entries()
169 …er_add_service(server, group, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, 0, service_name, "_http._tcp", … in create_entries()
174 …er_add_service(server, group, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, 0, service_name, "_ftp._tcp", N… in create_entries()
[all …]
/external/avahi/avahi-discover-standalone/
Dmain.c47 gchar *service_name; member
74 static struct Service *get_service(const gchar *service_type, const gchar *service_name, const gcha… in get_service() argument
86 avahi_domain_equal(s->service_name, service_name) && in get_service()
120 g_free(s->service_name); in free_service()
130 const char *service_name, in service_browser_callback() argument
144 s->service_name = g_strdup(service_name); in service_browser_callback()
159 gtk_tree_store_set(tree_store, &iter, 0, s->service_name, 1, iface, 2, s, -1); in service_browser_callback()
172 if ((s = get_service(service_type, service_name, domain_name, interface, protocol))) in service_browser_callback()
239 s->service_name, in update_label()
311 … = avahi_s_service_resolver_new(server, s->interface, s->protocol, s->service_name, s->service_typ… in tree_view_on_cursor_changed()
/external/autotest/client/common_lib/cros/tendo/
Dpeerd_config.py26 def confirm_peerd_up(service_name=SERVICE_NAME, timeout_seconds=10, host=None): argument
39 service_name, DBUS_INTERFACE_MANAGER, DBUS_PATH_MANAGER,
44 raise error.TestFail('Timed out before peerd at %s started.' % service_name)
81 confirm_peerd_up(service_name=SERVICE_NAME,
Dn_faced_peerd_helper.py77 service_name = get_nth_service_name(i)
78 peerd_config.confirm_peerd_up(service_name=service_name,
/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dresolver_service.hpp60 query.service_name().c_str(), query.hints(), &address_info, ec); in resolve()
64 address_info, query.host_name(), query.service_name()); in resolve()
90 char service_name[NI_MAXSERV]; in resolve() local
92 host_name, NI_MAXHOST, service_name, NI_MAXSERV, in resolve()
96 endpoint, host_name, service_name); in resolve()
/external/autotest/client/site_tests/network_ProxyResolver/
Dnetwork_ProxyResolver.py237 def set_proxy(self, service_name, proxy_config): argument
246 service = shill.find_object('Service', { 'Name' : service_name })
248 raise error.TestFail('Service ' + service_name +
254 if self.service_settings.has_key(service_name) == False:
255 logging.info('Preexisting ProxyConfig: ' + service_name +
257 self.service_settings[service_name] = old_proxy
343 service_name, argument
357 self.set_proxy(service_name, '{"mode":"fixed_servers","server":"' +
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/pyami/installers/ubuntu/
Dinstaller.py76 def stop(self, service_name): argument
77 self.run('/etc/init.d/%s stop' % service_name)
79 def start(self, service_name): argument
80 self.run('/etc/init.d/%s start' % service_name)
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/
Dregioninfo.py101 def get_regions(service_name, region_cls=None, connection_cls=None): argument
127 if service_name not in endpoints:
129 "Service '%s' not found in endpoints." % service_name
137 for region_name, endpoint in endpoints.get(service_name, {}).items():
/external/libbrillo/brillo/glib/
Ddbus.cc213 const char* service_name, in RegisterExclusiveService() argument
218 CHECK(service_name); in RegisterExclusiveService()
232 service_name, in RegisterExclusiveService()
249 LOG(ERROR) << "Service name exists: " << service_name; in RegisterExclusiveService()
260 service_name, in RegisterExclusiveService()
277 void CallMethodWithNoArguments(const char* service_name, in CallMethodWithNoArguments() argument
282 service_name, in CallMethodWithNoArguments()
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/scripts/
Drebuild_endpoints.py36 service_name = endp.find('ServiceName').text
39 data.setdefault(service_name, {})
40 data[service_name][region_name] = endpoint

12345