Home
last modified time | relevance | path

Searched refs:WriteFdFmt (Results 1 – 5 of 5) sorted by relevance

/packages/modules/adb/daemon/
Drestart_service.cpp59 WriteFdFmt(fd.get(), "invalid port %d\n", port); in restart_tcp_service()
65 WriteFdFmt(fd.get(), "restarting in TCP mode port: %d\n", port); in restart_tcp_service()
Dservices.cpp152 WriteFdFmt(fd.get(), "reboot (%s) failed\n", reboot_string.c_str()); in reboot_device()
/packages/modules/adb/
Dadb_io_test.cpp148 POSIX_TEST(io, WriteFdFmt) { in POSIX_TEST() argument
153 ASSERT_TRUE(WriteFdFmt(tf.fd, "Foo%s%d", "bar", 123)) << strerror(errno); in POSIX_TEST()
Dadb_io.h77 bool WriteFdFmt(borrowed_fd fd, const char* fmt, ...) __attribute__((__format__(__printf__, 2, 3)));
Dadb_io.cpp140 bool WriteFdFmt(borrowed_fd fd, const char* fmt, ...) { in WriteFdFmt() function