/system/core/adb/ |
D | adb_client.c | 88 char service[64]; in switch_socket_transport() local 93 snprintf(service, sizeof service, "host:transport:%s", __adb_serial); in switch_socket_transport() 113 snprintf(service, sizeof service, "host:%s", transport_type); in switch_socket_transport() 115 len = strlen(service); in switch_socket_transport() 118 if(writex(fd, tmp, 4) || writex(fd, service, len)) { in switch_socket_transport() 170 int _adb_connect(const char *service) in _adb_connect() argument 176 D("_adb_connect: %s\n", service); in _adb_connect() 177 len = strlen(service); in _adb_connect() 190 if (memcmp(service,"host",4) != 0 && switch_socket_transport(fd)) { in _adb_connect() 194 if(writex(fd, tmp, 4) || writex(fd, service, len)) { in _adb_connect() [all …]
|
D | adb_client.h | 10 int adb_connect(const char *service); 11 int _adb_connect(const char *service); 16 int adb_command(const char *service); 22 char *adb_query(const char *service);
|
D | sockets.c | 598 char *skip_host_serial(char *service) { in skip_host_serial() argument 601 first_colon = strchr(service, ':'); in skip_host_serial() 624 char *service = NULL; in smart_socket_enqueue() local 670 service = (char *)p->data + 4; in smart_socket_enqueue() 671 if(!strncmp(service, "host-serial:", strlen("host-serial:"))) { in smart_socket_enqueue() 673 service += strlen("host-serial:"); in smart_socket_enqueue() 676 serial_end = skip_host_serial(service); in smart_socket_enqueue() 679 serial = service; in smart_socket_enqueue() 680 service = serial_end + 1; in smart_socket_enqueue() 682 } else if (!strncmp(service, "host-usb:", strlen("host-usb:"))) { in smart_socket_enqueue() [all …]
|
D | adb.c | 1083 int handle_host_request(char *service, transport_type ttype, char* serial, int reply_fd, asocket *s) in handle_host_request() argument 1088 if(!strcmp(service, "kill")) { in handle_host_request() 1101 if (!strncmp(service, "transport", strlen("transport"))) { in handle_host_request() 1105 if (!strncmp(service, "transport-usb", strlen("transport-usb"))) { in handle_host_request() 1107 } else if (!strncmp(service, "transport-local", strlen("transport-local"))) { in handle_host_request() 1109 } else if (!strncmp(service, "transport-any", strlen("transport-any"))) { in handle_host_request() 1111 } else if (!strncmp(service, "transport:", strlen("transport:"))) { in handle_host_request() 1112 service += strlen("transport:"); in handle_host_request() 1113 serial = service; in handle_host_request() 1128 if (!strcmp(service, "devices")) { in handle_host_request() [all …]
|
D | SERVICES.TXT | 175 This service is used to send snapshots of the framebuffer to a client. 178 After the OKAY, the service sends 16-byte binary structure 190 one byte through the channel, which will trigger the service 197 This service is an exception because it only runs within the ADB server. 206 This service is used to upload a recovery image to the device. <size> 207 must be a number corresponding to the size of the file. The service works 214 This service can only work when the device is in recovery mode. Otherwise, 228 This service is used by DDMS to know which debuggable processes are running 231 Note that there is no single-shot service to retrieve the list only once. 234 This starts the file synchronisation service, used to implement "adb push" [all …]
|
D | protocol.txt | 95 * "shell" - local shell service 96 * "upload" - service for pushing files across (like aproto's /sync) 196 service, the bridge program will create a stream socketpair and spawn 241 side to request access to a service in the host adb daemon or in the 242 remote (device) daemon. The service is requested by ascii name, 245 connected the client is talking to that (remote or local) service. 247 client: <hex4> <service-name> 250 client: <hex4> <service-name>
|
D | commandline.c | 1068 char* service = argv[0]; in adb_commandline() local 1069 if (!strncmp(service, "wait-for-device", strlen("wait-for-device"))) { in adb_commandline() 1071 service = "wait-for-usb"; in adb_commandline() 1073 service = "wait-for-local"; in adb_commandline() 1075 service = "wait-for-any"; in adb_commandline() 1079 format_host_command(buf, sizeof buf, service, ttype, serial); in adb_commandline()
|
D | OVERVIEW.TXT | 12 DDMS). These commands are what is called a 'service' in ADB. 52 then, the client sends its service requests to the ADB server. It doesn't 72 between the client and the service running in adbd. In this case
|
/system/core/init/ |
D | init.h | 80 struct service { struct 118 struct service *service_find_by_name(const char *name); argument 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 *svc); 128 void service_start(struct service *svc, const char *dynamic_args);
|
D | keychords.h | 20 struct service; 22 void add_service_keycodes(struct service *svc);
|
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. 79 Change to username before exec'ing this service. 86 Change to groupname before exec'ing this service. Additional 92 Do not restart the service when it exits. 95 Specify a class name for the service. All services in a 96 named class may be started or stopped together. A service 101 Execute a Command (see below) when service restarts. [all …]
|
D | init_parser.c | 258 struct service *service_find_by_name(const char *name) in service_find_by_name() 261 struct service *svc; in service_find_by_name() 263 svc = node_to_item(node, struct service, slist); in service_find_by_name() 271 struct service *service_find_by_pid(pid_t pid) in service_find_by_pid() 274 struct service *svc; in service_find_by_pid() 276 svc = node_to_item(node, struct service, slist); in service_find_by_pid() 284 struct service *service_find_by_keychord(int keychord_id) in service_find_by_keychord() 287 struct service *svc; in service_find_by_keychord() 289 svc = node_to_item(node, struct service, slist); in service_find_by_keychord() 297 void service_for_each(void (*func)(struct service *svc)) in service_for_each() [all …]
|
D | keychords.c | 35 void add_service_keycodes(struct service *svc) in add_service_keycodes() 97 struct service *svc; in handle_keychord()
|
D | parser.c | 13 struct service *svc; in DUMP() 22 svc = node_to_item(node, struct service, slist); in DUMP()
|
D | init.c | 146 void service_start(struct service *svc, const char *dynamic_args) in service_start() 304 static void service_stop_or_reset(struct service *svc, int how) in service_stop_or_reset() 333 void service_reset(struct service *svc) in service_reset() 338 void service_stop(struct service *svc) in service_stop() 349 static void restart_service_if_needed(struct service *svc) in restart_service_if_needed() 374 struct service *svc; in msg_start() 400 struct service *svc = service_find_by_name(name); in msg_stop()
|
D | builtins.c | 131 static void service_start_if_not_disabled(struct service *svc) in service_start_if_not_disabled() 482 struct service *svc; in do_start() 492 struct service *svc; in do_stop() 502 struct service *svc; in do_restart()
|
D | property_service.c | 96 const char *service; member 205 for (i = 0; control_perms[i].service; i++) { in check_control_perms() 206 if (strcmp(control_perms[i].service, name) == 0) { in check_control_perms()
|
D | signal_handler.c | 48 struct service *svc; in wait_for_one_process()
|
D | keywords.h | 66 KEYWORD(service, SECTION, 0, 0)
|
/system/netd/ |
D | DnsProxyListener.cpp | 122 char* service = argv[2]; in runCommand() local 123 if (strcmp("^", service) == 0) { in runCommand() 124 service = NULL; in runCommand() 126 service = strdup(service); in runCommand() 146 service ? service : "[nullservice]"); in runCommand() 151 new DnsProxyListener::GetAddrInfoHandler(cli, name, service, hints); in runCommand()
|
D | DnsProxyListener.h | 43 char* service, in GetAddrInfoHandler() argument 47 mService(service), in GetAddrInfoHandler()
|
/system/core/rootdir/ |
D | init.rc | 340 service ueventd /sbin/ueventd 344 service console /system/bin/sh 355 service adbd /sbin/adbd 367 # here when adbd sets the service.adb.root property to 1. We also restart adbd here 370 on property:service.adb.root=1 375 service servicemanager /system/bin/servicemanager 383 service vold /system/bin/vold 388 service netd /system/bin/netd 393 service debuggerd /system/bin/debuggerd 396 service ril-daemon /system/bin/rild [all …]
|
/system/media/wilhelm/src/android/ |
D | VideoCodec_to_android.cpp | 60 sp<IMediaPlayerService> service(IMediaDeathNotifier::getMediaPlayerService()); in android_videoCodec_expose() local 61 if (service == NULL) { in android_videoCodec_expose() 66 omx = service->getOMX(); in android_videoCodec_expose()
|
/system/core/rootdir/etc/ |
D | init.goldfish.rc | 50 service goldfish-setup /system/etc/init.goldfish.sh 61 service qemu-props /system/bin/qemu-props 67 service qemud /system/bin/qemud 77 service goldfish-logcat /system/bin/logcat -Q
|
/system/core/logcat/ |
D | event.logtags | 45 # This event is logged when the location service uploads location data. 133 # aggregation service
|