Home
last modified time | relevance | path

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

/hardware/google/pixel/health/
DBatteryMetricsLogger.cpp129 for (int metric = 0; metric < NUM_FIELDS; metric++) { in uploadMetrics() local
130 if ((metric == RES && num_res_samples_ == 0) || kStatsSnapshotType[metric] < 0) in uploadMetrics()
132 std::string log_min = "min-" + std::to_string(metric) + " "; in uploadMetrics()
133 std::string log_max = "max-" + std::to_string(metric) + " "; in uploadMetrics()
135 log_min += std::to_string(min_[metric][j]) + " "; in uploadMetrics()
136 log_max += std::to_string(max_[metric][j]) + " "; in uploadMetrics()
141 uploadOutlierMetric(stats_client, static_cast<sampleType>(metric)); in uploadMetrics()
191 for (int metric = 0; metric < NUM_FIELDS; metric++) { in recordSample() local
193 if ((metric == RES && props->batteryStatus == android::BATTERY_STATUS_CHARGING) || in recordSample()
194 kStatsSnapshotType[metric] < 0) in recordSample()
[all …]
/hardware/interfaces/drm/1.1/vts/functional/include/android/hardware/drm/1.1/vts/
Ddrm_hal_clearkey_test.h161 bool ValidateMetricAttributeAndValue(const DrmMetricGroup::Metric& metric, in ValidateMetricAttributeAndValue() argument
166 for (const DrmMetricGroup::Attribute& attribute : metric.attributes) { in ValidateMetricAttributeAndValue()
172 for (const DrmMetricGroup::Value& value : metric.values) { in ValidateMetricAttributeAndValue()
188 for (const auto& metric : group.metrics) { in ValidateMetricAttributeAndValue() local
189 if (metric.name == metricName) { in ValidateMetricAttributeAndValue()
191 metric, attributeName, attributeValue, in ValidateMetricAttributeAndValue()
/hardware/interfaces/drm/1.4/vts/functional/
Ddrm_hal_test.cpp137 for (const auto& metric : group.metrics) { in TEST_P() local
138 for (const auto& value : metric.values) { in TEST_P()
144 for (const auto& attr : metric.attributes) { in TEST_P()
/hardware/interfaces/drm/1.1/
DIDrmPlugin.hal181 * Returns the plugin-specific metrics. Multiple metric groups may be
188 * @return metric_groups the collection of metric groups provided by the