Home
last modified time | relevance | path

Searched refs:metricsData (Results 1 – 2 of 2) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DDeviceMetricDataFuncTest.java100 HashMap<String, Metric> metricsData = new HashMap<String, Metric>(futures.size()); in testAddToMetricsMultiThreaded() local
102 metricsData.putAll(future.get()); in testAddToMetricsMultiThreaded()
106 assertEquals(threadCount, metricsData.size()); in testAddToMetricsMultiThreaded()
/tools/tradefederation/contrib/src/com/android/media/tests/
DCameraPerformanceTest.java525 Map<String, List<Double>> metricsData = new HashMap<>(); in parse() local
556 if (!metricsData.containsKey(kpiKey)) { in parse()
558 metricsData.put(kpiKey, list); in parse()
561 metricsData.get(kpiKey).add(jsonDataArray.getDouble(j)); in parse()
577 if (!metricsData.containsKey(kpiKey)) { in parse()
579 metricsData.put(kpiKey, list); in parse()
583 metricsData.get(kpiKey).add(jsonDataArray.getDouble(j)); in parse()
597 for (String kpiKey : metricsData.keySet()) { in parse()
598 String kpiValue = String.format("%.1f", getAverage(metricsData.get(kpiKey))); in parse()