Home
last modified time | relevance | path

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

/system/core/adb/daemon/
Dusb_ffs.cpp239 if (adb_write(control.get(), &v2_descriptor, sizeof(v2_descriptor)) < 0) { in open_functionfs()
248 if (adb_write(control.get(), &v1_descriptor, sizeof(v1_descriptor)) < 0) { in open_functionfs()
254 if (adb_write(control.get(), &strings, sizeof(strings)) < 0) { in open_functionfs()
Dreboot_service.cpp67 auto ret = adb_write(sock, &msg_switch_to_fastboot, sizeof(msg_switch_to_fastboot)); in reboot_service()
Dusb.cpp244 ssize_t rc = adb_write(worker_event_fd_.get(), &notify, sizeof(notify)); in Stop()
250 rc = adb_write(monitor_event_fd_.get(), &notify, sizeof(notify)); in Stop()
384 ssize_t rc = adb_write(control_fd_.get(), "", 0); in StartMonitor()
Dusb_legacy.cpp132 int n = adb_write(h->bulk_in, buf, write_len); in usb_ffs_write()
Dshell_service.cpp342 adb_write(oom_score_adj_fd, oom_score_adj_value, strlen(oom_score_adj_value))); in ForkAndExec()
688 int bytes = adb_write(stdinout_sfd_, input_->data() + index, input_bytes_left_); in PassInput()
/system/core/adb/
Dfdevent_test.cpp69 ASSERT_EQ(1, adb_write(fd, &c, 1)); in FdEventCallback()
92 ASSERT_EQ(1, adb_write(fd, &c, 1)); in FdEventNewCallback()
316 ASSERT_EQ(1, adb_write(fds[1], "", 1)); in TEST_F()
Dsysdeps.h96 extern int adb_write(int fd, const void* buf, int len);
437 static __inline__ int adb_write(int fd, const void* buf, size_t len) in adb_write() function
528 #define unix_write adb_write
Dadb_io.cpp111 r = adb_write(fd, p, len); in WriteFdExactly()
Dtransport_fd.cpp160 if (TEMP_FAILURE_RETRY(adb_write(wake_fd_write_.get(), &buf, sizeof(buf))) != sizeof(buf)) { in WakeThread()
Dfdevent.cpp440 int rc = adb_write(run_queue_notify_fd.get(), "", 1); in fdevent_run_on_main_thread()
Dtransport.cpp638 r = adb_write(fd, p, len); in transport_write_action()
Dsysdeps_win32.cpp470 int adb_write(int fd, const void* buf, int len) { in adb_write() function
/system/core/adb/client/
Dcommandline.cpp390 adb_write(outFd, buf.data(), len); in copy_to_file()
1223 adb_write(fd, buf.data(), bytes); in write_zeros()