Searched defs:service (Results 1 - 14 of 14) sorted by relevance

/system/security/keystore/
H A Dkeystore_get.cpp27 sp<IKeystoreService> service = interface_cast<IKeystoreService>(binder); local
29 if (service == NULL) {
34 int32_t ret = service->get(String16(key, keyLength), value, &valueLength);
H A Dkeystore_cli.cpp50 int32_t ret = service->cmd(); \
68 int32_t ret = service->cmd(String16(argv[2])); \
91 int32_t ret = service->cmd(String16(argv[2]), uid); \
112 int32_t ret = service->cmd(String16(argv[2]), data, dataSize); \
132 int32_t ret = service->cmd(String16(argv[2]), &data, &dataSize); \
148 static int saw(sp<IKeystoreService> service, const String16& name, int uid) { argument
150 int32_t ret = service->saw(name, uid, &matches);
175 sp<IKeystoreService> service = interface_cast<IKeystoreService>(binder); local
177 if (service == NULL) {
178 fprintf(stderr, "%s: error: could not connect to keystore service\
[all...]
/system/security/keystore-engine/
H A Ddsa_meth.cpp61 sp<IKeystoreService> service = interface_cast<IKeystoreService>(binder); local
63 if (service == NULL) {
72 int32_t ret = service->sign(String16(reinterpret_cast<const char*>(key_id)), dgst,
H A Decdsa_meth.cpp67 sp<IKeystoreService> service = interface_cast<IKeystoreService>(binder); local
69 if (service == NULL) {
78 int32_t ret = service->sign(String16(reinterpret_cast<const char*>(key_id)), dgst,
H A Drsa_meth.cpp84 sp<IKeystoreService> service = interface_cast<IKeystoreService>(binder); local
86 if (service == NULL) {
93 int32_t ret = service->sign(String16(reinterpret_cast<const char*>(key_id)), padded.get(),
128 sp<IKeystoreService> service = interface_cast<IKeystoreService>(binder); local
130 if (service == NULL) {
139 int32_t ret = service->sign(String16(reinterpret_cast<const char*>(key_id)), from,
H A Deng_keystore.cpp112 sp<IKeystoreService> service = interface_cast<IKeystoreService>(binder); local
114 if (service == NULL) {
121 int32_t ret = service->get_pubkey(String16(key_id), &pubkey, &pubkeyLen);
/system/core/adb/
H A Dadb_client.c94 char service[64]; local
99 snprintf(service, sizeof service, "host:transport:%s", __adb_serial);
119 snprintf(service, sizeof service, "host:%s", transport_type);
121 len = strlen(service);
124 if(writex(fd, tmp, 4) || writex(fd, service, len)) {
176 int _adb_connect(const char *service) argument
182 D("_adb_connect: %s\n", service);
183 len = strlen(service);
219 adb_connect(const char *service) argument
295 adb_command(const char *service) argument
311 adb_query(const char *service) argument
[all...]
H A Dsockets.c558 /* Create an asocket to exchange packets with a remote service through transport
559 |t|. Where |id| is the socket id of the corresponding service on the other
674 char *skip_host_serial(char *service) { argument
679 if (!strncmp(service, prefixes[i].str, prefixes[i].len))
680 return strchr(service + prefixes[i].len, ':');
683 first_colon = strchr(service, ':');
685 /* No colon in service string. */
706 char *service = NULL; local
752 service = (char *)p->data + 4;
753 if(!strncmp(service, "hos
[all...]
H A Dusb_osx.c286 AndroidInterfaceNotify(void *refCon, io_service_t service, natural_t messageType, void *messageArgument) argument
H A Dadb.c172 /* A handle to adb-debug qemud service in the emulator. */
175 /* Initializes connection with the adb-debug qemud service in the emulator. */
184 /* adb debugging QEMUD service connection request. */
1281 // service.adb.root property has been set by the "adb root" command
1284 property_get("service.adb.root", value, "");
1309 // No SIGCHLD. Let the service subproc handle its children.
1403 property_get("service.adb.tcp.port", value, "");
1409 // listen on TCP port specified by service.adb.tcp.port property
1444 int handle_forward_request(const char* service, transport_type ttype, char* serial, int reply_fd) argument
1446 if (!strcmp(service, "lis
1555 handle_host_request(char *service, transport_type ttype, char* serial, int reply_fd, asocket *s) argument
[all...]
H A Dcommandline.c449 int adb_download_buffer(const char *service, const char *fn, const void* data, int sz, argument
457 sprintf(buf,"%s:%d", service, sz);
471 char *x = strrchr(service, ':');
472 if(x) service = x + 1;
510 int adb_download(const char *service, const char *fn, unsigned progress) argument
521 int status = adb_download_buffer(service, fn, data, sz, progress);
741 fprintf(stderr, "usage: adb %s <adb service name> [ppp opts]\n",
752 fprintf(stderr,"Error: Could not open adb service: %s. Error: %s\n",
1467 char* service = argv[0]; local
1468 if (!strncmp(service, "wai
[all...]
/system/core/init/
H A Dinit.h80 #define SVC_RESTART 0x100 /* Use to safely restart (stop, wait, start) a service */
87 struct service { struct
112 /* keycodes for triggering this service via /dev/keychord */
127 struct service *service_find_by_name(const char *name);
128 struct service *service_find_by_pid(pid_t pid);
129 struct service *service_find_by_keychord(int keychord_id);
130 void service_for_each(void (*func)(struct service *svc));
132 void (*func)(struct service *svc));
134 void (*func)(struct service *svc));
135 void service_stop(struct service *sv
[all...]
/system/netd/server/
H A DDnsProxyListener.cpp53 char* service,
59 mService(service),
182 char* service = argv[2]; local
183 if (strcmp("^", service) == 0) {
184 service = NULL;
186 service = strdup(service);
218 service ? service : "[nullservice]",
224 new DnsProxyListener::GetAddrInfoHandler(cli, name, service, hint
51 GetAddrInfoHandler(SocketClient *c, char* host, char* service, struct addrinfo* hints, unsigned netId, uint32_t mark) argument
[all...]
/system/vold/
H A DVolume.cpp456 char service[64]; local
457 snprintf(service, 64, "fuse_%s", getLabel());
458 property_set("ctl.start", service);
548 char service[64]; local
549 snprintf(service, 64, "fuse_%s", getLabel());
550 property_set("ctl.stop", service);

Completed in 6087 milliseconds