Home
last modified time | relevance | path

Searched refs:ReadFdToString (Results 1 – 10 of 10) sorted by relevance

/system/core/libcutils/tests/
Dtrace-dev_test.cpp58 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/
Ddump_memory_test.cpp159 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 …]
Dtombstone_test.cpp112 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/
Dlogging_test.cpp145 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()
Dfile.cpp38 bool ReadFdToString(int fd, std::string* content) { in ReadFdToString() function
56 bool result = ReadFdToString(fd, content); in ReadFileToString()
Dfile_test.cpp77 ASSERT_TRUE(android::base::ReadFdToString(tf.fd, &s)) << strerror(errno); in TEST()
/system/core/adb/
Dadb_io_test.cpp96 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/
Dfile.h30 bool ReadFdToString(int fd, std::string* content);
/system/core/init/
Dutil.cpp196 bool okay = android::base::ReadFdToString(fd, content); in read_file()
/system/extras/perfprofd/
Dperfprofdcore.cc321 bool result = android::base::ReadFdToString(pipefds[0], &dump_output); in get_camera_active()