Home
last modified time | relevance | path

Searched refs:BatteryCapacityReporter (Results 1 – 4 of 4) sorted by relevance

/hardware/google/pixel/pixelstats/
DBatteryCapacityReporter.cpp41 BatteryCapacityReporter::BatteryCapacityReporter() { in BatteryCapacityReporter() function in android::hardware::google::pixel::BatteryCapacityReporter
44 static_assert(static_cast<int>(BatteryCapacityReporter::LOG_REASON_UNKNOWN) == in BatteryCapacityReporter()
46 static_assert(static_cast<int>(BatteryCapacityReporter::LOG_REASON_CONNECTED) == in BatteryCapacityReporter()
48 static_assert(static_cast<int>(BatteryCapacityReporter::LOG_REASON_DISCONNECTED) == in BatteryCapacityReporter()
50 static_assert(static_cast<int>(BatteryCapacityReporter::LOG_REASON_FULL_CHARGE) == in BatteryCapacityReporter()
52 static_assert(static_cast<int>(BatteryCapacityReporter::LOG_REASON_PERCENT_SKIP) == in BatteryCapacityReporter()
54 static_assert(static_cast<int>(BatteryCapacityReporter::LOG_REASON_DIVERGING_FG) == in BatteryCapacityReporter()
58 void BatteryCapacityReporter::checkAndReport(const std::string &path) { in checkAndReport()
66 int64_t BatteryCapacityReporter::getTimeSecs(void) { in getTimeSecs()
70 bool BatteryCapacityReporter::parse(const std::string &path) { in parse()
[all …]
DAndroid.bp51 "BatteryCapacityReporter.cpp",
/hardware/google/pixel/pixelstats/include/pixelstats/
DBatteryCapacityReporter.h28 class BatteryCapacityReporter {
30 BatteryCapacityReporter();
DUeventListener.h66 BatteryCapacityReporter battery_capacity_reporter_;