Home
last modified time | relevance | path

Searched refs:adb_write (Results 1 – 11 of 11) sorted by relevance

/packages/modules/adb/fdevent/
Dfdevent_test.cpp72 ASSERT_EQ(1, adb_write(fd, &c, 1)); in FdEventCallback()
95 ASSERT_EQ(1, adb_write(fd, &c, 1)); in FdEventNewCallback()
283 ASSERT_EQ(1, adb_write(fds[1], "", 1)); in TEST_F()
393 adb_write(fds1[1], "a", 1); in TEST_F()
394 adb_write(fds2[1], "a", 1); in TEST_F()
Dfdevent_poll.cpp205 int rc = adb_write(this->interrupt_fd_, "", 1); in Interrupt()
Dfdevent_epoll.cpp203 ssize_t rc = TEMP_FAILURE_RETRY(adb_write(this->interrupt_fd_, &i, sizeof(i))); in Interrupt()
/packages/modules/adb/daemon/
Dusb_ffs.cpp282 if (adb_write(control.get(), &v2_descriptor, sizeof(v2_descriptor)) < 0) { in open_functionfs()
291 if (adb_write(control.get(), &v1_descriptor, sizeof(v1_descriptor)) < 0) { in open_functionfs()
297 if (adb_write(control.get(), &strings, sizeof(strings)) < 0) { in open_functionfs()
Dusb.cpp208 ssize_t rc = adb_write(worker_event_fd_.get(), &notify, sizeof(notify)); in Write()
224 ssize_t rc = adb_write(worker_event_fd_.get(), &notify, sizeof(notify)); in Stop()
230 rc = adb_write(monitor_event_fd_.get(), &notify, sizeof(notify)); in Stop()
371 ssize_t rc = adb_write(control_fd_.get(), "", 0); in StartMonitor()
Dshell_service.cpp368 adb_write(oom_score_adj_fd, oom_score_adj_value, strlen(oom_score_adj_value))); in ForkAndExec()
722 int bytes = adb_write(stdinout_sfd_, input_->data() + index, input_bytes_left_); in PassInput()
/packages/modules/adb/
Dsysdeps.h105 extern int adb_write(borrowed_fd fd, const void* buf, int len);
539 static inline int adb_write(borrowed_fd fd, const void* buf, size_t len) { in adb_write() function
645 #define unix_write adb_write
Dadb_io.cpp111 r = adb_write(fd, p, len); in WriteFdExactly()
Dtransport_fd.cpp165 if (TEMP_FAILURE_RETRY(adb_write(wake_fd_write_.get(), &buf, sizeof(buf))) != sizeof(buf)) { in WakeThread()
Dsysdeps_win32.cpp479 int adb_write(borrowed_fd fd, const void* buf, int len) { in adb_write() function
/packages/modules/adb/client/
Dcommandline.cpp420 adb_write(outFd, buf.data(), len); in copy_to_file()
1180 adb_write(fd, buf.data(), bytes); in write_zeros()