/system/core/adb/ |
D | adb_client.c | 81 char service[64]; in switch_socket_transport() local 86 snprintf(service, sizeof service, "host:transport:%s", __adb_serial); in switch_socket_transport() 106 snprintf(service, sizeof service, "host:%s", transport_type); in switch_socket_transport() 108 len = strlen(service); in switch_socket_transport() 111 if(writex(fd, tmp, 4) || writex(fd, service, len)) { in switch_socket_transport() 163 int _adb_connect(const char *service) in _adb_connect() argument 169 D("_adb_connect: %s\n", service); in _adb_connect() 170 len = strlen(service); in _adb_connect() 183 if (memcmp(service,"host",4) != 0 && switch_socket_transport(fd)) { in _adb_connect() 187 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 | 573 char *service = NULL; in smart_socket_enqueue() local 619 service = (char *)p->data + 4; in smart_socket_enqueue() 620 if(!strncmp(service, "host-serial:", strlen("host-serial:"))) { in smart_socket_enqueue() 622 service += strlen("host-serial:"); in smart_socket_enqueue() 625 serial_end = strchr(service, ':'); in smart_socket_enqueue() 628 serial = service; in smart_socket_enqueue() 629 service = serial_end + 1; in smart_socket_enqueue() 631 } else if (!strncmp(service, "host-usb:", strlen("host-usb:"))) { in smart_socket_enqueue() 633 service += strlen("host-usb:"); in smart_socket_enqueue() 634 } else if (!strncmp(service, "host-local:", strlen("host-local:"))) { in smart_socket_enqueue() [all …]
|
D | adb.c | 952 int handle_host_request(char *service, transport_type ttype, char* serial, int reply_fd, asocket *s) in handle_host_request() argument 957 if(!strcmp(service, "kill")) { in handle_host_request() 970 if (!strncmp(service, "transport", strlen("transport"))) { in handle_host_request() 974 if (!strncmp(service, "transport-usb", strlen("transport-usb"))) { in handle_host_request() 976 } else if (!strncmp(service, "transport-local", strlen("transport-local"))) { in handle_host_request() 978 } else if (!strncmp(service, "transport-any", strlen("transport-any"))) { in handle_host_request() 980 } else if (!strncmp(service, "transport:", strlen("transport:"))) { in handle_host_request() 981 service += strlen("transport:"); in handle_host_request() 982 serial = strdup(service); in handle_host_request() 997 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 | 957 char* service = argv[0]; in adb_commandline() local 958 if (!strncmp(service, "wait-for-device", strlen("wait-for-device"))) { in adb_commandline() 960 service = "wait-for-usb"; in adb_commandline() 962 service = "wait-for-local"; in adb_commandline() 964 service = "wait-for-any"; in adb_commandline() 968 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
|
D | adb.h | 394 int handle_host_request(char *service, transport_type ttype, char* serial, int reply_fd, asocket *s…
|
D | usb_osx.c | 254 AndroidInterfaceNotify(void *refCon, io_service_t service, natural_t messageType, void *messageArgu… in AndroidInterfaceNotify() argument
|
/system/core/init/ |
D | init.h | 121 struct service { struct 156 struct service *service_find_by_name(const char *name); argument 157 struct service *service_find_by_pid(pid_t pid); 158 struct service *service_find_by_keychord(int keychord_id); 159 void service_for_each(void (*func)(struct service *svc)); 161 void (*func)(struct service *svc)); 163 void (*func)(struct service *svc)); 164 void service_stop(struct service *svc); 165 void service_start(struct service *svc, const char *dynamic_args);
|
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 | parser.c | 25 struct service *svc; in DUMP() 34 svc = node_to_item(node, struct service, slist); in DUMP() 418 struct service *service_find_by_name(const char *name) in service_find_by_name() 421 struct service *svc; in service_find_by_name() 423 svc = node_to_item(node, struct service, slist); in service_find_by_name() 431 struct service *service_find_by_pid(pid_t pid) in service_find_by_pid() 434 struct service *svc; in service_find_by_pid() 436 svc = node_to_item(node, struct service, slist); in service_find_by_pid() 444 struct service *service_find_by_keychord(int keychord_id) in service_find_by_keychord() 447 struct service *svc; in service_find_by_keychord() [all …]
|
D | builtins.c | 126 static void service_start_if_not_disabled(struct service *svc) in service_start_if_not_disabled() 316 struct service *svc; in do_start() 326 struct service *svc; in do_stop() 336 struct service *svc; in do_restart()
|
D | init.c | 159 void service_start(struct service *svc, const char *dynamic_args) in service_start() 294 void service_stop(struct service *svc) in service_stop() 330 struct service *svc; in wait_for_one_process() 402 static void restart_service_if_needed(struct service *svc) in restart_service_if_needed() 434 struct service *svc; in msg_start() 460 struct service *svc = service_find_by_name(name); in msg_stop() 706 void add_service_keycodes(struct service *svc) in add_service_keycodes() 768 struct service *svc; in handle_keychord()
|
D | property_service.c | 85 const char *service; member 190 for (i = 0; control_perms[i].service; i++) { in check_control_perms() 191 if (strcmp(control_perms[i].service, name) == 0) { in check_control_perms()
|
D | keywords.h | 55 KEYWORD(service, SECTION, 0, 0)
|
D | NOTICE | 152 names, trademarks, service marks, or product names of the Licensor,
|
/system/core/rootdir/ |
D | init.rc | 202 service console /system/bin/sh 205 # adbd is controlled by the persist.service.adb.enable system property 206 service adbd /sbin/adbd 213 on property:persist.service.adb.enable=1 216 on property:persist.service.adb.enable=0 219 service servicemanager /system/bin/servicemanager 225 service vold /system/bin/vold 228 service nexus /system/bin/nexus 232 #service mountd /system/bin/mountd 235 service debuggerd /system/bin/debuggerd [all …]
|
/system/bluetooth/data/ |
D | input.conf | 3 Name=Input service 4 Description=Bluetooth HID based Input service
|
/system/core/rootdir/etc/ |
D | init.goldfish.rc | 38 service goldfish-setup /system/etc/init.goldfish.sh 41 service qemud /system/bin/qemud 51 service goldfish-logcat /system/bin/logcat -Q
|
/system/core/logcat/ |
D | event-log-tags | 68 # This event is logged when the location service uploads location data. 190 # A service is being created 192 # A service is being destroyed 198 # A service has crashed too many times, it is being stopped 200 # A service is going to be restarted after its process went away 208 # Re-connecting to input method service because we haven't received its interface
|
/system/extras/procmem/ |
D | NOTICE | 152 names, trademarks, service marks, or product names of the Licensor,
|
/system/core/libnetutils/ |
D | NOTICE | 152 names, trademarks, service marks, or product names of the Licensor,
|
/system/extras/libpagemap/ |
D | NOTICE | 152 names, trademarks, service marks, or product names of the Licensor,
|