Home
last modified time | relevance | path

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

/system/core/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.cpp237 ssize_t rc = adb_write(worker_event_fd_.get(), &notify, sizeof(notify)); in Write()
253 ssize_t rc = adb_write(worker_event_fd_.get(), &notify, sizeof(notify)); in Stop()
259 rc = adb_write(monitor_event_fd_.get(), &notify, sizeof(notify)); in Stop()
400 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()
/system/core/adb/fdevent/
Dfdevent_test.cpp69 ASSERT_EQ(1, adb_write(fd, &c, 1)); in FdEventCallback()
92 ASSERT_EQ(1, adb_write(fd, &c, 1)); in FdEventNewCallback()
278 ASSERT_EQ(1, adb_write(fds[1], "", 1)); in TEST_F()
Dfdevent_poll.cpp205 int rc = adb_write(this->interrupt_fd_, "", 1); in Interrupt()
Dfdevent_epoll.cpp194 ssize_t rc = TEMP_FAILURE_RETRY(adb_write(this->interrupt_fd_, &i, sizeof(i))); in Interrupt()
/system/core/adb/
Dadb_io.cpp111 r = adb_write(fd, p, len); in WriteFdExactly()
Dsysdeps.h104 extern int adb_write(borrowed_fd fd, const void* buf, int len);
508 static inline int adb_write(borrowed_fd fd, const void* buf, size_t len) { in adb_write() function
605 #define unix_write adb_write
Dtransport_fd.cpp165 if (TEMP_FAILURE_RETRY(adb_write(wake_fd_write_.get(), &buf, sizeof(buf))) != sizeof(buf)) { in WakeThread()
Dtransport.cpp751 r = adb_write(fd, p, len); in transport_write_action()
Dsysdeps_win32.cpp479 int adb_write(borrowed_fd fd, const void* buf, int len) { in adb_write() function
/system/core/adb/client/
Dcommandline.cpp405 adb_write(outFd, buf.data(), len); in copy_to_file()
1229 adb_write(fd, buf.data(), bytes); in write_zeros()