/tools/tradefederation/core/test_framework/com/android/tradefed/postprocessor/ |
D | StatsdBeforeAfterGaugeMetricPostProcessor.java | 234 for (String metricKey : in parseMetricsFromReportList() 236 List<String> beforeValues = atomBeforeMetrics.get(metricKey); in parseMetricsFromReportList() 237 List<String> afterValues = atomAfterMetrics.get(metricKey); in parseMetricsFromReportList() 247 metricKey, in parseMetricsFromReportList() 248 beforekeyToFormatterOutput.get(atomName).get(metricKey), in parseMetricsFromReportList() 262 metricKey, in parseMetricsFromReportList() 263 afterkeyToFormatterOutput.get(atomName).get(metricKey), in parseMetricsFromReportList() 274 metricKey, in parseMetricsFromReportList() 282 metricKey, in parseMetricsFromReportList() 284 beforekeyToFormatterOutput.get(atomName).get(metricKey), in parseMetricsFromReportList() [all …]
|
D | StatsdEventMetricPostProcessor.java | 155 for (String metricKey : metricKeys) { in getMetricsByFormatters() 157 metrics.put(metricKey, metricValue); in getMetricsByFormatters()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/ |
D | BluetoothConnectionLatencyCollector.java | 107 String metricKey; in processBluetoothConnectionLatencyData() local 109 metricKey = in processBluetoothConnectionLatencyData() 116 metricKey = in processBluetoothConnectionLatencyData() 127 device.getSerialNumber(), metricKey, durationMs); in processBluetoothConnectionLatencyData() 130 metricKey, in processBluetoothConnectionLatencyData()
|
D | BluetoothConnectionStateCollector.java | 72 String metricKey = String.join("_", key, "connection_state_changed"); in addMetricsToRunData() local 78 device.getSerialNumber(), metricKey, states.toString()); in addMetricsToRunData() 80 device, metricKey, Metric.newBuilder().setMeasurements(measurements)); in addMetricsToRunData()
|
D | LogcatTimingMetricCollector.java | 202 String metricKey = item.getName(); in parse() local 203 if (!metrics.containsKey(metricKey)) { in parse() 204 metrics.put(metricKey, new ArrayList<>()); in parse() 206 metrics.get(metricKey).add(item.getDuration()); in parse()
|
/tools/tradefederation/core/src/com/android/tradefed/postprocessor/ |
D | AggregatePostProcessor.java | 85 for (String metricKey : storedMetricsForThisTest.keySet()) { in processTestMetricsAndLogs() 86 List<Metric> metrics = storedMetricsForThisTest.get(metricKey); in processTestMetricsAndLogs() 111 buildStats(metricKey, rawValues, aggregateMetrics); in processTestMetricsAndLogs() 142 private void buildStats(String metricKey, List<String> values, in buildStats() argument 153 String.join(STATS_KEY_SEPARATOR, metricKey, statKey), in buildStats()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | ConsoleResultReporter.java | 128 for (String metricKey : metricKeys) { in testRunEnded() 129 sb.append(String.format("%s=%s\n", metricKey, metrics.get(metricKey))); in testRunEnded() 238 for (String metricKey : metricKeys) { in getTestSummary() 239 sb.append(String.format(" %s: %s\n", metricKey, metrics.get(metricKey))); in getTestSummary()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | MetricUtility.java | 182 for (String metricKey : currentTest.keySet()) { in aggregateStoredTestMetricsAndWriteToFile() 183 List<Metric> metrics = currentTest.get(metricKey); in aggregateStoredTestMetricsAndWriteToFile() 207 buildStats(metricKey, rawValues, aggregateMetrics); in aggregateStoredTestMetricsAndWriteToFile() 317 private void buildStats(String metricKey, List<String> values, 328 String.join(STATS_KEY_SEPARATOR, metricKey, statKey),
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | NativeBenchmarkTest.java | 231 String metricKey = String.format("%s-delay%d", AVG_OP_TIME_KEY_PREFIX, delay); in addMetric() local 233 metricMap.put(metricKey, Double.toString(resultParser.getAvgOperationTime()*1000000)); in addMetric()
|