Home
last modified time | relevance | path

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

/packages/modules/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()
/packages/modules/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.h104 extern int adb_read(borrowed_fd fd, void* buf, int len);
518 static inline int adb_read(borrowed_fd fd, void* buf, size_t len) { in adb_read() function
645 #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()
Dadb.cpp960 int ret = adb_read(pipe_read.get(), temp, 3); in launch_server()
Dtransport.cpp735 r = adb_read(fd, p, len); in transport_read_action()
Dsysdeps_win32.cpp448 int adb_read(borrowed_fd fd, void* buf, int len) { in adb_read() function
/packages/modules/adb/daemon/
Dusb.cpp287 rc = TEMP_FAILURE_RETRY(adb_read(control_fd_.get(), &event, sizeof(event))); in StartMonitor()
380 ssize_t rc = adb_read(control_fd_.get(), buf.data(), buf.size()); in StartMonitor()
416 ssize_t rc = adb_read(worker_event_fd_.get(), &dummy, sizeof(dummy)); in StartWorker()
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()
Dshell_service_test.cpp85 int bytes = adb_read(fd, cur_ptr, end_ptr - cur_ptr); in ReadRaw()
Dfile_sync_service.cpp677 int r = adb_read(fd.get(), input.data(), input.size()); in recv_impl()
/packages/modules/adb/client/
Dconsole.cpp140 result = adb_read(fd, buf, sizeof(buf)); in adb_send_emulator_command()
Dcommandline.cpp323 length = adb_read(fd, raw_buffer, sizeof(raw_buffer)); in read_and_dump()
391 len = adb_read(inFd, buf.data(), buf.size()); in copy_to_file()
1118 ssize_t bytes_read = adb_read(fd, cur, bytes_left); in adb_root()
1449 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.cpp234 while ((bytes_read = adb_read(read_fd, child_stdout.data() + buf_size, in wait_for_installation()
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()
/packages/modules/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()