/aosp_15_r20/hardware/google/pixel/pixelstats/ |
D | MitigationStatsReporter.cpp | 43 bool MitigationStatsReporter::ReadFileToInt(const std::string &path, int *val) { in ReadFileToInt() function in android::hardware::google::pixel::MitigationStatsReporter 139 ReadFileToInt(kMitigationDir + "/last_triggered_capacity/batoilo_cap", in logMitigationCap() 141 ReadFileToInt(kMitigationDir + "/last_triggered_capacity/batoilo2_cap", in logMitigationCap() 143 ReadFileToInt(kMitigationDir + "/last_triggered_capacity/ocp_cpu1_cap", in logMitigationCap() 145 ReadFileToInt(kMitigationDir + "/last_triggered_capacity/ocp_cpu2_cap", in logMitigationCap() 147 ReadFileToInt(kMitigationDir + "/last_triggered_capacity/ocp_gpu_cap", in logMitigationCap() 149 ReadFileToInt(kMitigationDir + "/last_triggered_capacity/ocp_tpu_cap", in logMitigationCap() 151 ReadFileToInt(kMitigationDir + "/last_triggered_capacity/smpl_warn_cap", in logMitigationCap() 153 ReadFileToInt(kMitigationDir + "/last_triggered_capacity/soft_ocp_cpu1_cap", in logMitigationCap() 155 ReadFileToInt(kMitigationDir + "/last_triggered_capacity/soft_ocp_cpu2_cap", in logMitigationCap() [all …]
|
D | SysfsCollector.cpp | 151 bool SysfsCollector::ReadFileToInt(const std::string &path, int *val) { in ReadFileToInt() function in android::hardware::google::pixel::SysfsCollector 152 return ReadFileToInt(path.c_str(), val); in ReadFileToInt() 155 bool SysfsCollector::ReadFileToInt(const char *const path, int *val) { in ReadFileToInt() function in android::hardware::google::pixel::SysfsCollector 421 } else if (!ReadFileToInt(kSpeakerVersionPath, &version)) { in logSpeakerHealthStats() 533 if (!ReadFileToInt(kBatteryCapacityCC, &delta_cc_sum) || in logBatteryCapacity() 534 !ReadFileToInt(kBatteryCapacityVFSOC, &delta_vfsoc_sum)) in logBatteryCapacity() 570 if (!ReadFileToInt(kUFSLifetimeA, &lifetimeA) || in logUFSLifetime() 571 !ReadFileToInt(kUFSLifetimeB, &lifetimeB) || in logUFSLifetime() 572 !ReadFileToInt(kUFSLifetimeC, &lifetimeC)) { in logUFSLifetime() 606 if (!ReadFileToInt(kUFSErrStatsPath[i], &value)) { in logUFSErrorStats() [all …]
|
D | UeventListener.cpp | 89 bool UeventListener::ReadFileToInt(const std::string &path, int *val) { in ReadFileToInt() function in android::hardware::google::pixel::UeventListener 90 return ReadFileToInt(path.c_str(), val); in ReadFileToInt() 93 bool UeventListener::ReadFileToInt(const char *const path, int *val) { in ReadFileToInt() function in android::hardware::google::pixel::UeventListener 167 ReadFileToInt((kUsbPortOverheatPath + "/plug_temp"), &plug_temperature_deci_c); in ReportUsbPortOverheatEvent() 168 ReadFileToInt((kUsbPortOverheatPath + "/max_temp"), &max_temperature_deci_c); in ReportUsbPortOverheatEvent() 169 ReadFileToInt((kUsbPortOverheatPath + "/trip_time"), &time_to_overheat_secs); in ReportUsbPortOverheatEvent() 170 ReadFileToInt((kUsbPortOverheatPath + "/hysteresis_time"), &time_to_hysteresis_secs); in ReportUsbPortOverheatEvent() 171 ReadFileToInt((kUsbPortOverheatPath + "/cleared_time"), &time_to_inactive_secs); in ReportUsbPortOverheatEvent()
|
D | BatteryEEPROMReporter.cpp | 48 bool BatteryEEPROMReporter::ReadFileToInt(const std::string &path, int16_t *val) { in ReadFileToInt() function in android::hardware::google::pixel::BatteryEEPROMReporter 119 ReadFileToInt(kBatteryPairingPath, &hist.battery_pairing); in checkAndReport()
|
/aosp_15_r20/hardware/google/pixel/pixelstats/include/pixelstats/ |
D | UeventListener.h | 80 bool ReadFileToInt(const std::string &path, int *val); 81 bool ReadFileToInt(const char *path, int *val);
|
D | SysfsCollector.h | 111 bool ReadFileToInt(const std::string &path, int *val); 112 bool ReadFileToInt(const char *path, int *val);
|
D | MitigationStatsReporter.h | 84 bool ReadFileToInt(const std::string &path, int *val);
|
D | BatteryEEPROMReporter.h | 176 bool ReadFileToInt(const std::string &path, int16_t *val);
|