Home
last modified time | relevance | path

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

/system/core/adb/daemon/
Dremount_service.cpp40 WriteFdFmt(fd, "Failed to fork to %s: %s\n", kRemountCmd, strerror(errno)); in do_remount()
58 WriteFdFmt(fd, "Failed to wait for %s: %s\n", kRemountCmd, strerror(errno)); in do_remount()
61 WriteFdFmt(fd, "pid %d and waitpid return %d do not match for %s\n", in do_remount()
67 WriteFdFmt(fd, "%s terminated with signal %s\n", kRemountCmd, in do_remount()
73 WriteFdFmt(fd, "%s stopped with status 0x%x\n", kRemountCmd, wstatus); in do_remount()
78 WriteFdFmt(fd, "%s exited with status %d\n", kRemountCmd, WEXITSTATUS(wstatus)); in do_remount()
87 WriteFdFmt(fd.get(), "remount %s\n", success); in remount_service()
Dset_verity_enable_state_service.cpp69 WriteFdFmt(fd, "Could not make block device %s writable (%s).\n", in set_verity_enabled_state()
77 WriteFdFmt(fd, "Could not open block device %s (%s).\n", block_device, strerror(errno)); in set_verity_enabled_state()
90 WriteFdFmt(fd, "Verity already disabled on %s\n", mount_point); in set_verity_enabled_state()
95 WriteFdFmt(fd, "Verity already enabled on %s\n", mount_point); in set_verity_enabled_state()
100 WriteFdFmt(fd, "Could not set verity %s flag on device %s with error %s\n", in set_verity_enabled_state()
111 WriteFdFmt(fd, "%s overlayfs for %s\n", enable ? "disabling" : "using", mount_point); in set_verity_enabled_state()
114 WriteFdFmt(fd, "Overlayfs %s for %s failed with error %s\n", enable ? "teardown" : "setup", in set_verity_enabled_state()
117 WriteFdFmt(fd, "Verity %s on %s\n", enable ? "enabled" : "disabled", mount_point); in set_verity_enabled_state()
139 WriteFdFmt(fd, "%s overlayfs\n", enable ? "disabling" : "using"); in overlayfs_setup()
142 WriteFdFmt(fd, "Overlayfs %s failed with error %s\n", enable ? "teardown" : "setup", in overlayfs_setup()
[all …]
Dreboot_service.cpp54 WriteFdFmt(fd, "reboot (%s) create\n", strerror(errno)); in reboot_service()
62 WriteFdFmt(fd, "reboot (%s) connect\n", strerror(errno)); in reboot_service()
69 WriteFdFmt(fd, "reboot (%s) write\n", strerror(errno)); in reboot_service()
75 WriteFdFmt(fd.get(), "reboot (%s) failed\n", reboot_string.c_str()); in reboot_service()
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()
/system/core/adb/
Dadb_io.h77 bool WriteFdFmt(int fd, const char* fmt, ...) __attribute__((__format__(__printf__, 2, 3)));
Dadb_io_test.cpp145 POSIX_TEST(io, WriteFdFmt) { in POSIX_TEST() argument
150 ASSERT_TRUE(WriteFdFmt(tf.fd, "Foo%s%d", "bar", 123)) << strerror(errno); in POSIX_TEST()
Dadb_io.cpp140 bool WriteFdFmt(int fd, const char* fmt, ...) { in WriteFdFmt() function