Home
last modified time | relevance | path

Searched refs:WriteStringToFd (Results 1 – 8 of 8) sorted by relevance

/system/core/adb/
Dadb_io_test.cpp45 ASSERT_TRUE(android::base::WriteStringToFd(expected, tf.fd)) << strerror(errno); in TEST()
59 ASSERT_TRUE(android::base::WriteStringToFd(expected, tf.fd)) << strerror(errno); in TEST()
73 ASSERT_TRUE(android::base::WriteStringToFd(input, tf.fd)) << strerror(errno); in TEST()
/system/core/base/
Dfile.cpp61 bool WriteStringToFd(const std::string& content, int fd) { in WriteStringToFd() function
103 if (!WriteStringToFd(content, fd)) { in WriteStringToFile()
119 bool result = WriteStringToFd(content, fd); in WriteStringToFile()
Dfile_test.cpp69 TEST(file, WriteStringToFd) { in TEST() argument
72 ASSERT_TRUE(android::base::WriteStringToFd("abc", tf.fd)); in TEST()
/system/core/base/include/android-base/
Dfile.h34 bool WriteStringToFd(const std::string& content, int fd);
/system/core/adb/client/
Dmain.cpp155 if (!android::base::WriteStringToFd("OK\n", ack_reply_fd)) { in adb_server_main()
/system/core/bootstat/
Dboot_event_record_store.cpp93 if (!android::base::WriteStringToFd(std::to_string(value), record_fd)) { in AddBootEventWithValue()
Dboot_event_record_store_test.cpp52 if (!android::base::WriteStringToFd(std::to_string(value), record_fd)) { in CreateEmptyBootEventRecord()
/system/core/init/
Dutil.cpp207 int result = android::base::WriteStringToFd(content, fd) ? 0 : -1; in write_file()