Home
last modified time | relevance | path

Searched refs:ReadFdExactly (Results 1 – 10 of 10) sorted by relevance

/system/core/adb/
Dframebuffer_service.cpp86 if(!ReadFdExactly(fd_screencap, &w, 4)) goto done; in framebuffer_service()
87 if(!ReadFdExactly(fd_screencap, &h, 4)) goto done; in framebuffer_service()
88 if(!ReadFdExactly(fd_screencap, &f, 4)) goto done; in framebuffer_service()
175 if(!ReadFdExactly(fd_screencap, buf, bsize)) goto done; in framebuffer_service()
Dfile_sync_service.cpp217 if(!ReadFdExactly(s, &msg.data, sizeof(msg.data))) in handle_send_file()
233 if(!ReadFdExactly(s, buffer, len)) in handle_send_file()
279 if(!ReadFdExactly(s, &msg.data, sizeof(msg.data))) in handle_send_link()
292 if(!ReadFdExactly(s, buffer, len)) in handle_send_link()
308 if(!ReadFdExactly(s, &msg.data, sizeof(msg.data))) in handle_send_link()
426 if(!ReadFdExactly(fd, &msg.req, sizeof(msg.req))) { in file_sync_service()
435 if(!ReadFdExactly(fd, name, namelen)) { in file_sync_service()
Dadb_io_test.cpp66 ASSERT_TRUE(ReadFdExactly(tf.fd, buf, sizeof(buf) - 1)) << strerror(errno); in TEST()
80 ASSERT_FALSE(ReadFdExactly(tf.fd, buf, sizeof(buf))); in TEST()
94 ASSERT_TRUE(ReadFdExactly(tf.fd, buf, sizeof(buf) - 1)); in TEST()
Dfile_sync_client.cpp112 if(!ReadFdExactly(fd, &msg.dent, sizeof(msg.dent))) break; in sync_ls()
119 if(!ReadFdExactly(fd, buf, len)) break; in sync_ls()
155 if(!ReadFdExactly(fd, &msg.stat, sizeof(msg.stat))) { in sync_readtime()
189 if(!ReadFdExactly(fd, &msg.stat, sizeof(msg.stat))) in sync_finish_readtime()
215 if(!ReadFdExactly(fd, &msg.stat, sizeof(msg.stat))) { in sync_readmode()
377 if(!ReadFdExactly(fd, &msg.status, sizeof(msg.status))) in sync_send()
384 if(!ReadFdExactly(fd, sbuf->data, len)) { in sync_send()
445 if (!ReadFdExactly(fd, &stat_msg.stat, sizeof(stat_msg.stat))) { in sync_recv()
461 if(!ReadFdExactly(fd, &msg.data, sizeof(msg.data))) { in sync_recv()
480 if(!ReadFdExactly(fd, &msg.data, sizeof(msg.data))) { in sync_recv()
[all …]
Dadb_client.cpp51 if (!ReadFdExactly(fd, buf, 4)) { in ReadProtocolString()
59 if (!ReadFdExactly(fd, &(*s)[0], len)) { in ReadProtocolString()
156 if (!ReadFdExactly(fd, buf, 4)) { in adb_status()
Dadb_io.h41 bool ReadFdExactly(int fd, void *buf, size_t len);
Dtransport_local.cpp51 if(!ReadFdExactly(t->sfd, &p->msg, sizeof(amessage))){ in remote_read()
61 if(!ReadFdExactly(t->sfd, p->data, p->msg.data_length)){ in remote_read()
Dadb_io.cpp46 bool ReadFdExactly(int fd, void* buf, size_t len) { in ReadFdExactly() function
Dfdevent.cpp529 if(!ReadFdExactly(fd, &subproc_fd, sizeof(subproc_fd))) { in fdevent_subproc_event_func()
Dcommandline.cpp551 if (!ReadFdExactly(fd, buf, 8)) { in adb_sideload_host()