/system/core/libcutils/ |
D | trace-dev_test.cpp | 57 ASSERT_TRUE(android::base::ReadFdToString(atrace_marker_fd, &actual)); in TEST_F() 71 ASSERT_TRUE(android::base::ReadFdToString(atrace_marker_fd, &actual)); in TEST_F() 81 ASSERT_TRUE(android::base::ReadFdToString(atrace_marker_fd, &actual)); in TEST_F() 94 ASSERT_TRUE(android::base::ReadFdToString(atrace_marker_fd, &actual)); in TEST_F() 106 ASSERT_TRUE(android::base::ReadFdToString(atrace_marker_fd, &actual)); in TEST_F() 120 ASSERT_TRUE(android::base::ReadFdToString(atrace_marker_fd, &actual)); in TEST_F() 130 ASSERT_TRUE(android::base::ReadFdToString(atrace_marker_fd, &actual)); in TEST_F() 143 ASSERT_TRUE(android::base::ReadFdToString(atrace_marker_fd, &actual)); in TEST_F() 155 ASSERT_TRUE(android::base::ReadFdToString(atrace_marker_fd, &actual)); in TEST_F() 169 ASSERT_TRUE(android::base::ReadFdToString(atrace_marker_fd, &actual)); in TEST_F() [all …]
|
/system/core/debuggerd/libdebuggerd/test/ |
D | dump_memory_test.cpp | 208 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 228 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 247 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 260 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 316 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 336 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 361 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 387 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 441 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 466 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() [all …]
|
D | tombstone_test.cpp | 90 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 130 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 159 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 194 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 227 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 260 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 296 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 325 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 388 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &contents)); in TEST_F() 474 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &contents)); in TEST_F() [all …]
|
/system/core/adb/ |
D | adb_io_test.cpp | 101 ASSERT_TRUE(android::base::ReadFdToString(tf.fd, &s)); in POSIX_TEST() 118 ASSERT_TRUE(android::base::ReadFdToString(tf.fd, &s)); in POSIX_TEST() 141 ASSERT_TRUE(android::base::ReadFdToString(tf.fd, &s)); in POSIX_TEST() 154 ASSERT_TRUE(android::base::ReadFdToString(tf.fd, &s)); in POSIX_TEST()
|
D | adb.cpp | 621 if (!android::base::ReadFdToString(fd, &content)) return; in ReportServerStartupFailure()
|
/system/core/libsuspend/ |
D | autosuspend_wakeup_count.cpp | 43 using android::base::ReadFdToString; 75 if (!ReadFdToString(wakeup_count_fd, &wakeup_count)) { in suspend_thread_func()
|
/system/core/base/ |
D | test_utils.cpp | 47 android::base::ReadFdToString(fd(), &result); in str()
|
D | file.cpp | 179 bool ReadFdToString(int fd, std::string* content) { in ReadFdToString() function 206 return ReadFdToString(fd, content); in ReadFileToString()
|
D | file_test.cpp | 97 ASSERT_TRUE(android::base::ReadFdToString(tf.fd, &s)) << strerror(errno); in TEST()
|
/system/core/init/ |
D | persistent_properties.cpp | 34 using android::base::ReadFdToString; 95 if (ReadFdToString(fd, &value)) { in LoadLegacyPersistentProperties()
|
D | selinux.cpp | 158 if (!android::base::ReadFdToString(child_out_fd, &child_output)) { in ForkExecveAndWaitForCompletion()
|
D | util.cpp | 177 if (!android::base::ReadFdToString(fd, &content)) { in ReadFile()
|
/system/core/liblog/tests/ |
D | log_radio_test.cpp | 98 if (!android::base::ReadFdToString(fileno(fp), &buf)) buf = ""; in TEST()
|
D | log_system_test.cpp | 98 if (!android::base::ReadFdToString(fileno(fp), &buf)) buf = ""; in TEST()
|
/system/core/base/include/android-base/ |
D | file.h | 80 bool ReadFdToString(int fd, std::string* content);
|
/system/core/debuggerd/client/ |
D | debuggerd_client_test.cpp | 90 ASSERT_TRUE(android::base::ReadFdToString(pipe_read.get(), &result)); in TEST()
|
/system/extras/perfprofd/ |
D | perfprofd_perf.cc | 282 if (!android::base::ReadFdToString(link[0].get(), &result)) { in FindSupportedPerfCounters()
|
D | perfprofdcore.cc | 270 bool result = android::base::ReadFdToString(pipefds[0], &dump_output); in get_camera_active()
|
/system/hardware/interfaces/suspend/1.0/default/ |
D | SystemSuspend.cpp | 34 using ::android::base::ReadFdToString;
|
/system/core/lmkd/tests/ |
D | lmkd_test.cpp | 62 ReadFdToString(fileno(fp), &content); in readCommand()
|
/system/core/logcat/tests/ |
D | logcat_test.cpp | 1713 bool val = android::base::ReadFdToString(fileno(fp), &ret); in reportedSecurity() 1733 if (!android::base::ReadFdToString(fileno(fp), &ret)) return 0; in commandOutputSize() 1756 ASSERT_TRUE(android::base::ReadFdToString(fileno(fp), &output)); in TEST()
|
/system/tools/hidl/test/java_test/ |
D | hidl_test_java_native.cpp | 926 EXPECT_TRUE(android::base::ReadFdToString(fd, &result)); in TEST_F() 981 EXPECT_TRUE(android::base::ReadFdToString(fd, &result)); in TEST_F()
|
/system/core/healthd/ |
D | healthd_mode_charger.cpp | 229 android::base::ReadFdToString(fd, &buf); in dump_last_kmsg()
|
/system/testing/gtest_extras/tests/ |
D | SystemTests.cpp | 132 ASSERT_TRUE(android::base::ReadFdToString(fd_, &raw_output_)); in ExecAndCapture()
|
/system/extras/simpleperf/ |
D | cmd_record_test.cpp | 555 ASSERT_TRUE(android::base::ReadFdToString(read_fd, &s)); in TEST()
|