Home
last modified time | relevance | path

Searched refs:GetFirstLine (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/base/hiviewdfx/hiview/framework/native/unified_collection/calculator/
H A Dio_calculator.cpp35 sizeStr = FileUtil::GetFirstLine(filePath); in GetEMMCSize()
40 sizeStr = FileUtil::GetFirstLine(filePath); in GetEMMCSize()
57 std::string eMMCManfid = FileUtil::GetFirstLine(filePath); in GetEMMCManfid()
H A Dcpu_calculator.cpp56 std::string cpuCapacityFileContent = FileUtil::GetFirstLine(cpuCapacityFilePath); in InitCpuDmipses()
/ohos5.0/base/hiviewdfx/hiview/framework/native/unified_collection/utils/
H A Dcpu_util.cpp28 std::string content = FileUtil::GetFirstLine(path); in GetIntegerFromFile()
64 std::string cpuCoresFileFirstLine = FileUtil::GetFirstLine(cpuCoresFilePath); in GetNumOfCpuCores()
82 std::string loadContent = FileUtil::GetFirstLine(procLoadAvgPath); in GetSysCpuLoad()
/ohos5.0/foundation/multimodalinput/input/service/module_loader/src/
H A Dwatchdog_task.cpp41 std::string WatchdogTask::GetFirstLine(const std::string& path) in GetFirstLine() function in OHOS::MMI::WatchdogTask
62 std::string procCmdlineContent = GetFirstLine(procCmdlinePath); in GetProcessNameFromProcCmdline()
/ohos5.0/base/hiviewdfx/hiview/base/utility/
H A Dcommon_utils.cpp40 std::string procCmdlineContent = FileUtil::GetFirstLine(procCmdlinePath); in GetProcessNameFromProcCmdline()
63 std::string procStatFileContent = FileUtil::GetFirstLine(procStatFilePath); in GetProcessNameFromProcStat()
H A Dfile_util.cpp377 std::string GetFirstLine(const std::string& path) in GetFirstLine() function
/ohos5.0/foundation/multimodalinput/input/service/module_loader/include/
H A Dwatchdog_task.h31 std::string GetFirstLine(const std::string& path);
/ohos5.0/foundation/multimodalinput/input/service/module_loader/test/
H A Dwatchdog_task_test.cpp46 auto ret = watchdogtask.GetFirstLine(path);
/ohos5.0/base/hiviewdfx/hicollie/frameworks/native/
H A Dxcollie_utils.h84 std::string GetFirstLine(const std::string& path);
H A Dxcollie_utils.cpp84 std::string GetFirstLine(const std::string& path) in GetFirstLine() function
134 std::string procCmdlineContent = GetFirstLine(procCmdlinePath); in GetProcessNameFromProcCmdline()
/ohos5.0/base/hiviewdfx/hiview/base/utility/include/
H A Dfile_util.h101 std::string GetFirstLine(const std::string& path);
/ohos5.0/base/hiviewdfx/hiview/framework/native/unified_collection/collector/
H A Dio_collector_impl.cpp351 mmcInfo.type = FileUtil::GetFirstLine(path + "/type"); in ReadEMMCInfo()
356 mmcInfo.csd = FileUtil::GetFirstLine(path + "/csd"); in ReadEMMCInfo()
357 mmcInfo.name = FileUtil::GetFirstLine(path + "/name"); in ReadEMMCInfo()
/ohos5.0/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/
H A Dpeer_binder_catcher.cpp325 std::string firstLine = FileUtil::GetFirstLine(cgroupPath); in IsAncoProc()
/ohos5.0/base/hiviewdfx/hiview/base/
H A Dlibhiviewbase.map301 …"OHOS::HiviewDFX::FileUtil::GetFirstLine(std::__h::basic_string<char, std::__h::char_traits<char>,…