Home
last modified time | relevance | path

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

/hardware/google/pixel/health/
DBatteryMetricsLogger.cpp41 num_samples_ = 0; in BatteryMetricsLogger()
119 << std::to_string(num_samples_) << " samples"; in uploadMetrics()
148 num_samples_ = 0; in uploadMetrics()
195 if (num_samples_ == 0 || (metric == RES && num_res_samples_ == 0) || in recordSample()
201 if (num_samples_ == 0 || (metric == RES && num_res_samples_ == 0) || in recordSample()
209 num_samples_++; in recordSample()
218 if (last_sample_ - last_upload_ > kUploadPeriod || num_samples_ >= kMaxSamples) in logBatteryProperties()
/hardware/google/pixel/health/include/pixelhealth/
DBatteryMetricsLogger.h84 int32_t num_samples_; // number of min/max samples since last upload variable