/system/core/adb/ |
D | file_sync_service.c | 100 return writex(s, &msg.stat, sizeof(msg.stat)); in do_stat() 138 if(writex(s, &msg.dent, sizeof(msg.dent)) || in do_list() 139 writex(s, de->d_name, len)) { in do_list() 154 return writex(s, &msg.dent, sizeof(msg.dent)); in do_list() 166 if(writex(s, &msg.data, sizeof(msg.data)) || in fail_message() 167 writex(s, reason, len)) { in fail_message() 241 if(writex(fd, buffer, len)) { in handle_send_file() 261 if(writex(s, &msg.status, sizeof(msg.status))) in handle_send_file() 315 if(writex(s, &msg.status, sizeof(msg.status))) in handle_send_link() 408 if(writex(s, &msg.data, sizeof(msg.data)) || [all …]
|
D | file_sync_client.c | 89 writex(fd, &msg.req, sizeof(msg.req)); in sync_quit() 106 if(writex(fd, &msg.req, sizeof(msg.req)) || in sync_ls() 107 writex(fd, path, len)) { in sync_ls() 152 if(writex(fd, &msg.req, sizeof(msg.req)) || in sync_readtime() 153 writex(fd, path, len)) { in sync_readtime() 178 if(writex(fd, &msg.req, sizeof(msg.req)) || in sync_start_readtime() 179 writex(fd, path, len)) { in sync_start_readtime() 212 if(writex(fd, &msg.req, sizeof(msg.req)) || in sync_readmode() 213 writex(fd, path, len)) { in sync_readmode() 267 if(writex(fd, sbuf, sizeof(unsigned) * 2 + ret)){ in write_data_file() [all …]
|
D | services.c | 67 writex(fd, buf, strlen(buf)); in restart_root_service() 73 writex(fd, buf, strlen(buf)); in restart_root_service() 80 writex(fd, buf, strlen(buf)); in restart_root_service() 93 writex(fd, buf, strlen(buf)); in restart_tcp_service() 101 writex(fd, buf, strlen(buf)); in restart_tcp_service() 111 writex(fd, buf, strlen(buf)); in restart_usb_service() 126 writex(fd, buf, strlen(buf)); in reboot_service() 133 writex(fd, buf, strlen(buf)); in reboot_service() 334 res = writex(SHELL_EXIT_NOTIFY_FD, &fd, sizeof(fd)); in subproc_waiter_service() 498 writex(fd, "OKAY", 4); in wait_for_state() [all …]
|
D | adb_client.c | 124 if(writex(fd, tmp, 4) || writex(fd, service, len)) { in switch_socket_transport() 204 if(writex(fd, tmp, 4) || writex(fd, service, len)) { in _adb_connect()
|
D | transport.h | 25 int writex(int fd, const void *ptr, size_t len);
|
D | framebuffer_service.c | 164 if(writex(fd, &fbinfo, sizeof(fbinfo))) goto done; in framebuffer_service() 172 if(writex(fd, buf, bsize)) goto done; in framebuffer_service()
|
D | remount_service.c | 114 writex(fd, str, strlen(str)); in write_string()
|
D | adb.c | 327 writex(fd, header, 4); in send_msg_with_header() 328 writex(fd, msg, msglen); in send_msg_with_header() 337 writex(fd, header, 8); in send_msg_with_okay() 338 writex(fd, msg, msglen); in send_msg_with_okay() 1528 writex(reply_fd, "OKAY", 4); in handle_forward_request() 1530 writex(reply_fd, "OKAY", 4); in handle_forward_request()
|
D | transport_local.c | 99 if(writex(t->sfd, &p->msg, sizeof(amessage) + length)) { in remote_write()
|
D | sockets.c | 44 if(writex(fd, buf, 8)) return -1; in sendfailmsg() 45 return writex(fd, reason, len); in sendfailmsg()
|
D | commandline.c | 481 if(writex(fd, ptr, xfer)) { in adb_download_buffer() 609 if(writex(fd, start, to_write)) { in adb_sideload_host()
|
D | transport.c | 1172 int writex(int fd, const void *ptr, size_t len) in writex() function
|