Home
last modified time | relevance | path

Searched refs:voltage_avg (Results 1 – 2 of 2) sorted by relevance

/hardware/google/pixel/health/
DLowBatteryShutdownMetrics.cpp31 LowBatteryShutdownMetrics::LowBatteryShutdownMetrics(const char *const voltage_avg, in LowBatteryShutdownMetrics() argument
33 : kVoltageAvg(voltage_avg), kPersistProp(persist_prop) { in LowBatteryShutdownMetrics()
54 int32_t voltage_avg; in uploadVoltageAvg() local
56 if (!(voltage_avg = stoi(item))) { in uploadVoltageAvg()
60 LOG(INFO) << "Uploading voltage_avg: " << std::to_string(voltage_avg); in uploadVoltageAvg()
61 shutdown.set_last_recorded_micro_volt(voltage_avg); in uploadVoltageAvg()
71 std::string voltage_avg; in saveVoltageAvg() local
74 if (!ReadFileToString(kVoltageAvg, &voltage_avg)) { in saveVoltageAvg()
78 voltage_avg = ::android::base::Trim(voltage_avg); in saveVoltageAvg()
84 prop_contents += voltage_avg; in saveVoltageAvg()
/hardware/google/pixel/health/include/pixelhealth/
DLowBatteryShutdownMetrics.h38 const char *const voltage_avg,