Home
last modified time | relevance | path

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

/hardware/google/pixel/health/include/pixelhealth/
DBatteryMetricsLogger.h61 NUM_FIELDS, // do not reference enumerator
64 const int kStatsSnapshotType[NUM_FIELDS] = {
86 int32_t min_[NUM_FIELDS][NUM_FIELDS];
87 int32_t max_[NUM_FIELDS][NUM_FIELDS];
/hardware/google/pixel/health/
DBatteryMetricsLogger.cpp108 for (int metric = 0; metric < NUM_FIELDS; metric++) { in uploadMetrics()
113 for (int j = 0; j < NUM_FIELDS; j++) { in uploadMetrics()
158 int32_t sample[NUM_FIELDS] = {[TIME] = time, in recordSample()
170 for (int metric = 0; metric < NUM_FIELDS; metric++) { in recordSample()
177 for (int i = 0; i < NUM_FIELDS; i++) { // update new min with current sample in recordSample()
183 for (int i = 0; i < NUM_FIELDS; i++) { // update new max with current sample in recordSample()