/tools/tradefederation/core/tests/src/com/android/tradefed/postprocessor/ |
D | AggregatePostProcessorTest.java | 83 HashMap<String, Metric> testMetrics = new HashMap<String, Metric>(); in testSingularDoubleMetric() local 87 testMetrics.put(singularDoubleKey, currentTestMetric); in testSingularDoubleMetric() 89 mProcessor.processTestMetricsAndLogs(TEST_1, testMetrics, new HashMap<>()); in testSingularDoubleMetric() 185 HashMap<String, Metric> testMetrics = new HashMap<String, Metric>(); in testListDoubleMetric() local 189 testMetrics.put(listDoubleKey, currentTestMetric); in testListDoubleMetric() 191 mProcessor.processTestMetricsAndLogs(TEST_1, testMetrics, new HashMap<>()); in testListDoubleMetric() 276 HashMap<String, Metric> testMetrics = new HashMap<String, Metric>(); in testNonNumericMetric() local 280 testMetrics.put(nonNumericKey, currentTestMetric); in testNonNumericMetric() 282 mProcessor.processTestMetricsAndLogs(TEST_1, testMetrics, new HashMap<>()); in testNonNumericMetric() 318 HashMap<String, Metric> testMetrics = new HashMap<String, Metric>(); in testEmptyResult() local [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/postprocessor/ |
D | BasePostProcessor.java | 69 HashMap<String, Metric> testMetrics, in processTestMetricsAndLogs() argument 219 public final void testEnded(TestDescription test, Map<String, String> testMetrics) { in testEnded() argument 220 testEnded(test, System.currentTimeMillis(), testMetrics); in testEnded() 225 TestDescription test, long endTime, Map<String, String> testMetrics) { in testEnded() argument 226 testEnded(test, endTime, TfMetricProtoUtil.upgradeConvert(testMetrics)); in testEnded() 230 public final void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() argument 231 testEnded(test, System.currentTimeMillis(), testMetrics); in testEnded() 236 TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 239 HashMap<String, Metric> rawValues = getRawMetricsOnly(testMetrics); in testEnded() 253 if (testMetrics.containsKey(newKey)) { in testEnded() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | FilteredResultForwarder.java | 55 public void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() argument 59 super.testEnded(test, testMetrics); in testEnded() 63 public void testEnded(TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 67 super.testEnded(test, endTime, testMetrics); in testEnded() 71 public void testEnded(TestDescription test, long endTime, Map<String, String> testMetrics) { in testEnded() argument 75 super.testEnded(test, endTime, testMetrics); in testEnded() 79 public void testEnded(TestDescription test, Map<String, String> testMetrics) { in testEnded() argument 83 super.testEnded(test, testMetrics); in testEnded()
|
D | TestResultListener.java | 74 public final void testEnded(TestDescription test, Map<String, String> testMetrics) { in testEnded() argument 75 mCurrentResult.setMetrics(testMetrics); in testEnded() 80 public final void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() argument 81 mCurrentResult.setProtoMetrics(testMetrics); in testEnded() 87 TestDescription test, long endTime, Map<String, String> testMetrics) { in testEnded() argument 88 mCurrentResult.setMetrics(testMetrics); in testEnded() 94 TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 95 mCurrentResult.setProtoMetrics(testMetrics); in testEnded()
|
D | ResultForwarder.java | 312 public void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() argument 313 testEnded(test, System.currentTimeMillis(), testMetrics); in testEnded() 318 public void testEnded(TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 321 listener.testEnded(test, endTime, testMetrics); in testEnded()
|
D | CollectingTestListener.java | 283 public void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() argument 284 testEnded(test, System.currentTimeMillis(), testMetrics); in testEnded() 289 public void testEnded(TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 291 mCurrentTestRunResult.testEnded(test, endTime, testMetrics); in testEnded()
|
D | BugreportCollector.java | 436 public void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() argument 437 mListener.testEnded(test, testMetrics); in testEnded() 438 mCollector.testEnded(test, testMetrics); in testEnded()
|
D | NameMangleListener.java | 68 public void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() argument 70 mListener.testEnded(mangledTestId, testMetrics); in testEnded()
|
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/result/ |
D | ITestLifeCycleReceiver.java | 203 public default void testEnded(TestDescription test, Map<String, String> testMetrics) { in testEnded() argument 204 testEnded(test, TfMetricProtoUtil.upgradeConvert(testMetrics)); in testEnded() 216 public default void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) {} in testEnded() argument 227 TestDescription test, long endTime, Map<String, String> testMetrics) { in testEnded() argument 228 testEnded(test, endTime, TfMetricProtoUtil.upgradeConvert(testMetrics)); in testEnded() 240 TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 241 testEnded(test, testMetrics); in testEnded()
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | CameraTestBase.java | 261 Map<String, String> testMetrics); in handleMetricsOnTestEnded() argument 290 TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 291 super.testEnded(test, endTime, testMetrics); in testEnded() 292 handleMetricsOnTestEnded(test, TfMetricProtoUtil.compatibleConvert(testMetrics)); in testEnded() 294 mListener.testEnded(test, endTime, testMetrics); in testEnded() 426 … public void handleMetricsOnTestEnded(TestDescription test, Map<String, String> testMetrics) { in handleMetricsOnTestEnded() argument 427 if (testMetrics == null) { in handleMetricsOnTestEnded() 430 getAggregatedMetrics().putAll(testMetrics); in handleMetricsOnTestEnded()
|
D | Camera2FrameworkStressTest.java | 86 … public void handleMetricsOnTestEnded(TestDescription test, Map<String, String> testMetrics) { in handleMetricsOnTestEnded() argument 87 if (testMetrics == null) { in handleMetricsOnTestEnded() 90 for (Map.Entry<String, String> metric : testMetrics.entrySet()) { in handleMetricsOnTestEnded() 97 TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 104 testMetrics = TfMetricProtoUtil.upgradeConvert(parseLog(test.getTestName())); in testEnded() 105 super.testEnded(test, endTime, testMetrics); in testEnded()
|
D | Camera2StressTest.java | 81 TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 90 testMetrics.remove(KEY_NUM_ATTEMPTS); in testEnded() 91 testMetrics.remove(KEY_ITERATION); in testEnded() 95 for (Entry<String, Metric> entry : testMetrics.entrySet()) { in testEnded() 144 private void parseLog(String testName, Map<String, String> testMetrics) { in parseLog() argument 180 testMetrics.put(testName, resultMap.get(KEY_ITERATION)); in parseLog()
|
D | Camera2LatencyTest.java | 64 … public void handleMetricsOnTestEnded(TestDescription test, Map<String, String> testMetrics) { in handleMetricsOnTestEnded() argument 66 getAggregatedMetrics().putAll(parseResults(test.getTestName(), testMetrics)); in handleMetricsOnTestEnded() local 69 private Map<String, String> parseResults(String testName, Map<String, String> testMetrics) { in parseResults() argument 82 for (Map.Entry<String, String> metric : testMetrics.entrySet()) { in parseResults()
|
D | CameraShotLatencyTest.java | 68 … public void handleMetricsOnTestEnded(TestDescription test, Map<String, String> testMetrics) { in handleMetricsOnTestEnded() argument 70 getAggregatedMetrics().putAll(parseResults(test.getTestName(), testMetrics)); in handleMetricsOnTestEnded() local 73 public Map<String, String> parseResults(String testName, Map<String, String> testMetrics) { in parseResults() argument 79 for (Map.Entry<String, String> metric : testMetrics.entrySet()) { in parseResults()
|
D | CameraBurstStartupTest.java | 62 … public void handleMetricsOnTestEnded(TestDescription test, Map<String, String> testMetrics) { in handleMetricsOnTestEnded() argument 64 getAggregatedMetrics().putAll(parseResults(test.getTestName(), testMetrics)); in handleMetricsOnTestEnded() local 67 public Map<String, String> parseResults(String testName, Map<String, String> testMetrics) { in parseResults() argument 70 for (Map.Entry<String, String> metric : testMetrics.entrySet()) { in parseResults()
|
D | CameraStartupTest.java | 195 … public void handleMetricsOnTestEnded(TestDescription test, Map<String, String> testMetrics) { in handleMetricsOnTestEnded() argument 197 getAggregatedMetrics().putAll(parseResults(testMetrics)); in handleMetricsOnTestEnded() 208 public Map<String, String> parseResults(Map<String, String> testMetrics) { in parseResults() argument 223 for (Map.Entry<String, String> metric : testMetrics.entrySet()) { in parseResults()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/helper/ |
D | TelephonyHelperTest.java | 73 HashMap<String, String> testMetrics = new HashMap<>(); in testGetSimInfo() 74 testMetrics.put(TelephonyHelper.SIM_STATE_KEY, "5"); in testGetSimInfo() 75 testMetrics.put(TelephonyHelper.CARRIER_PRIVILEGES_KEY, "true"); in testGetSimInfo() 76 testMetrics.put(TelephonyHelper.SECURED_ELEMENT_KEY, "false"); in testGetSimInfo() 77 testMetrics.put(TelephonyHelper.SE_SERVICE_KEY, "false"); in testGetSimInfo() 78 collector.testEnded(TelephonyHelper.SIM_TEST, testMetrics); in testGetSimInfo()
|
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | BaseDeviceMetricCollector.java | 336 public final void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() argument 337 testEnded(test, System.currentTimeMillis(), testMetrics); in testEnded() 342 TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 345 onTestEnd(mTestData, testMetrics, test); in testEnded() 346 mTestData.addToMetrics(testMetrics); in testEnded() 354 mForwarder.testEnded(test, endTime, testMetrics); in testEnded()
|
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/ |
D | TestRunResult.java | 314 public void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() argument 315 testEnded(test, System.currentTimeMillis(), testMetrics); in testEnded() 318 public void testEnded(TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 327 result.setMetrics(TfMetricProtoUtil.compatibleConvert(testMetrics)); in testEnded() 328 result.setProtoMetrics(testMetrics); in testEnded()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ModuleListener.java | 147 public void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() argument 148 testEnded(test, System.currentTimeMillis(), testMetrics); in testEnded() 153 public void testEnded(TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 155 super.testEnded(test, endTime, testMetrics); in testEnded()
|
/tools/tradefederation/core/src/com/android/tradefed/result/proto/ |
D | ProtoResultReporter.java | 390 public void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() argument 391 testEnded(test, System.currentTimeMillis(), testMetrics); in testEnded() 396 TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 399 testBuilder.putAllMetrics(testMetrics); in testEnded()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | JsonHttpTestResultReporterTest.java | 122 Map<String, String> testMetrics = new HashMap<String, String>(1); in injectTestRun() local 123 testMetrics.put("test_metric", metricValue); in injectTestRun() 131 target.testEnded(test, TfMetricProtoUtil.upgradeConvert(testMetrics)); in injectTestRun()
|
D | CollectingTestListenerTest.java | 383 Map<String, String> testMetrics = new HashMap<String, String>(1); in injectTestRun() local 384 testMetrics.put(TEST_KEY, metricValue); in injectTestRun() 392 mCollectingTestListener.testEnded(test, TfMetricProtoUtil.upgradeConvert(testMetrics)); in injectTestRun()
|
D | BugreportCollectorTest.java | 325 Map<String, String> testMetrics = new HashMap<String, String>(1); in injectTestRun() local 326 testMetrics.put(TEST_KEY, metricValue); in injectTestRun() 334 mCollector.testEnded(test, TfMetricProtoUtil.upgradeConvert(testMetrics)); in injectTestRun()
|
/tools/tradefederation/core/src/com/android/tradefed/retry/ |
D | ResultAggregator.java | 272 public void testEnded(TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 273 super.testEnded(test, endTime, testMetrics); in testEnded() 274 mDetailedForwarder.testEnded(test, endTime, testMetrics); in testEnded()
|