/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 | 80 public final void testEnded(TestDescription test, Map<String, String> testMetrics) { in testEnded() argument 81 mCurrentResult.setMetrics(testMetrics); in testEnded() 86 public final void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() argument 87 mCurrentResult.setProtoMetrics(testMetrics); in testEnded() 93 TestDescription test, long endTime, Map<String, String> testMetrics) { in testEnded() argument 94 mCurrentResult.setMetrics(testMetrics); in testEnded() 100 TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 101 mCurrentResult.setProtoMetrics(testMetrics); in testEnded()
|
D | NameMangleListener.java | 70 public void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() argument 72 mListener.testEnded(mangledTestId, testMetrics); in testEnded()
|
D | ResultForwarder.java | 340 public void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() argument 341 testEnded(test, System.currentTimeMillis(), testMetrics); in testEnded() 346 public void testEnded(TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 349 listener.testEnded(test, endTime, testMetrics); in testEnded()
|
D | CollectingTestListener.java | 295 public void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() argument 296 testEnded(test, System.currentTimeMillis(), testMetrics); in testEnded() 301 public void testEnded(TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 303 mCurrentTestRunResult.testEnded(test, endTime, testMetrics); in testEnded()
|
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/result/ |
D | ITestLifeCycleReceiver.java | 213 public default void testEnded(TestDescription test, Map<String, String> testMetrics) { in testEnded() argument 214 testEnded(test, TfMetricProtoUtil.upgradeConvert(testMetrics)); in testEnded() 226 public default void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) {} in testEnded() argument 237 TestDescription test, long endTime, Map<String, String> testMetrics) { in testEnded() argument 238 testEnded(test, endTime, TfMetricProtoUtil.upgradeConvert(testMetrics)); in testEnded() 250 TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 251 testEnded(test, testMetrics); in testEnded()
|
/tools/asuite/atest/bazel/runner/src/com/android/tradefed/testtype/bazel/ |
D | ForwardingTestListener.java | 126 public void testEnded(TestDescription test, Map<String, String> testMetrics) { in testEnded() argument 127 delegate().testEnded(test, testMetrics); in testEnded() 131 public void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() argument 132 delegate().testEnded(test, testMetrics); in testEnded() 136 public void testEnded(TestDescription test, long endTime, Map<String, String> testMetrics) { in testEnded() argument 137 delegate().testEnded(test, endTime, testMetrics); in testEnded() 141 public void testEnded(TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 142 delegate().testEnded(test, endTime, testMetrics); in testEnded()
|
D | NullTestListener.java | 119 public void testEnded(TestDescription test, Map<String, String> testMetrics) { in testEnded() argument 124 public void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() argument 129 public void testEnded(TestDescription test, long endTime, Map<String, String> testMetrics) { in testEnded() argument 134 public void testEnded(TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | CameraTestMetricsCollectionListener.java | 62 HashMap<String, MetricMeasurement.Metric> testMetrics) { in testEnded() argument 63 super.testEnded(test, endTime, testMetrics); in testEnded() 64 handleMetricsOnTestEnded(test, TfMetricProtoUtil.compatibleConvert(testMetrics)); in testEnded() 66 mListener.testEnded(test, endTime, testMetrics); in testEnded() 209 abstract void handleMetricsOnTestEnded(TestDescription test, Map<String, String> testMetrics); in handleMetricsOnTestEnded() argument 224 public void handleMetricsOnTestEnded(TestDescription test, Map<String, String> testMetrics) { in handleMetricsOnTestEnded() argument 225 if (testMetrics == null) { in handleMetricsOnTestEnded() 228 getAggregatedMetrics().putAll(testMetrics); in handleMetricsOnTestEnded()
|
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 | 64 … public void handleMetricsOnTestEnded(TestDescription test, Map<String, String> testMetrics) { in handleMetricsOnTestEnded() argument 66 getAggregatedMetrics().putAll(parseResults(test.getTestName(), testMetrics)); in handleMetricsOnTestEnded() local 69 public Map<String, String> parseResults(String testName, Map<String, String> testMetrics) { in parseResults() argument 72 for (Map.Entry<String, String> metric : testMetrics.entrySet()) { in parseResults()
|
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 | Camera2StressTest.java | 81 TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 92 testMetrics.remove(KEY_NUM_ATTEMPTS); in testEnded() 93 testMetrics.remove(KEY_ITERATION); in testEnded() 97 for (Entry<String, Metric> entry : testMetrics.entrySet()) { in testEnded() 146 private void parseLog(String testName, Map<String, String> testMetrics) { in parseLog() argument 182 testMetrics.put(testName, resultMap.get(KEY_ITERATION)); in parseLog()
|
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 106 testMetrics = TfMetricProtoUtil.upgradeConvert(parseLog(test.getTestName())); in testEnded() 107 super.testEnded(test, endTime, testMetrics); in testEnded()
|
D | CameraStartupTest.java | 196 … public void handleMetricsOnTestEnded(TestDescription test, Map<String, String> testMetrics) { in handleMetricsOnTestEnded() argument 198 getAggregatedMetrics().putAll(parseResults(testMetrics)); in handleMetricsOnTestEnded() 209 public Map<String, String> parseResults(Map<String, String> testMetrics) { in parseResults() argument 224 for (Map.Entry<String, String> metric : testMetrics.entrySet()) { in parseResults()
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/helper/ |
D | TelephonyHelperTest.java | 67 HashMap<String, String> testMetrics = new HashMap<>(); in testGetSimInfo() 68 testMetrics.put(TelephonyHelper.SIM_STATE_KEY, "5"); in testGetSimInfo() 69 testMetrics.put(TelephonyHelper.CARRIER_PRIVILEGES_KEY, "true"); in testGetSimInfo() 70 testMetrics.put(TelephonyHelper.SECURED_ELEMENT_KEY, "false"); in testGetSimInfo() 71 testMetrics.put(TelephonyHelper.SE_SERVICE_KEY, "false"); in testGetSimInfo() 72 collector.testEnded(TelephonyHelper.SIM_TEST, testMetrics); in testGetSimInfo()
|
/tools/tradefederation/core/javatests/com/android/tradefed/postprocessor/ |
D | AggregatePostProcessorTest.java | 85 HashMap<String, Metric> testMetrics = new HashMap<String, Metric>(); in testSingularDoubleMetric() local 89 testMetrics.put(singularDoubleKey, currentTestMetric); in testSingularDoubleMetric() 91 mProcessor.processTestMetricsAndLogs(TEST_1, testMetrics, new HashMap<>()); in testSingularDoubleMetric() 198 HashMap<String, Metric> testMetrics = new HashMap<String, Metric>(); in testListDoubleMetric() local 202 testMetrics.put(listDoubleKey, currentTestMetric); in testListDoubleMetric() 204 mProcessor.processTestMetricsAndLogs(TEST_1, testMetrics, new HashMap<>()); in testListDoubleMetric() 299 HashMap<String, Metric> testMetrics = new HashMap<String, Metric>(); in testNonNumericMetric() local 303 testMetrics.put(nonNumericKey, currentTestMetric); in testNonNumericMetric() 305 mProcessor.processTestMetricsAndLogs(TEST_1, testMetrics, new HashMap<>()); in testNonNumericMetric() 344 HashMap<String, Metric> testMetrics = new HashMap<String, Metric>(); in testEmptyResult() local [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/postprocessor/ |
D | BasePostProcessor.java | 91 HashMap<String, Metric> testMetrics, in processTestMetricsAndLogs() argument 293 public final void testEnded(TestDescription test, Map<String, String> testMetrics) { in testEnded() argument 294 testEnded(test, System.currentTimeMillis(), testMetrics); in testEnded() 299 TestDescription test, long endTime, Map<String, String> testMetrics) { in testEnded() argument 300 testEnded(test, endTime, TfMetricProtoUtil.upgradeConvert(testMetrics)); in testEnded() 304 public final void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() argument 305 testEnded(test, System.currentTimeMillis(), testMetrics); in testEnded() 310 TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 314 HashMap<String, Metric> rawValues = getRawMetricsOnly(testMetrics); in testEnded() 328 if (testMetrics.containsKey(newKey)) { in testEnded() [all …]
|
D | MetricFilePostProcessor.java | 98 HashMap<String, Metric> testMetrics, in processTestMetricsAndLogs() argument 104 mMetricUtil.storeTestMetrics(testDescription, testMetrics); in processTestMetricsAndLogs() 111 ? mMetricUtil.filterMetrics(testMetrics) in processTestMetricsAndLogs() 112 : testMetrics; in processTestMetricsAndLogs()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ModuleListener.java | 199 public void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() argument 200 testEnded(test, System.currentTimeMillis(), testMetrics); in testEnded() 205 public void testEnded(TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 208 testMetrics.put( in testEnded() 212 super.testEnded(test, endTime, testMetrics); in testEnded()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | TestTimeoutEnforcer.java | 119 public void testEnded(TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 146 super.testEnded(test, endTime, testMetrics); in testEnded()
|
/tools/tradefederation/core/javatests/com/android/tradefed/result/ |
D | JsonHttpTestResultReporterTest.java | 184 Map<String, String> testMetrics = new HashMap<String, String>(1); in injectTestRun() local 185 testMetrics.put("test_metric", metricValue); in injectTestRun() 193 target.testEnded(test, TfMetricProtoUtil.upgradeConvert(testMetrics)); in injectTestRun()
|
D | LUCIResultReporterTest.java | 167 Map<String, String> testMetrics = new HashMap<String, String>(1); in injectTestRun() local 168 testMetrics.put("test_metric", metricValue); in injectTestRun() 180 listener.testEnded(test, TfMetricProtoUtil.upgradeConvert(testMetrics, true)); in injectTestRun()
|
/tools/asuite/atest/bazel/reporter/src/com/android/tradefed/result/ |
D | BazelXmlResultReporter.java | 134 public void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() argument 135 testEnded(test, System.currentTimeMillis(), testMetrics); in testEnded() 139 public void testEnded(TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 140 mTestRunResult.testEnded(test, endTime, testMetrics); in testEnded()
|
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | BaseDeviceMetricCollector.java | 513 public final void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() argument 514 testEnded(test, System.currentTimeMillis(), testMetrics); in testEnded() 519 TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 523 onTestEnd(mTestData, testMetrics, test); in testEnded() 524 mTestData.addToMetrics(testMetrics); in testEnded() 538 mForwarder.testEnded(test, endTime, testMetrics); in testEnded()
|