Home
last modified time | relevance | path

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

/hardware/google/pixel/health/
DLowBatteryShutdownMetrics.cpp33 : kVoltageAvg(voltage_avg), kPersistProp(persist_prop) { in LowBatteryShutdownMetrics()
39 std::string prop_contents = GetProperty(kPersistProp, ""); in uploadVoltageAvg()
40 LOG(INFO) << kPersistProp << " property contents: " << prop_contents; in uploadVoltageAvg()
66 SetProperty(kPersistProp, ""); in uploadVoltageAvg()
79 prop_contents = GetProperty(kPersistProp, ""); in saveVoltageAvg()
86 LOG(INFO) << "Saving \"" << prop_contents << "\" to " << kPersistProp; in saveVoltageAvg()
88 return SetProperty(kPersistProp, prop_contents); in saveVoltageAvg()
/hardware/google/pixel/health/include/pixelhealth/
DLowBatteryShutdownMetrics.h44 const char *const kPersistProp; variable