/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 | tombstone_test.cpp | 96 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 136 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 165 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 200 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 233 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 266 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() 331 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 390 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 407 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() [all …]
|
D | dump_memory_test.cpp | 211 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 231 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 250 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 263 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 282 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() 327 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 353 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 413 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 436 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_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()
|
/system/libbase/ |
D | abi_compatibility.cpp | 44 bool ReadFdToString(int fd, std::string* content) { in ReadFdToString() function 45 return ReadFdToString(borrowed_fd(fd), content); in ReadFdToString()
|
D | test_utils.cpp | 47 android::base::ReadFdToString(fd(), &result); in str()
|
D | file_test.cpp | 124 ASSERT_TRUE(android::base::ReadFdToString(tf.fd, &s)) << strerror(errno); in TEST() 139 ASSERT_TRUE(android::base::ReadFdToString(tf.fd, &s)) << strerror(errno); in TEST() 154 ASSERT_TRUE(android::base::ReadFdToString(tf.fd, &s)) << strerror(errno); in TEST() 187 ASSERT_TRUE(android::base::ReadFdToString(tf.fd, &s)) << strerror(errno); in TEST()
|
D | file.cpp | 217 bool ReadFdToString(borrowed_fd fd, std::string* content) { in ReadFdToString() function 244 return ReadFdToString(fd, content); in ReadFileToString()
|
/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/init/ |
D | firmware_handler.cpp | 36 using android::base::ReadFdToString; 130 if (!ReadFdToString(parent_stdout.get(), &stdout_content)) { in RunExternalHandler() 135 if (ReadFdToString(parent_stderr.get(), &stderr_content)) { in RunExternalHandler()
|
D | persistent_properties.cpp | 35 using android::base::ReadFdToString; 96 if (ReadFdToString(fd, &value)) { in LoadLegacyPersistentProperties()
|
D | selinux.cpp | 165 if (!android::base::ReadFdToString(child_out_fd, &child_output)) { in ForkExecveAndWaitForCompletion()
|
D | util.cpp | 175 if (!android::base::ReadFdToString(fd, &content)) { in ReadFile()
|
/system/extras/simpleperf/ |
D | cmd_api_test.cpp | 38 if (!android::base::ReadFdToString(fileno(fp.get()), &s)) { in WaitUntilAppExit()
|
D | cmd_record_test.cpp | 609 ASSERT_TRUE(android::base::ReadFdToString(read_fd, &s)); in TEST() 999 ASSERT_TRUE(android::base::ReadFdToString(fileno(fp), &path)); in TEST()
|
/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/libbase/include/android-base/ |
D | file.h | 81 bool ReadFdToString(borrowed_fd fd, std::string* content);
|
/system/hardware/interfaces/suspend/1.0/default/ |
D | SystemSuspend.cpp | 32 using ::android::base::ReadFdToString; 266 if (!ReadFdToString(statFd.get(), &valStr)) { in getSuspendStats()
|
D | WakeLockEntryList.cpp | 24 using android::base::ReadFdToString; 242 if (!ReadFdToString(statFd.get(), &valStr)) { in createKernelEntry()
|
/system/core/debuggerd/client/ |
D | debuggerd_client_test.cpp | 90 ASSERT_TRUE(android::base::ReadFdToString(pipe_read.get(), &result)); in TEST()
|
/system/memory/lmkd/tests/ |
D | lmkd_test.cpp | 62 ReadFdToString(fileno(fp), &content); in readCommand()
|
/system/core/logcat/tests/ |
D | logcat_test.cpp | 1706 bool val = android::base::ReadFdToString(fileno(fp), &ret); in reportedSecurity() 1726 if (!android::base::ReadFdToString(fileno(fp), &ret)) return 0; in commandOutputSize() 1749 ASSERT_TRUE(android::base::ReadFdToString(fileno(fp), &output)); in TEST()
|
/system/core/healthd/ |
D | healthd_mode_charger.cpp | 225 android::base::ReadFdToString(fd, &buf); in dump_last_kmsg()
|
/system/tools/hidl/test/java_test/ |
D | hidl_test_java_native.cpp | 1095 EXPECT_TRUE(android::base::ReadFdToString(fd, &result)); in TEST_F() 1150 EXPECT_TRUE(android::base::ReadFdToString(fd, &result)); in TEST_F()
|