/external/autotest/client/cros/ |
D | upstart.py | 11 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') 28 def is_running(service_name): argument 34 return utils.system_output('status %s' % service_name).find('start/running') != -1 36 def restart_job(service_name): argument 44 if is_running(service_name): 45 utils.system_output('restart %s' % service_name) 47 utils.system_output('start %s' % service_name) [all …]
|
/external/libchrome/dbus/ |
D | bus.cc | 218 ObjectProxy* Bus::GetObjectProxy(const std::string& service_name, in GetObjectProxy() argument 220 return GetObjectProxyWithOptions(service_name, object_path, in GetObjectProxy() 224 ObjectProxy* Bus::GetObjectProxyWithOptions(const std::string& service_name, in GetObjectProxyWithOptions() argument 230 const ObjectProxyTable::key_type key(service_name + object_path.value(), in GetObjectProxyWithOptions() 238 new ObjectProxy(this, service_name, object_path, options); in GetObjectProxyWithOptions() 244 bool Bus::RemoveObjectProxy(const std::string& service_name, in RemoveObjectProxy() argument 247 return RemoveObjectProxyWithOptions(service_name, object_path, in RemoveObjectProxy() 252 bool Bus::RemoveObjectProxyWithOptions(const std::string& service_name, in RemoveObjectProxyWithOptions() argument 259 const ObjectProxyTable::key_type key(service_name + object_path.value(), in RemoveObjectProxyWithOptions() 330 ObjectManager* Bus::GetObjectManager(const std::string& service_name, in GetObjectManager() argument [all …]
|
D | bus.h | 261 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 …]
|
D | mock_bus.h | 23 MOCK_METHOD2(GetObjectProxy, ObjectProxy*(const std::string& service_name, 26 ObjectProxy*(const std::string& service_name, 30 const std::string& service_name, 34 const std::string& service_name, 46 const std::string& service_name, 49 MOCK_METHOD2(RequestOwnershipAndBlock, bool(const std::string& service_name, 51 MOCK_METHOD1(ReleaseOwnership, bool(const std::string& service_name));
|
D | mock_object_manager.cc | 10 const std::string& service_name, in MockObjectManager() argument 12 : ObjectManager(bus, service_name, object_path) { in MockObjectManager()
|
D | mock_object_proxy.cc | 10 const std::string& service_name, in MockObjectProxy() argument 12 : ObjectProxy(bus, service_name, object_path, DEFAULT_OPTIONS) { in MockObjectProxy()
|
/external/libbrillo/brillo/daemons/ |
D | dbus_daemon.cc | 32 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()
|
D | dbus_daemon.h | 60 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/ |
D | pairingrequestmessage.cc | 25 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
|
D | pairingrequestmessage.h | 32 explicit PairingRequestMessage(const std::string& service_name); 38 PairingRequestMessage(const std::string& service_name, 42 std::string service_name() const;
|
/external/curl/lib/ |
D | socks_sspi.c | 83 char *service_name = NULL; in Curl_SOCKS5_gssapi_negotiate() local 101 service_name = strdup(service); in Curl_SOCKS5_gssapi_negotiate() 102 if(!service_name) in Curl_SOCKS5_gssapi_negotiate() 106 service_name = malloc(service_length + in Curl_SOCKS5_gssapi_negotiate() 108 if(!service_name) in Curl_SOCKS5_gssapi_negotiate() 110 snprintf(service_name, service_length + in Curl_SOCKS5_gssapi_negotiate() 150 free(service_name); in Curl_SOCKS5_gssapi_negotiate() 160 sname = Curl_convert_UTF8_to_tchar(service_name); in Curl_SOCKS5_gssapi_negotiate() 189 free(service_name); in Curl_SOCKS5_gssapi_negotiate() 207 free(service_name); in Curl_SOCKS5_gssapi_negotiate() [all …]
|
/external/parameter-framework/asio-1.10.6/include/asio/ip/ |
D | basic_resolver_iterator.hpp | 72 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/autotest/client/common_lib/cros/tendo/ |
D | peerd_config.py | 26 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,
|
D | n_faced_peerd_helper.py | 77 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/ |
D | resolver_service.hpp | 60 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()
|
D | resolve_endpoint_op.hpp | 66 char service_name[NI_MAXSERV]; in do_complete() local 68 o->endpoint_.size(), host_name, NI_MAXHOST, service_name, NI_MAXSERV, in do_complete() 70 o->iter_ = iterator_type::create(o->endpoint_, host_name, service_name); in do_complete()
|
/external/autotest/client/site_tests/network_ProxyResolver/ |
D | network_ProxyResolver.py | 233 def set_proxy(self, service_name, proxy_config): argument 242 service = shill.find_object('Service', { 'Name' : service_name }) 244 raise error.TestFail('Service ' + service_name + 250 if self.service_settings.has_key(service_name) == False: 251 logging.info('Preexisting ProxyConfig: ' + service_name + 253 self.service_settings[service_name] = old_proxy 335 service_name, argument 349 self.set_proxy(service_name, '{"mode":"fixed_servers","server":"' +
|
/external/openssh/contrib/cygwin/ |
D | ssh-host-config | 64 service_name=sshd 387 if /usr/bin/cygrunsrv -Q ${service_name} >/dev/null 2>&1 443 if /usr/bin/cygrunsrv -I ${service_name} -d "CYGWIN ${service_name}" -p /usr/sbin/sshd \ 453 if /usr/bin/cygrunsrv -I ${service_name} -d "CYGWIN ${service_name}" -p /usr/sbin/sshd \ 460 csih_inform "account. To start the service now, call \`net start ${service_name}' or" 461 csih_inform "\`cygrunsrv -S ${service_name}'. Otherwise, it will start automatically" 466 if /usr/bin/cygrunsrv -Q ${service_name} >/dev/null 2>&1 541 service_name=$1
|
/external/libbrillo/brillo/glib/ |
D | dbus.cc | 213 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/autotest/client/site_tests/security_ASLR/ |
D | security_ASLR.py | 45 def __init__(self, name, service_name, parent): argument 47 self._service_name = service_name 97 def __init__(self, name, service_name, parent='init'): argument 98 super(UpstartProcess, self).__init__(name, service_name, parent) 111 def __init__(self, name, service_name, parent='systemd'): argument 112 super(SystemdProcess, self).__init__(name, service_name, parent)
|
/external/google-breakpad/src/client/mac/Framework/ |
D | OnDemandServer.mm | 53 const char *service_name, 61 service_name, 78 const char *service_name, 124 strlcpy(service_name_, service_name, sizeof(service_name_)); 128 // Create a service called service_name, and return send rights to 131 const_cast<char*>(service_name), 138 kr = bootstrap_look_up(bootstrap_port, (char*)service_name, &service_port_);
|
D | OnDemandServer.h | 92 const char *service_name, 114 const char *service_name,
|
/external/google-breakpad/src/common/mac/ |
D | bootstrap_compat.cc | 36 name_t service_name, in BootstrapRegister() argument 38 return bootstrap_register(bp, service_name, sp); in BootstrapRegister()
|
/external/google-tv-pairing-protocol/cpp/src/polo/pairing/ |
D | pairingsession.h | 131 void set_service_name(const std::string& service_name) { in set_service_name() argument 132 service_name_.assign(service_name); in set_service_name() 141 std::string service_name() const { return service_name_; } in service_name() function
|
/external/autotest/client/site_tests/cellular_ServiceName/ |
D | cellular_ServiceName.py | 96 service_name = cellular_service.GetProperties()['Name'] 97 if service_name != expected_name: 100 (expected_name, service_name))
|