Home
last modified time | relevance | path

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

/hardware/google/pixel/health/
DBatteryMetricsLogger.cpp102 for (int metric = 0; metric < NUM_FIELDS; metric++) { in uploadMetrics() local
103 if ((metric == RES && num_res_samples_ == 0) || kStatsSnapshotType[metric] < 0) in uploadMetrics()
105 std::string log_min = "min-" + std::to_string(metric) + " "; in uploadMetrics()
106 std::string log_max = "max-" + std::to_string(metric) + " "; in uploadMetrics()
108 log_min += std::to_string(min_[metric][j]) + " "; in uploadMetrics()
109 log_max += std::to_string(max_[metric][j]) + " "; in uploadMetrics()
114 uploadOutlierMetric(stats_client, static_cast<sampleType>(metric)); in uploadMetrics()
175 for (int metric = 0; metric < NUM_FIELDS; metric++) { in recordSample() local
177 if ((metric == RES && props->batteryStatus == android::BATTERY_STATUS_CHARGING) || in recordSample()
178 kStatsSnapshotType[metric] < 0) in recordSample()
[all …]
/hardware/interfaces/drm/1.1/
Dtypes.hal67 * A detail about the metric being captured. The fields of an Attribute
82 * A value of the metric. A metric may have multiple values. The
84 * one value for the given metric. The fields of the Value are
99 * The metric being captured. A metric must have a name and at least one
100 * value. A metric may have 0 or more attributes. The fields of a Metric
107 // for capturing different aspects of the same metric. E.g. capture
108 // the min, max, average, count, and stdev of a particular metric.
DIDrmPlugin.hal181 * Returns the plugin-specific metrics. Multiple metric groups may be
188 * @return metric_groups the collection of metric groups provided by the
/hardware/interfaces/drm/1.1/vts/functional/
Ddrm_hal_clearkey_test.cpp226 bool ValidateMetricAttributeAndValue(const DrmMetricGroup::Metric& metric, in ValidateMetricAttributeAndValue() argument
231 for (const DrmMetricGroup::Attribute& attribute : metric.attributes) { in ValidateMetricAttributeAndValue()
237 for (const DrmMetricGroup::Value& value : metric.values) { in ValidateMetricAttributeAndValue()
253 for (const auto& metric : group.metrics) { in ValidateMetricAttributeAndValue() local
254 if (metric.name == metricName) { in ValidateMetricAttributeAndValue()
256 metric, attributeName, attributeValue, in ValidateMetricAttributeAndValue()