Home
last modified time | relevance | path

Searched refs:writex (Results 1 – 12 of 12) sorted by relevance

/system/core/adb/
Dfile_sync_service.c100 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 …]
Dfile_sync_client.c89 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 …]
Dservices.c67 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 …]
Dadb_client.c124 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()
Dtransport.h25 int writex(int fd, const void *ptr, size_t len);
Dframebuffer_service.c164 if(writex(fd, &fbinfo, sizeof(fbinfo))) goto done; in framebuffer_service()
172 if(writex(fd, buf, bsize)) goto done; in framebuffer_service()
Dremount_service.c114 writex(fd, str, strlen(str)); in write_string()
Dadb.c327 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()
Dtransport_local.c99 if(writex(t->sfd, &p->msg, sizeof(amessage) + length)) { in remote_write()
Dsockets.c44 if(writex(fd, buf, 8)) return -1; in sendfailmsg()
45 return writex(fd, reason, len); in sendfailmsg()
Dcommandline.c481 if(writex(fd, ptr, xfer)) { in adb_download_buffer()
609 if(writex(fd, start, to_write)) { in adb_sideload_host()
Dtransport.c1172 int writex(int fd, const void *ptr, size_t len) in writex() function