Home
last modified time | relevance | path

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

/aosp12/hardware/google/pixel/pixelstats/
H A 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()
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()
[all …]
H A DAndroid.bp60 "BatteryCapacityReporter.cpp",
/aosp12/hardware/google/pixel/pixelstats/include/pixelstats/
H A DBatteryCapacityReporter.h34 class BatteryCapacityReporter {
36 BatteryCapacityReporter();
H A DUeventListener.h110 BatteryCapacityReporter battery_capacity_reporter_;