/system/netd/ |
H A D | DnsProxyListener.h | 39 // Note: All of host, service, and hints may be NULL 42 char* service, 46 mService(service), 40 GetAddrInfoHandler(SocketClient *c, char* host, char* service, struct addrinfo* hints) argument
|
H A D | DnsProxyListener.cpp | 131 char* service = argv[2]; local 132 if (strcmp("^", service) == 0) { 133 service = NULL; 135 service = strdup(service); 155 service ? service : "[nullservice]"); 160 new DnsProxyListener::GetAddrInfoHandler(cli, name, service, hints);
|
/system/core/adb/ |
H A D | adb_client.c | 88 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 D | sockets.c | 627 char *skip_host_serial(char *service) { argument 632 if (!strncmp(service, prefixes[i].str, prefixes[i].len)) 633 return strchr(service + prefixes[i].len, ':'); 636 first_colon = strchr(service, ':'); 638 /* No colon in service string. */ 659 char *service = NULL; local 705 service = (char *)p->data + 4; 706 if(!strncmp(service, "host-serial:", strlen("host-serial:"))) { 708 service += strlen("host-serial:"); 711 serial_end = skip_host_serial(service); [all...] |
H A D | usb_osx.c | 286 AndroidInterfaceNotify(void *refCon, io_service_t service, natural_t messageType, void *messageArgument) argument
|
H A D | adb.c | 166 /* A handle to adb-debug qemud service in the emulator. */ 169 /* Initializes connection with the adb-debug qemud service in the emulator. */ 178 /* adb debugging QEMUD service connection request. */ 1073 // service.adb.root property has been set by the "adb root" command 1076 property_get("service.adb.root", value, ""); 1101 // No SIGCHLD. Let the service subproc handle its children. 1198 property_get("service.adb.tcp.port", value, ""); 1204 // listen on TCP port specified by service.adb.tcp.port property 1335 int handle_host_request(char *service, transport_type ttype, char* serial, int reply_fd, asocket *s) argument 1340 if(!strcmp(service, "kil [all...] |
H A D | commandline.c | 374 int adb_download_buffer(const char *service, const void* data, int sz, argument 382 sprintf(buf,"%s:%d", service, sz); 396 char *x = strrchr(service, ':'); 397 if(x) service = x + 1; 410 printf("sending: '%s' %4d%% \r", service, (int)(100LL - ((100LL * sz) / (total)))); 435 int adb_download(const char *service, const char *fn, unsigned progress) argument 442 fprintf(stderr,"* cannot read '%s' *\n", service); 446 int status = adb_download_buffer(service, data, sz, progress); 551 fprintf(stderr, "usage: adb %s <adb service name> [ppp opts]\n", 562 fprintf(stderr,"Error: Could not open adb service 1195 char* service = argv[0]; local [all...] |
/system/core/init/ |
H A D | init.h | 80 struct service { struct 107 /* keycodes for triggering this service via /dev/keychord */ 122 struct service *service_find_by_name(const char *name); 123 struct service *service_find_by_pid(pid_t pid); 124 struct service *service_find_by_keychord(int keychord_id); 125 void service_for_each(void (*func)(struct service *svc)); 127 void (*func)(struct service *svc)); 129 void (*func)(struct service *svc)); 130 void service_stop(struct service *svc); 131 void service_reset(struct service *sv [all...] |
H A D | property_service.c | 82 { "service.", AID_SYSTEM, 0 }, 90 { "service.adb.root", AID_SHELL, 0 }, 91 { "service.adb.tcp.port", AID_SHELL, 0 }, 93 { "persist.service.", AID_SYSTEM, 0 }, 95 { "persist.service.bdroid.", AID_BLUETOOTH, 0 }, 105 const char *service; member in struct:__anon373 238 * Create a name prefix out of ctl.<service name> 240 * property service backend labeling while avoiding 268 for (i = 0; control_perms[i].service; i++) { 269 if (strcmp(control_perms[i].service, nam [all...] |