Searched refs:metric (Results 1 – 4 of 4) sorted by relevance
129 for (int metric = 0; metric < NUM_FIELDS; metric++) { in uploadMetrics() local130 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() local193 if ((metric == RES && props->batteryStatus == android::BATTERY_STATUS_CHARGING) || in recordSample()194 kStatsSnapshotType[metric] < 0) in recordSample()[all …]
161 bool ValidateMetricAttributeAndValue(const DrmMetricGroup::Metric& metric, in ValidateMetricAttributeAndValue() argument166 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() local189 if (metric.name == metricName) { in ValidateMetricAttributeAndValue()191 metric, attributeName, attributeValue, in ValidateMetricAttributeAndValue()
137 for (const auto& metric : group.metrics) { in TEST_P() local138 for (const auto& value : metric.values) { in TEST_P()144 for (const auto& attr : metric.attributes) { in TEST_P()
181 * Returns the plugin-specific metrics. Multiple metric groups may be188 * @return metric_groups the collection of metric groups provided by the