Home
last modified time | relevance | path

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

/system/core/adb/
Dset_verity_enable_state_service.cpp50 WriteFdFmt(fd, "Could not make block device %s writable (%s).\n", in set_verity_enabled_state()
58 WriteFdFmt(fd, "Could not open block device %s (%s).\n", block_device, strerror(errno)); in set_verity_enabled_state()
59 WriteFdFmt(fd, "Maybe run adb root?\n"); in set_verity_enabled_state()
66 WriteFdFmt(fd, "Couldn't find verity metadata!\n"); in set_verity_enabled_state()
71 WriteFdFmt(fd, "Verity already disabled on %s\n", mount_point); in set_verity_enabled_state()
76 WriteFdFmt(fd, "Verity already enabled on %s\n", mount_point); in set_verity_enabled_state()
81 WriteFdFmt(fd, "Could not set verity %s flag on device %s with error %s\n", in set_verity_enabled_state()
87 WriteFdFmt(fd, "Verity %s on %s\n", enable ? "enabled" : "disabled", mount_point); in set_verity_enabled_state()
102 WriteFdFmt(fd, "verity not enabled - ENG build\n"); in set_verity_enabled_state_service()
108 WriteFdFmt(fd, "verity cannot be disabled/enabled - USER build\n"); in set_verity_enabled_state_service()
[all …]
Dremount_service.cpp98 WriteFdFmt(fd, "remount of %s failed; couldn't make block device %s writable: %s\n", in remount_partition()
103 WriteFdFmt(fd, "remount of %s failed: %s\n", dir, strerror(errno)); in remount_partition()
126 WriteFdFmt(fd, in remount_service()
Dadb_io.cpp39 return WriteFdFmt(fd, "%04x%.*s", length, length, s.c_str()); in SendProtocolString()
132 bool WriteFdFmt(int fd, const char* fmt, ...) { in WriteFdFmt() function
Dadb_io.h74 bool WriteFdFmt(int fd, const char* fmt, ...) __attribute__((__format__(__printf__, 2, 3)));
Dadb_io_test.cpp140 TEST(io, WriteFdFmt) { in TEST() argument
145 ASSERT_TRUE(WriteFdFmt(tf.fd, "Foo%s%d", "bar", 123)) << strerror(errno); in TEST()
Dservices.cpp103 WriteFdFmt(fd, "invalid port %d\n", port); in restart_tcp_service()
111 WriteFdFmt(fd, "restarting in TCP mode port: %d\n", port); in restart_tcp_service()
160 WriteFdFmt(fd, "reboot string too long: %d\n", ret); in reboot_service_impl()
166 WriteFdFmt(fd, "reboot failed: %d\n", ret); in reboot_service_impl()