Lines Matching refs:path

44 bool ThermalStatsReporter::readDfsCount(const std::string &path, int64_t *val) {  in readDfsCount()  argument
47 if (path.empty()) { in readDfsCount()
52 if (!ReadFileToString(path.c_str(), &file_contents)) { in readDfsCount()
53 ALOGE("Unable to read %s - %s", path.c_str(), strerror(errno)); in readDfsCount()
64 path.c_str()); in readDfsCount()
78 std::string path; in captureThermalDfsStats() local
86 path = thermal_stats_paths[ThermalDfsStats::kBigDfsCountFieldNumber - kVendorAtomOffset]; in captureThermalDfsStats()
87 if (!readDfsCount(path, &(pcur_data->big_count))) { in captureThermalDfsStats()
93 path = thermal_stats_paths[ThermalDfsStats::kMidDfsCountFieldNumber - kVendorAtomOffset]; in captureThermalDfsStats()
94 if (!readDfsCount(path, &(pcur_data->mid_count))) { in captureThermalDfsStats()
100 path = thermal_stats_paths[ThermalDfsStats::kLittleDfsCountFieldNumber - kVendorAtomOffset]; in captureThermalDfsStats()
101 if (!readDfsCount(path, &(pcur_data->little_count))) { in captureThermalDfsStats()
107 path = thermal_stats_paths[ThermalDfsStats::kGpuDfsCountFieldNumber - kVendorAtomOffset]; in captureThermalDfsStats()
108 if (!readDfsCount(path, &(pcur_data->gpu_count))) { in captureThermalDfsStats()
114 path = thermal_stats_paths[ThermalDfsStats::kTpuDfsCountFieldNumber - kVendorAtomOffset]; in captureThermalDfsStats()
115 if (!readDfsCount(path, &(pcur_data->tpu_count))) { in captureThermalDfsStats()
121 path = thermal_stats_paths[ThermalDfsStats::kAurDfsCountFieldNumber - kVendorAtomOffset]; in captureThermalDfsStats()
122 if (!readDfsCount(path, &(pcur_data->aur_count))) { in captureThermalDfsStats()