Home
last modified time | relevance | path

Searched refs:service (Results 1 – 25 of 100) sorted by relevance

1234

/system/bt/bta/sys/
Dutl.c194 UINT16 service; in utl_set_device_class() local
199 BTM_COD_SERVICE_CLASS( service, dev ); in utl_set_device_class()
212 p_cod->service &= BTM_COD_SERVICE_CLASS_MASK; in utl_set_device_class()
213 service = service | p_cod->service; in utl_set_device_class()
217 p_cod->service &= BTM_COD_SERVICE_CLASS_MASK; in utl_set_device_class()
218 service = service & (~p_cod->service); in utl_set_device_class()
224 p_cod->service &= BTM_COD_SERVICE_CLASS_MASK; in utl_set_device_class()
225 service = service | p_cod->service; in utl_set_device_class()
231 service = p_cod->service & BTM_COD_SERVICE_CLASS_MASK; in utl_set_device_class()
239 FIELDS_TO_COD(dev_class, minor, major, service); in utl_set_device_class()
/system/core/adb/
Dadb_client.cpp114 std::string service; in switch_socket_transport() local
116 service += "host:transport:"; in switch_socket_transport()
117 service += __adb_serial; in switch_socket_transport()
134 service += "host:"; in switch_socket_transport()
135 service += transport_type; in switch_socket_transport()
138 if (!SendProtocolString(fd, service)) { in switch_socket_transport()
175 int _adb_connect(const std::string& service, std::string* error) { in _adb_connect() argument
176 D("_adb_connect: %s\n", service.c_str()); in _adb_connect()
177 if (service.empty() || service.size() > 1024) { in _adb_connect()
179 static_cast<int>(service.size())); in _adb_connect()
[all …]
Dadb_client.h12 int adb_connect(const std::string& service, std::string* error);
13 int _adb_connect(const std::string& service, std::string* error);
18 int adb_command(const std::string& service, std::string* error);
22 bool adb_query(const std::string& service, std::string* result, std::string* error);
Dadb.cpp699 int handle_forward_request(const char* service, transport_type ttype, char* serial, int reply_fd) in handle_forward_request() argument
701 if (!strcmp(service, "list-forward")) { in handle_forward_request()
711 if (!strcmp(service, "killforward-all")) { in handle_forward_request()
721 if (!strncmp(service, "forward:",8) || in handle_forward_request()
722 !strncmp(service, "killforward:",12)) { in handle_forward_request()
726 int createForward = strncmp(service, "kill", 4); in handle_forward_request()
729 local = strchr(service, ':') + 1; in handle_forward_request()
799 int handle_host_request(char *service, transport_type ttype, char* serial, int reply_fd, asocket *s) in handle_host_request() argument
801 if(!strcmp(service, "kill")) { in handle_host_request()
815 if (!strncmp(service, "transport", strlen("transport"))) { in handle_host_request()
[all …]
Dsockets.cpp658 static char *skip_host_serial(char *service) { in skip_host_serial() argument
663 if (!strncmp(service, prefixes[i].str, prefixes[i].len)) in skip_host_serial()
664 return strchr(service + prefixes[i].len, ':'); in skip_host_serial()
667 first_colon = strchr(service, ':'); in skip_host_serial()
692 char *service = NULL; in smart_socket_enqueue() local
738 service = (char *)p->data + 4; in smart_socket_enqueue()
739 if(!strncmp(service, "host-serial:", strlen("host-serial:"))) { in smart_socket_enqueue()
741 service += strlen("host-serial:"); in smart_socket_enqueue()
744 serial_end = skip_host_serial(service); in smart_socket_enqueue()
747 serial = service; in smart_socket_enqueue()
[all …]
/system/core/init/
Dinit.h95 struct service { struct
145 struct service *service_find_by_name(const char *name); argument
146 struct service *service_find_by_pid(pid_t pid);
147 struct service *service_find_by_keychord(int keychord_id);
148 void service_for_each(void (*func)(struct service *svc));
150 void (*func)(struct service *svc));
152 void (*func)(struct service *svc));
153 void service_stop(struct service *svc);
154 void service_reset(struct service *svc);
155 void service_restart(struct service *svc);
[all …]
Dinit_parser.cpp82 service* svc = node_to_item(node, struct service, slist); in dump_parser_state()
470 struct service *service_find_by_name(const char *name) in service_find_by_name()
473 struct service *svc; in service_find_by_name()
475 svc = node_to_item(node, struct service, slist); in service_find_by_name()
483 struct service *service_find_by_pid(pid_t pid) in service_find_by_pid()
486 struct service *svc; in service_find_by_pid()
488 svc = node_to_item(node, struct service, slist); in service_find_by_pid()
496 struct service *service_find_by_keychord(int keychord_id) in service_find_by_keychord()
499 struct service *svc; in service_find_by_keychord()
501 svc = node_to_item(node, struct service, slist); in service_find_by_keychord()
[all …]
Dkeychords.h20 struct service;
22 void add_service_keycodes(service*);
Dreadme.txt51 service <name> <pathname> [ <argument> ]*
60 runs the service.
63 This is a device-critical service. If it exits more than four times in
67 This service will not automatically start with its class.
78 It defaults to the service security context, as specified by seclabel or
79 computed based on the service executable file security context.
82 Change to username before exec'ing this service.
89 Change to groupname before exec'ing this service. Additional
95 Change to 'seclabel' before exec'ing this service.
102 Do not restart the service when it exits.
[all …]
Dinit_parser.h23 struct service;
37 service* make_exec_oneshot_service(int argc, char** argv);
/system/core/logd/
Dlogpersist5 service=logcatd
9 echo "${progname%.*}.start - start ${service} service"
10 echo "${progname%.*}.stop [--clear] - stop ${service} service"
22 su 0 setprop ${property} ${service}
28 su 0 stop ${service}
/system/security/keystore/
Dkeystore_cli.cpp50 int32_t ret = service->cmd(); \
68 int32_t ret = service->cmd(String16(argv[2])); \
86 int32_t ret = service->cmd(atoi(argv[2])); \
109 int32_t ret = service->cmd(String16(argv[2]), uid); \
130 int32_t ret = service->cmd(String16(argv[2]), data, dataSize); \
150 int32_t ret = service->cmd(String16(argv[2]), &data, &dataSize); \
166 static int list(sp<IKeystoreService> service, const String16& name, int uid) { in list() argument
168 int32_t ret = service->list(name, uid, &matches); in list()
193 sp<IKeystoreService> service = interface_cast<IKeystoreService>(binder); in main() local
195 if (service == NULL) { in main()
[all …]
Dkeystore_get.cpp27 sp<IKeystoreService> service = interface_cast<IKeystoreService>(binder); in keystore_get() local
29 if (service == NULL) { in keystore_get()
34 int32_t ret = service->get(String16(key, keyLength), value, &valueLength); in keystore_get()
/system/security/keystore-engine/
Drsa_meth.cpp84 sp<IKeystoreService> service = interface_cast<IKeystoreService>(binder); in keystore_rsa_priv_enc() local
86 if (service == NULL) { in keystore_rsa_priv_enc()
93 int32_t ret = service->sign(String16(reinterpret_cast<const char*>(key_id)), padded.get(), in keystore_rsa_priv_enc()
128 sp<IKeystoreService> service = interface_cast<IKeystoreService>(binder); in keystore_rsa_priv_dec() local
130 if (service == NULL) { in keystore_rsa_priv_dec()
139 int32_t ret = service->sign(String16(reinterpret_cast<const char*>(key_id)), from, in keystore_rsa_priv_dec()
Dandroid_engine.cpp150 sp<IKeystoreService> service = interface_cast<IKeystoreService>(binder); in rsa_private_transform() local
152 if (service == NULL) { in rsa_private_transform()
159 int32_t ret = service->sign(String16(key_id), in, len, &reply, &reply_len); in rsa_private_transform()
246 sp<IKeystoreService> service = interface_cast<IKeystoreService>(binder); in ecdsa_sign() local
248 if (service == NULL) { in ecdsa_sign()
257 int32_t ret = service->sign(String16(reinterpret_cast<const char*>(key_id)), in ecdsa_sign()
405 sp<IKeystoreService> service = interface_cast<IKeystoreService>(binder); in EVP_PKEY_from_keystore() local
407 if (service == NULL) { in EVP_PKEY_from_keystore()
414 int32_t ret = service->get_pubkey(String16(key_id), &pubkey, &pubkey_len); in EVP_PKEY_from_keystore()
Ddsa_meth.cpp61 sp<IKeystoreService> service = interface_cast<IKeystoreService>(binder); in keystore_dsa_do_sign() local
63 if (service == NULL) { in keystore_dsa_do_sign()
72 int32_t ret = service->sign(String16(reinterpret_cast<const char*>(key_id)), dgst, in keystore_dsa_do_sign()
Decdsa_meth.cpp67 sp<IKeystoreService> service = interface_cast<IKeystoreService>(binder); in keystore_ecdsa_do_sign() local
69 if (service == NULL) { in keystore_ecdsa_do_sign()
78 int32_t ret = service->sign(String16(reinterpret_cast<const char*>(key_id)), dgst, in keystore_ecdsa_do_sign()
/system/bt/btif/src/
Dbtif_sock_sdp.c235 uint16_t service = UUID_SERVCLASS_PBAP_PSE; in add_pbap_sdp() local
237 if (!SDP_AddServiceClassIdList(handle, 1, &service)) in add_pbap_sdp()
285 uint16_t service = UUID_SERVCLASS_OBEX_OBJECT_PUSH; in add_ops_sdp() local
286 if (!SDP_AddServiceClassIdList(handle, 1, &service)) in add_ops_sdp()
316 cod.service = BTM_COD_SERVICE_OBJ_TRANSFER; in add_ops_sdp()
352 uint16_t service = UUID_SERVCLASS_SERIAL_PORT; in add_spp_sdp() local
354 if (!SDP_AddServiceClassIdList(handle, 1, &service)) in add_spp_sdp()
Dbtif_sdp_server.c377 UINT16 service = UUID_SERVCLASS_MESSAGE_ACCESS; in add_maps_sdp() local
398 status &= SDP_AddServiceClassIdList(sdp_handle, 1, &service); in add_maps_sdp()
455 bta_sys_add_uuid(service); /* UUID_SERVCLASS_MESSAGE_ACCESS */ in add_maps_sdp()
466 UINT16 service = UUID_SERVCLASS_MESSAGE_NOTIFICATION; in add_mapc_sdp() local
485 status &= SDP_AddServiceClassIdList(sdp_handle, 1, &service); in add_mapc_sdp()
534 bta_sys_add_uuid(service); /* UUID_SERVCLASS_MESSAGE_ACCESS */ in add_mapc_sdp()
545 UINT16 service = UUID_SERVCLASS_PBAP_PSE; in add_pbaps_sdp() local
565 status &= SDP_AddServiceClassIdList(sdp_handle, 1, &service); in add_pbaps_sdp()
618 bta_sys_add_uuid(service); /* UUID_SERVCLASS_MESSAGE_ACCESS */ in add_pbaps_sdp()
630 UINT16 service = UUID_SERVCLASS_OBEX_OBJECT_PUSH; in add_opps_sdp() local
[all …]
/system/bt/bta/ag/
Dbta_ag_sdp.c307 BOOLEAN bta_ag_sdp_find_attr(tBTA_AG_SCB *p_scb, tBTA_SERVICE_MASK service) in bta_ag_sdp_find_attr() argument
315 if (service & BTA_HFP_SERVICE_MASK) in bta_ag_sdp_find_attr()
320 else if (service & BTA_HSP_SERVICE_MASK && p_scb->role == BTA_AG_INT) in bta_ag_sdp_find_attr()
366 if (service & BTA_HFP_SERVICE_MASK) in bta_ag_sdp_find_attr()
407 void bta_ag_do_disc(tBTA_AG_SCB *p_scb, tBTA_SERVICE_MASK service) in bta_ag_do_disc() argument
416 if (service & BTA_HFP_SERVICE_MASK && p_scb->role == BTA_AG_INT) in bta_ag_do_disc()
426 else if (service & BTA_HFP_SERVICE_MASK && p_scb->role == BTA_AG_ACP) in bta_ag_do_disc()
435 else if (service & BTA_HSP_SERVICE_MASK && p_scb->role == BTA_AG_INT) in bta_ag_do_disc()
/system/netd/server/
DDnsProxyListener.cpp52 SocketClient *c, char* host, char* service, struct addrinfo* hints, in GetAddrInfoHandler() argument
56 mService(service), in GetAddrInfoHandler()
216 char* service = argv[2]; in runCommand() local
217 if (strcmp("^", service) == 0) { in runCommand()
218 service = NULL; in runCommand()
220 service = strdup(service); in runCommand()
253 service ? service : "[nullservice]", in runCommand()
261 new DnsProxyListener::GetAddrInfoHandler(cli, name, service, hints, netcontext); in runCommand()
/system/core/rootdir/
Dinit.zygote32_64.rc1 service zygote /system/bin/app_process32 -Xzygote /system/bin --zygote --start-system-server --sock…
9 service zygote_secondary /system/bin/app_process64 -Xzygote /system/bin --zygote --socket-name=zygo…
Dinit.zygote64_32.rc1 service zygote /system/bin/app_process64 -Xzygote /system/bin --zygote --start-system-server --sock…
9 service zygote_secondary /system/bin/app_process32 -Xzygote /system/bin --zygote --socket-name=zygo…
Dinit.rc517 service ueventd /sbin/ueventd
522 service logd /system/bin/logd
529 service logd-reinit /system/bin/logd --reinit
533 service healthd /sbin/healthd
539 service console /system/bin/sh
551 service adbd /sbin/adbd --root_seclabel=u:r:su:s0
561 service lmkd /system/bin/lmkd
566 service servicemanager /system/bin/servicemanager
577 service vold /system/bin/vold \
585 service netd /system/bin/netd
[all …]
/system/bt/doc/
Dproperties.md15 * ``` persist.service.bdroid.bdaddr ```
19 * ``` service.brcm.bt.oob ```

1234