Home
last modified time | relevance | path

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

/hardware/google/pixel/pixelstats/
DBatteryCapacityReporter.cpp44 BatteryCapacityReporter::BatteryCapacityReporter() { in BatteryCapacityReporter() function in android::hardware::google::pixel::BatteryCapacityReporter
47 static_assert(static_cast<int>(BatteryCapacityReporter::LOG_REASON_UNKNOWN) == in BatteryCapacityReporter()
49 static_assert(static_cast<int>(BatteryCapacityReporter::LOG_REASON_CONNECTED) == in BatteryCapacityReporter()
51 static_assert(static_cast<int>(BatteryCapacityReporter::LOG_REASON_DISCONNECTED) == in BatteryCapacityReporter()
53 static_assert(static_cast<int>(BatteryCapacityReporter::LOG_REASON_FULL_CHARGE) == in BatteryCapacityReporter()
55 static_assert(static_cast<int>(BatteryCapacityReporter::LOG_REASON_PERCENT_SKIP) == in BatteryCapacityReporter()
57 static_assert(static_cast<int>(BatteryCapacityReporter::LOG_REASON_DIVERGING_FG) == in BatteryCapacityReporter()
61 void BatteryCapacityReporter::checkAndReport(const std::shared_ptr<IStats> &stats_client, in checkAndReport()
70 int64_t BatteryCapacityReporter::getTimeSecs(void) { in getTimeSecs()
74 bool BatteryCapacityReporter::parse(const std::string &path) { in parse()
[all …]
DAndroid.bp60 "BatteryCapacityReporter.cpp",
/hardware/google/pixel/pixelstats/include/pixelstats/
DBatteryCapacityReporter.h34 class BatteryCapacityReporter {
36 BatteryCapacityReporter();
DUeventListener.h110 BatteryCapacityReporter battery_capacity_reporter_;