Searched refs:adb_write (Results 1 – 11 of 11) sorted by relevance
/packages/modules/adb/fdevent/ |
D | fdevent_test.cpp | 72 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()
|
D | fdevent_poll.cpp | 205 int rc = adb_write(this->interrupt_fd_, "", 1); in Interrupt()
|
D | fdevent_epoll.cpp | 203 ssize_t rc = TEMP_FAILURE_RETRY(adb_write(this->interrupt_fd_, &i, sizeof(i))); in Interrupt()
|
/packages/modules/adb/daemon/ |
D | usb_ffs.cpp | 282 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()
|
D | usb.cpp | 208 ssize_t rc = adb_write(worker_event_fd_.get(), ¬ify, sizeof(notify)); in Write() 224 ssize_t rc = adb_write(worker_event_fd_.get(), ¬ify, sizeof(notify)); in Stop() 230 rc = adb_write(monitor_event_fd_.get(), ¬ify, sizeof(notify)); in Stop() 371 ssize_t rc = adb_write(control_fd_.get(), "", 0); in StartMonitor()
|
D | shell_service.cpp | 368 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/ |
D | sysdeps.h | 105 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
|
D | adb_io.cpp | 111 r = adb_write(fd, p, len); in WriteFdExactly()
|
D | transport_fd.cpp | 165 if (TEMP_FAILURE_RETRY(adb_write(wake_fd_write_.get(), &buf, sizeof(buf))) != sizeof(buf)) { in WakeThread()
|
D | sysdeps_win32.cpp | 479 int adb_write(borrowed_fd fd, const void* buf, int len) { in adb_write() function
|
/packages/modules/adb/client/ |
D | commandline.cpp | 420 adb_write(outFd, buf.data(), len); in copy_to_file() 1180 adb_write(fd, buf.data(), bytes); in write_zeros()
|