Lines Matching refs:BatteryCapacityReporter
44 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()
98 bool BatteryCapacityReporter::shouldReportEvent(void) { in shouldReportEvent()
133 bool BatteryCapacityReporter::checkLogEvent(void) { in checkLogEvent()
178 void BatteryCapacityReporter::reportEvent(const std::shared_ptr<IStats> &stats_client) { in reportEvent()