Home
last modified time | relevance | path

Searched refs:adb_read (Results 1 – 23 of 23) sorted by relevance

/system/core/adb/
Dadb_io.cpp83 int r = adb_read(fd, p, len); in ReadFdExactly()
158 int result = adb_read(fd, buf, sizeof(buf)); in ReadOrderlyShutdown()
Dtransport_fd.cpp97 rc = adb_read(fd_.get(), &block[0], block.size()); in Run()
131 rc = adb_read(wake_fd_read_.get(), &buf, sizeof(buf)); in Run()
Dsysdeps.h102 extern int adb_read(borrowed_fd fd, void* buf, int len);
486 static inline int adb_read(borrowed_fd fd, void* buf, size_t len) { in adb_read() function
604 #define unix_read adb_read
Dsysdeps_test.cpp226 ASSERT_EQ(adb_read(pfds[i].fd, buf, sizeof(buf)), static_cast<ssize_t>(sizeof(int32_t))); in TEST_F()
Dsockets.cpp162 r = adb_read(s->fd, x, avail); in local_socket_flush_outgoing()
265 while ((rc = adb_read(fde->fd.get(), buf, sizeof(buf))) > 0) { in deferred_close()
Dtransport.cpp733 r = adb_read(fd, p, len); in transport_read_action()
Dadb.cpp935 int ret = adb_read(pipe_read.get(), temp, 3); in launch_server()
Dsysdeps_win32.cpp448 int adb_read(borrowed_fd fd, void* buf, int len) { in adb_read() function
/system/core/adb/fdevent/
Dfdevent_test.cpp60 ASSERT_EQ(1, adb_read(fd, &c, 1)); in FdEventCallback()
83 ASSERT_EQ(1, adb_read(fd, &c, 1)); in FdEventNewCallback()
253 ssize_t rc = adb_read(fde->fd.get(), buf, sizeof(buf)); in TEST_F()
Dfdevent_poll.cpp55 ssize_t rc = TEMP_FAILURE_RETRY(adb_read(fd, buf, sizeof(buf))); in fdevent_interrupt()
Dfdevent_epoll.cpp32 ssize_t rc = TEMP_FAILURE_RETRY(adb_read(fd, &buf, sizeof(buf))); in fdevent_interrupt()
/system/core/adb/client/
Dconsole.cpp140 result = adb_read(fd, buf, sizeof(buf)); in adb_send_emulator_command()
Dincremental.cpp228 while ((bytes_read = adb_read(read_fd, child_stdout.data() + buf_size, in wait_for_installation()
Dcommandline.cpp322 length = adb_read(fd, raw_buffer, sizeof(raw_buffer)); in read_and_dump()
390 len = adb_read(inFd, buf.data(), buf.size()); in copy_to_file()
1117 ssize_t bytes_read = adb_read(fd, cur, bytes_left); in adb_root()
1448 int rc = adb_read(src, buf, sizeof(buf)); in adb_connect_command_bidirectional()
Dfile_sync_client.cpp673 int r = adb_read(lfd.get(), input.data(), input.size()); in SendLargeFile()
749 int bytes_read = adb_read(lfd, sbuf.data, max); in SendLargeFileLegacy()
812 ssize_t rc = adb_read(fd, buf.end(), header_bytes_left); in ReadAcknowledgements()
850 ssize_t rc = adb_read(fd, buf.end(), msg_bytes_left); in ReadAcknowledgements()
Dincremental_server.cpp322 int r = adb_read(adb_fd_, buffer_.data() + bsize, kReadBufferSize - bsize); in SkipToRequest()
Dadb_install.cpp146 int len = adb_read(fd, buf, count); in read_status_line()
/system/core/adb/fastdeploy/deploypatchgenerator/
Dpatch_utils.cpp101 auto readAmount = adb_read(input, buffer, chunkAmount); in Pipe()
Dpatch_utils_test.cpp46 ssize_t readAmount = adb_read(input, buffer, BUFFER_SIZE); in FileMatchesContent()
/system/core/adb/daemon/
Dusb.cpp316 rc = TEMP_FAILURE_RETRY(adb_read(control_fd_.get(), &event, sizeof(event))); in StartMonitor()
409 ssize_t rc = adb_read(control_fd_.get(), buf.data(), buf.size()); in StartMonitor()
445 ssize_t rc = adb_read(worker_event_fd_.get(), &dummy, sizeof(dummy)); in StartWorker()
Dshell_service_test.cpp85 int bytes = adb_read(fd, cur_ptr, end_ptr - cur_ptr); in ReadRaw()
Dshell_service.cpp122 int bytes = adb_read(fd, buffer, sizeof(buffer)); in ReadAll()
740 int bytes = adb_read(*sfd, output_->data(), output_->data_capacity()); in PassOutput()
Dfile_sync_service.cpp668 int r = adb_read(fd.get(), input.data(), input.size()); in recv_impl()