Home
last modified time | relevance | path

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

/frameworks/base/core/tests/batterystatstests/BatteryStatsLoadTests/src/com/android/frameworks/core/batterystatsloadtests/
DPowerMetricsCollector.java190 if (metric.metricName.equals(initialMetric.metricName)) {
198 delta.metricName = initialMetric.metricName;
270 String.format(locale, "%-40s %7.1f mAh %4.1f%%", metric.metricName,
275 String.format(locale, "%-40s %,7d ms %4.1f%%", metric.metricName,
296 metric.metricName, metricDelta, drainedPower, percent));
302 if (metric.metricName.equals(name)) {
312 if (metric.metricName.equals(name)) {
DPowerMetrics.java36 public String metricName; field in PowerMetrics.Metric
103 metric.metricName = metricType; in addMetric()
/frameworks/av/drm/libmediadrm/
DDrmMetricsConsumer.cpp230 String16 metricName(hidlMetric.name.c_str()); in HidlMetricsToBundle() local
248 bundleMetricGroup.getPersistableBundle(metricName, in HidlMetricsToBundle()
250 int index = indexMap[metricName]; in HidlMetricsToBundle()
253 indexMap[metricName] = ++index; in HidlMetricsToBundle()
256 bundleMetricGroup.putPersistableBundle(metricName, in HidlMetricsToBundle()
/frameworks/base/services/core/java/com/android/server/
DBootReceiver.java656 private static void logTronShutdownMetric(String metricName, String valueStr) { in logTronShutdownMetric() argument
661 Slog.e(TAG, "Cannot parse metric " + metricName + " int value - " + valueStr); in logTronShutdownMetric()
665 MetricsLogger.histogram(null, metricName, value); in logTronShutdownMetric()