Searched refs:WriteStringToFd (Results 1 – 8 of 8) sorted by relevance
/system/core/adb/ |
D | adb_io_test.cpp | 45 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/ |
D | file.cpp | 61 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()
|
D | file_test.cpp | 69 TEST(file, WriteStringToFd) { in TEST() argument 72 ASSERT_TRUE(android::base::WriteStringToFd("abc", tf.fd)); in TEST()
|
/system/core/base/include/android-base/ |
D | file.h | 34 bool WriteStringToFd(const std::string& content, int fd);
|
/system/core/adb/client/ |
D | main.cpp | 155 if (!android::base::WriteStringToFd("OK\n", ack_reply_fd)) { in adb_server_main()
|
/system/core/bootstat/ |
D | boot_event_record_store.cpp | 93 if (!android::base::WriteStringToFd(std::to_string(value), record_fd)) { in AddBootEventWithValue()
|
D | boot_event_record_store_test.cpp | 52 if (!android::base::WriteStringToFd(std::to_string(value), record_fd)) { in CreateEmptyBootEventRecord()
|
/system/core/init/ |
D | util.cpp | 207 int result = android::base::WriteStringToFd(content, fd) ? 0 : -1; in write_file()
|