Home
last modified time | relevance | path

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

/tools/tradefederation/contrib/src/com/android/media/tests/
DCameraPerformanceTest.java533 Map<String, List<Double>> metricsData = new HashMap<>(); in parse() local
564 if (!metricsData.containsKey(kpiKey)) { in parse()
566 metricsData.put(kpiKey, list); in parse()
569 metricsData.get(kpiKey).add(jsonDataArray.getDouble(j)); in parse()
586 if (!metricsData.containsKey(kpiKey)) { in parse()
588 metricsData.put(kpiKey, list); in parse()
592 metricsData.get(kpiKey).add(jsonDataArray.getDouble(j)); in parse()
606 for (String kpiKey : metricsData.keySet()) { in parse()
607 String kpiValue = String.format("%.1f", getAverage(metricsData.get(kpiKey))); in parse()
/tools/tradefederation/core/javatests/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()