/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() 406 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() [all …]
|
D | dump_memory_test.cpp | 191 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() 230 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 243 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 262 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() 307 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 333 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 393 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() 416 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F() [all …]
|
/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/hardware/interfaces/suspend/1.0/default/ |
D | SystemSuspend.cpp | 32 using ::android::base::ReadFdToString; 73 if (!ReadFdToString(fd, &reasonlines)) { in readWakeupReasons() 103 if (!ReadFdToString(fd, &content)) { in readSuspendTime() 405 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/init/ |
D | firmware_handler.cpp | 39 using android::base::ReadFdToString; 163 if (!ReadFdToString(parent_stdout.get(), &stdout_content)) { in RunExternalHandler() 168 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 | 175 if (!android::base::ReadFdToString(child_out_fd, &child_output)) { in ForkExecveAndWaitForCompletion() 488 if (!android::base::ReadFdToString(policy_file.fd, policy)) { in ReadPolicy()
|
/system/extras/simpleperf/ |
D | cmd_api_test.cpp | 38 if (!android::base::ReadFdToString(fileno(fp.get()), &s)) { in WaitUntilAppExit()
|
/system/logging/liblog/tests/ |
D | log_system_test.cpp | 98 if (!android::base::ReadFdToString(fileno(fp), &buf)) buf = ""; in TEST()
|
D | log_radio_test.cpp | 98 if (!android::base::ReadFdToString(fileno(fp), &buf)) buf = ""; in TEST()
|
/system/security/fsverity_init/ |
D | fsverity_init.cpp | 42 if (!android::base::ReadFdToString(STDIN_FILENO, &content)) { in LoadKeyFromStdin()
|
/system/libbase/include/android-base/ |
D | file.h | 81 bool ReadFdToString(borrowed_fd 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/libprocinfo/ |
D | process.cpp | 139 if (!android::base::ReadFdToString(stat_fd, &stat)) { in GetProcessInfoFromProcPidFd()
|
/system/iorap/src/perfetto/ |
D | rx_producer.h | 146 static bool ReadFdToString(int fd, /*out*/std::vector<std::byte>* data);
|
D | rx_producer.cc | 605 if (ReadFdToString(fd.get(), /*out*/&data)) { in ReadFullyFromFile() 621 bool BinaryWireProtobuf<T>::ReadFdToString(int fd, /*out*/std::vector<std::byte>* content) { in ReadFdToString() function in iorap::perfetto::BinaryWireProtobuf
|
/system/core/fastboot/ |
D | vendor_boot_img_utils_test.cpp | 40 using android::base::ReadFdToString; 79 if (!android::base::ReadFdToString(fd, &content)) return ErrnoError() << "read(" << path << ")"; in ReadStartOfFdToString()
|
/system/memory/lmkd/tests/ |
D | lmkd_test.cpp | 63 ReadFdToString(fileno(fp), &content); in readCommand()
|
/system/core/fs_mgr/libsnapshot/ |
D | estimate_cow_from_nonab_ota.cpp | 186 if (!android::base::ReadFdToString(fd, &contents)) { in GetDynamicPartitionNames()
|