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

/system/netd/
H A DDnsProxyListener.h40 // Note: All of host, service, and hints may be NULL
43 char* service,
47 mService(service),
41 GetAddrInfoHandler(SocketClient *c, char* host, char* service, struct addrinfo* hints) argument
H A DDnsProxyListener.cpp122 char* service = argv[2]; local
123 if (strcmp("^", service) == 0) {
124 service = NULL;
126 service = strdup(service);
146 service ? service : "[nullservice]");
151 new DnsProxyListener::GetAddrInfoHandler(cli, name, service, hints);
/system/core/adb/
H A Dadb_client.c88 char service[64]; local
93 snprintf(service, sizeof service, "host:transport:%s", __adb_serial);
113 snprintf(service, sizeof service, "host:%s", transport_type);
115 len = strlen(service);
118 if(writex(fd, tmp, 4) || writex(fd, service, len)) {
170 int _adb_connect(const char *service) argument
176 D("_adb_connect: %s\n", service);
177 len = strlen(service);
209 adb_connect(const char *service) argument
280 adb_command(const char *service) argument
295 adb_query(const char *service) argument
[all...]
H A Dsockets.c598 char *skip_host_serial(char *service) { argument
601 first_colon = strchr(service, ':');
603 /* No colon in service string. */
624 char *service = NULL; local
670 service = (char *)p->data + 4;
671 if(!strncmp(service, "host-serial:", strlen("host-serial:"))) {
673 service += strlen("host-serial:");
676 serial_end = skip_host_serial(service);
679 serial = service;
680 service
[all...]
H A Dusb_osx.c278 AndroidInterfaceNotify(void *refCon, io_service_t service, natural_t messageType, void *messageArgument) argument
H A Dadb.c850 // No SIGCHLD. Let the service subproc handle its children.
880 // service.adb.root property has been set by the "adb root" command
883 property_get("service.adb.root", value, "");
944 ** android usb device exists and the "service.adb.tcp.port" and
948 property_get("service.adb.tcp.port", value, "");
952 // listen on TCP port specified by service.adb.tcp.port property
1085 int handle_host_request(char *service, transport_type ttype, char* serial, int reply_fd, asocket *s) argument
1090 if(!strcmp(service, "kill")) {
1103 if (!strncmp(service, "transport", strlen("transport"))) {
1107 if (!strncmp(service, "transpor
[all...]
H A Dcommandline.c470 fprintf(stderr, "usage: adb %s <adb service name> [ppp opts]\n",
481 fprintf(stderr,"Error: Could not open adb service: %s. Error: %s\n",
1090 char* service = argv[0]; local
1091 if (!strncmp(service, "wait-for-device", strlen("wait-for-device"))) {
1093 service = "wait-for-usb";
1095 service = "wait-for-local";
1097 service = "wait-for-any";
1101 format_host_command(buf, sizeof buf, service, ttype, serial);
/system/core/init/
H A Dinit.h80 struct service { struct
103 /* keycodes for triggering this service via /dev/keychord */
118 struct service *service_find_by_name(const char *name);
119 struct service *service_find_by_pid(pid_t pid);
120 struct service *service_find_by_keychord(int keychord_id);
121 void service_for_each(void (*func)(struct service *svc));
123 void (*func)(struct service *svc));
125 void (*func)(struct service *svc));
126 void service_stop(struct service *svc);
127 void service_reset(struct service *sv
[all...]
H A Dproperty_service.c77 { "service.", AID_SYSTEM, 0 },
83 { "service.adb.root", AID_SHELL, 0 },
84 { "service.adb.tcp.port", AID_SHELL, 0 },
86 { "persist.service.", AID_SYSTEM, 0 },
96 const char *service; member in struct:__anon361
205 for (i = 0; control_perms[i].service; i++) {
206 if (strcmp(control_perms[i].service, name) == 0) {
398 ERROR("sys_prop: Unable to %s service ctl [%s] uid:%d gid:%d pid:%d\n",
521 * property service is started, so any properties stored there are

Completed in 927 milliseconds