Searched refs:ReadFileToUint (Results 1 – 2 of 2) sorted by relevance
226 bool MmMetricsReporter::ReadFileToUint(const std::string &path, uint64_t *val) { in ReadFileToUint() function in android::hardware::google::pixel::MmMetricsReporter440 if (!ReadFileToUint(getSysfsPath(kIonTotalPoolsPathForLegacy), &res) || (res == 0)) { in getIonTotalPools()441 if (!ReadFileToUint(getSysfsPath(kIonTotalPoolsPath), &res)) { in getIonTotalPools()455 if (!ReadFileToUint(getSysfsPath(kGpuTotalPages), &gpu_size)) { in getGpuMemory()961 if (!ReadFileToUint(getSysfsPath(path.c_str()), &file_contents)) in readCmaStat()1704 if (!ReadFileToUint(path, &val)) { in readAndGenGcmaPerHour()1726 if (!ReadFileToUint(path, &val)) { in readAndGenGcmaPerDay()1738 if (!ReadFileToUint(path, &val)) { in readAndGenGcmaPerDay()
175 bool ReadFileToUint(const std::string &path, uint64_t *val);