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()
99 << std::to_string(num_samples_) << " samples"; in uploadMetrics()
128 num_samples_ = 0; in uploadMetrics()
175 if (num_samples_ == 0 || (metric == RES && num_res_samples_ == 0) || in recordSample()
181 if (num_samples_ == 0 || (metric == RES && num_res_samples_ == 0) || in recordSample()
189 num_samples_++; in recordSample()
198 if (last_sample_ - last_upload_ > kUploadPeriod || num_samples_ >= kMaxSamples) in logBatteryProperties()
/hardware/google/pixel/health/include/pixelhealth/
DBatteryMetricsLogger.h89 int32_t num_samples_; // number of min/max samples since last upload variable