Searched refs:ReadFdToString (Results 1 – 10 of 10) sorted by relevance
/system/core/libcutils/tests/ |
D | trace-dev_test.cpp | 58 ASSERT_TRUE(android::base::ReadFdToString(atrace_marker_fd, &actual)); in TEST_F() 72 ASSERT_TRUE(android::base::ReadFdToString(atrace_marker_fd, &actual)); in TEST_F() 82 ASSERT_TRUE(android::base::ReadFdToString(atrace_marker_fd, &actual)); in TEST_F() 95 ASSERT_TRUE(android::base::ReadFdToString(atrace_marker_fd, &actual)); in TEST_F() 107 ASSERT_TRUE(android::base::ReadFdToString(atrace_marker_fd, &actual)); in TEST_F() 121 ASSERT_TRUE(android::base::ReadFdToString(atrace_marker_fd, &actual)); in TEST_F() 131 ASSERT_TRUE(android::base::ReadFdToString(atrace_marker_fd, &actual)); in TEST_F() 144 ASSERT_TRUE(android::base::ReadFdToString(atrace_marker_fd, &actual)); in TEST_F() 156 ASSERT_TRUE(android::base::ReadFdToString(atrace_marker_fd, &actual)); in TEST_F() 170 ASSERT_TRUE(android::base::ReadFdToString(atrace_marker_fd, &actual)); in TEST_F() [all …]
|
/system/core/debuggerd/test/ |
D | dump_memory_test.cpp | 159 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 179 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 198 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 211 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 267 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 287 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 312 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 338 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 392 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 417 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() [all …]
|
D | tombstone_test.cpp | 112 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 147 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 186 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 244 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 302 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 358 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 414 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 472 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 512 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 549 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() [all …]
|
/system/core/base/ |
D | logging_test.cpp | 145 android::base::ReadFdToString(cap.fd(), &output); in TEST() 161 android::base::ReadFdToString(cap.fd(), &output); in TEST() 177 android::base::ReadFdToString(cap.fd(), &output); in TEST() 188 android::base::ReadFdToString(cap.fd(), &output); in TEST() 208 android::base::ReadFdToString(cap.fd(), &output); in TEST() 251 android::base::ReadFdToString(cap.fd(), &output); in TEST() 270 android::base::ReadFdToString(cap.fd(), &output); in TEST()
|
D | file.cpp | 38 bool ReadFdToString(int fd, std::string* content) { in ReadFdToString() function 56 bool result = ReadFdToString(fd, content); in ReadFileToString()
|
D | file_test.cpp | 77 ASSERT_TRUE(android::base::ReadFdToString(tf.fd, &s)) << strerror(errno); in TEST()
|
/system/core/adb/ |
D | adb_io_test.cpp | 96 ASSERT_TRUE(android::base::ReadFdToString(tf.fd, &s)); in TEST() 113 ASSERT_TRUE(android::base::ReadFdToString(tf.fd, &s)); in TEST() 136 ASSERT_TRUE(android::base::ReadFdToString(tf.fd, &s)); in TEST() 149 ASSERT_TRUE(android::base::ReadFdToString(tf.fd, &s)); in TEST()
|
/system/core/base/include/android-base/ |
D | file.h | 30 bool ReadFdToString(int fd, std::string* content);
|
/system/core/init/ |
D | util.cpp | 196 bool okay = android::base::ReadFdToString(fd, content); in read_file()
|
/system/extras/perfprofd/ |
D | perfprofdcore.cc | 321 bool result = android::base::ReadFdToString(pipefds[0], &dump_output); in get_camera_active()
|