/system/bt/bta/sys/ |
D | utl.c | 194 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/ |
D | adb_client.cpp | 114 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 …]
|
D | adb_client.h | 12 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);
|
D | adb.cpp | 699 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 …]
|
D | sockets.cpp | 646 static char *skip_host_serial(char *service) { in skip_host_serial() argument 651 if (!strncmp(service, prefixes[i].str, prefixes[i].len)) in skip_host_serial() 652 return strchr(service + prefixes[i].len, ':'); in skip_host_serial() 655 first_colon = strchr(service, ':'); in skip_host_serial() 680 char *service = NULL; in smart_socket_enqueue() local 726 service = (char *)p->data + 4; in smart_socket_enqueue() 727 if(!strncmp(service, "host-serial:", strlen("host-serial:"))) { in smart_socket_enqueue() 729 service += strlen("host-serial:"); in smart_socket_enqueue() 732 serial_end = skip_host_serial(service); in smart_socket_enqueue() 735 serial = service; in smart_socket_enqueue() [all …]
|
/system/core/init/ |
D | init.h | 95 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 …]
|
D | init_parser.cpp | 82 service* svc = node_to_item(node, struct service, slist); in dump_parser_state() 471 struct service *service_find_by_name(const char *name) in service_find_by_name() 474 struct service *svc; in service_find_by_name() 476 svc = node_to_item(node, struct service, slist); in service_find_by_name() 484 struct service *service_find_by_pid(pid_t pid) in service_find_by_pid() 487 struct service *svc; in service_find_by_pid() 489 svc = node_to_item(node, struct service, slist); in service_find_by_pid() 497 struct service *service_find_by_keychord(int keychord_id) in service_find_by_keychord() 500 struct service *svc; in service_find_by_keychord() 502 svc = node_to_item(node, struct service, slist); in service_find_by_keychord() [all …]
|
D | keychords.h | 20 struct service; 22 void add_service_keycodes(service*);
|
D | readme.txt | 51 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 …]
|
D | init_parser.h | 23 struct service; 37 service* make_exec_oneshot_service(int argc, char** argv);
|
/system/core/logd/ |
D | logpersist | 5 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/ |
D | keystore_cli.cpp | 50 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 …]
|
D | keystore_get.cpp | 27 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/ |
D | rsa_meth.cpp | 84 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()
|
D | android_engine.cpp | 150 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()
|
D | dsa_meth.cpp | 61 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()
|
D | ecdsa_meth.cpp | 67 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/ |
D | btif_sock_sdp.c | 235 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()
|
D | btif_sdp_server.c | 377 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/ |
D | bta_ag_sdp.c | 307 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/ |
D | DnsProxyListener.cpp | 52 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/ |
D | init.zygote64_32.rc | 1 service zygote /system/bin/app_process64 -Xzygote /system/bin --zygote --start-system-server --sock… 10 service zygote_secondary /system/bin/app_process32 -Xzygote /system/bin --zygote --socket-name=zygo…
|
D | init.zygote32_64.rc | 1 service zygote /system/bin/app_process32 -Xzygote /system/bin --zygote --start-system-server --sock… 10 service zygote_secondary /system/bin/app_process64 -Xzygote /system/bin --zygote --socket-name=zygo…
|
/system/bt/doc/ |
D | properties.md | 15 * ``` persist.service.bdroid.bdaddr ``` 19 * ``` service.brcm.bt.oob ```
|
/system/bt/btif/co/ |
D | bta_ag_co.c | 118 void bta_ag_co_data_open(UINT16 handle, tBTA_SERVICE_ID service) in bta_ag_co_data_open() argument 120 BTIF_TRACE_DEBUG("bta_ag_co_data_open handle:%d service:%d", handle, service); in bta_ag_co_data_open()
|