Searched refs:currentMetrics (Results 1 – 4 of 4) sorted by relevance
/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/ |
D | ShowmapPullerMetricCollectorTest.java | 104 HashMap<String, Metric> currentMetrics = new HashMap<>(); in test16ColumnHeaders() local 105 currentMetrics.put( in test16ColumnHeaders() 113 mShowmapMetricCollector.testEnded(testDesc, currentMetrics); in test16ColumnHeaders() 115 Assert.assertEquals(16, currentMetrics.size()); in test16ColumnHeaders() 118 currentMetrics in test16ColumnHeaders() 155 HashMap<String, Metric> currentMetrics = new HashMap<>(); in test17ColumnHeaders() local 156 currentMetrics.put( in test17ColumnHeaders() 164 mShowmapMetricCollector.testEnded(testDesc, currentMetrics); in test17ColumnHeaders() 166 Assert.assertEquals(16, currentMetrics.size()); in test17ColumnHeaders() 169 currentMetrics in test17ColumnHeaders() [all …]
|
D | PerfettoPullerMetricCollectorTest.java | 81 HashMap<String, Metric> currentMetrics = new HashMap<>(); in testNoProcessingFlow() local 88 mPerfettoMetricCollector.testEnded(testDesc, currentMetrics); in testNoProcessingFlow() 91 currentMetrics.size() == 0); in testNoProcessingFlow() 100 HashMap<String, Metric> currentMetrics = new HashMap<>(); in testProcessingFlow() local 101 currentMetrics.put("perfettofile", TfMetricProtoUtil.stringToMetric("/data/trace.pb")); in testProcessingFlow() 115 mPerfettoMetricCollector.testEnded(testDesc, currentMetrics); in testProcessingFlow() 116 mPerfettoMetricCollector.testRunEnded(100L, currentMetrics); in testProcessingFlow() 123 currentMetrics.get("perfetto_trace_extractor_status").getMeasurements() in testProcessingFlow() 126 currentMetrics.get("perfetto_trace_extractor_runtime").getMeasurements() in testProcessingFlow() 129 currentMetrics.get("perfetto_trace_file_size_bytes")); in testProcessingFlow() [all …]
|
D | FilePullerDeviceMetricCollectorTest.java | 92 HashMap<String, Metric> currentMetrics = new HashMap<>(); in testPullMatchingKey() local 93 currentMetrics.put("coverageFile", TfMetricProtoUtil.stringToMetric("/data/coverage")); in testPullMatchingKey() 99 mFilePuller.testRunEnded(500, currentMetrics); in testPullMatchingKey() 114 HashMap<String, Metric> currentMetrics = new HashMap<>(); in testPullMultipleMatchingKeyInMetrics() local 115 currentMetrics.put("coverageFile", TfMetricProtoUtil.stringToMetric("/data/coverage1")); in testPullMultipleMatchingKeyInMetrics() 116 currentMetrics.put("coverageFileAnother", in testPullMultipleMatchingKeyInMetrics() 125 mFilePuller.testRunEnded(500, currentMetrics); in testPullMultipleMatchingKeyInMetrics() 143 HashMap<String, Metric> currentMetrics = new HashMap<>(); in testPullMatchingKeyPattern() local 144 currentMetrics.put("coverageFile", TfMetricProtoUtil.stringToMetric("/data/coverage")); in testPullMatchingKeyPattern() 150 mFilePuller.testRunEnded(500, currentMetrics); in testPullMatchingKeyPattern() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | FilePullerDeviceMetricCollector.java | 130 Map<String, String> currentMetrics = TfMetricProtoUtil in processMetricRequest() local 132 currentMetrics.putAll(mTestCaseMetrics); in processMetricRequest() 149 Map<String, File> pulledMetrics = pullMetricFile(key, currentMetrics, deviceUsers); in processMetricRequest() 189 final Map<String, String> currentMetrics, in pullMetricFile() argument 195 for (Entry<String, String> entry : currentMetrics.entrySet()) { in pullMetricFile()
|