Home
last modified time | relevance | path

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

/hardware/google/pixel/health/
DLowBatteryShutdownMetrics.cpp36 : kVoltageAvg(voltage_avg), kPersistProp(persist_prop) { in LowBatteryShutdownMetrics()
42 std::string prop_contents = GetProperty(kPersistProp, ""); in uploadVoltageAvg()
43 LOG(INFO) << kPersistProp << " property contents: " << prop_contents; in uploadVoltageAvg()
68 SetProperty(kPersistProp, ""); in uploadVoltageAvg()
81 prop_contents = GetProperty(kPersistProp, ""); in saveVoltageAvg()
88 LOG(INFO) << "Saving \"" << prop_contents << "\" to " << kPersistProp; in saveVoltageAvg()
90 return SetProperty(kPersistProp, prop_contents); in saveVoltageAvg()
/hardware/google/pixel/health/include/pixelhealth/
DLowBatteryShutdownMetrics.h44 const char *const kPersistProp; variable