Searched refs:ReadFileToString (Results 1 – 8 of 8) sorted by relevance
/art/libartbase/base/ |
D | utils.cc | 47 using android::base::ReadFileToString; 66 if (ReadFileToString(StringPrintf("/proc/self/task/%d/comm", tid), &result)) { in GetThreadName() 152 if (!ReadFileToString(StringPrintf("/proc/self/task/%d/stat", tid), &stats)) { in GetTaskStats()
|
/art/runtime/base/ |
D | file_utils.h | 30 bool ReadFileToString(const std::string& file_name, std::string* result);
|
D | file_utils.cc | 67 bool ReadFileToString(const std::string& file_name, std::string* result) { in ReadFileToString() function
|
/art/runtime/ |
D | signal_catcher.cc | 60 if (ReadFileToString("/proc/self/cmdline", ¤t_cmd_line)) { in DumpCmdLine() 200 if (ReadFileToString("/proc/self/maps", &maps)) { in HandleSigQuit()
|
D | native_stack_dump.cc | 395 if (!ReadFileToString(kernel_stack_filename, &kernel_stack)) { in DumpKernelStack()
|
D | thread.cc | 1595 if (!ReadFileToString(StringPrintf("/proc/self/task/%d/cgroup", tid), &cgroup_file)) { in GetSchedulerGroupName() 1720 if (ReadFileToString(StringPrintf("/proc/self/task/%d/schedstat", tid), &scheduler_stats)) { in DumpState()
|
/art/dexlist/ |
D | dexlist.cc | 178 if (!android::base::ReadFileToString(fileName, &content)) { in processFile()
|
/art/tools/veridex/ |
D | veridex.cc | 266 if (!android::base::ReadFileToString(filename.c_str(), &content)) { in Load()
|