/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | ITestLifeCycleReceiver.java | 142 public default void testEnded(TestDescription test, Map<String, String> testMetrics) { in testEnded() argument 143 testEnded(test, TfMetricProtoUtil.upgradeConvert(testMetrics)); in testEnded() 155 public default void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) {} in testEnded() argument 166 TestDescription test, long endTime, Map<String, String> testMetrics) { in testEnded() argument 167 testEnded(test, endTime, TfMetricProtoUtil.upgradeConvert(testMetrics)); in testEnded() 179 TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 180 testEnded(test, testMetrics); in testEnded()
|
D | ResultForwarder.java | 245 public void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() argument 246 testEnded(test, System.currentTimeMillis(), testMetrics); in testEnded() 251 public void testEnded(TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 254 listener.testEnded(test, endTime, testMetrics); in testEnded()
|
D | CollectingTestListener.java | 170 public void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() argument 171 testEnded(test, System.currentTimeMillis(), testMetrics); in testEnded() 176 public void testEnded(TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 178 mCurrentResults.testEnded(test, endTime, 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()
|
D | TestRunResult.java | 231 public void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() argument 232 testEnded(test, System.currentTimeMillis(), testMetrics); in testEnded() 235 public void testEnded(TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 244 result.setMetrics(TfMetricProtoUtil.compatibleConvert(testMetrics)); in testEnded() 245 result.setProtoMetrics(testMetrics); in testEnded()
|
D | LogcatCrashResultForwarder.java | 64 public void testEnded(TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 65 super.testEnded(test, endTime, testMetrics); in testEnded()
|
D | StubTestRunListener.java | 32 public void testEnded(TestIdentifier test, Map<String, String> testMetrics) { in testEnded() argument
|
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()
|
/tools/tradefederation/core/prod-tests/src/com/android/framework/tests/ |
D | FrameworkStressTest.java | 95 Map<String, String> testMetrics = res.getMetrics(); in run() local 96 if (testMetrics != null) { in run() 97 CLog.d(testMetrics.toString()); in run() 101 reportMetrics(listener, label, testMetrics); in run() 144 public void testEnded(TestDescription test, Map<String, String> testMetrics) { in testEnded() argument 162 testMetrics.put(ANR_COUNT_LABEL, numArns.toString()); in testEnded() 166 testMetrics.put(JAVA_CRASH_COUNT_LABEL, numJavaCrashes.toString()); in testEnded() 170 testMetrics.put(NATIVE_CRASH_COUNT_LABEL, numNativeCrashes.toString()); in testEnded() 173 Integer.parseInt(testMetrics.get(CURRENT_ITERATION_LABEL)) in testEnded() 175 testMetrics.put(ITERATION_COUNT_LABEL, numSuccessfulIterations.toString()); in testEnded() [all …]
|
D | DataIdleTest.java | 106 Map<String, String> testMetrics = testResults.iterator().next().getMetrics(); in run() local 107 if (testMetrics != null) { in run() 108 idleTestMetrics.putAll(testMetrics); in run()
|
D | FrameworkPerfTest.java | 138 Map<String, String> testMetrics = testResults.get(0).getMetrics(); in run() local 139 if (testMetrics != null) { in run() 140 reportMetrics(listener, testMetrics); in run()
|
D | BandwidthMicroBenchMarkTest.java | 147 Map<String, String> testMetrics = testResults.iterator().next().getMetrics(); in run() local 148 if (testMetrics != null) { in run() 149 bandwidthTestMetrics.putAll(testMetrics); in run()
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
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 | 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 | 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 | Camera2StressTest.java | 80 TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 89 testMetrics.remove(KEY_NUM_ATTEMPTS); in testEnded() 90 testMetrics.remove(KEY_ITERATION); in testEnded() 94 for (Entry<String, Metric> entry : testMetrics.entrySet()) { in testEnded() 143 private void parseLog(String testName, Map<String, String> testMetrics) { in parseLog() argument 179 testMetrics.put(testName, resultMap.get(KEY_ITERATION)); in parseLog()
|
D | Camera2FrameworkStressTest.java | 85 … public void handleMetricsOnTestEnded(TestDescription test, Map<String, String> testMetrics) { in handleMetricsOnTestEnded() argument 86 if (testMetrics == null) { in handleMetricsOnTestEnded() 89 for (Map.Entry<String, String> metric : testMetrics.entrySet()) { in handleMetricsOnTestEnded() 96 TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 103 testMetrics = TfMetricProtoUtil.upgradeConvert(parseLog(test.getTestName())); in testEnded() 104 super.testEnded(test, endTime, testMetrics); in testEnded()
|
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()
|
D | CameraTestBase.java | 257 Map<String, String> testMetrics); in handleMetricsOnTestEnded() argument 286 TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 287 super.testEnded(test, endTime, testMetrics); in testEnded() 288 handleMetricsOnTestEnded(test, TfMetricProtoUtil.compatibleConvert(testMetrics)); in testEnded() 290 mListener.testEnded(test, endTime, testMetrics); in testEnded() 422 … public void handleMetricsOnTestEnded(TestDescription test, Map<String, String> testMetrics) { in handleMetricsOnTestEnded() argument 423 if (testMetrics == null) { in handleMetricsOnTestEnded() 426 getAggregatedMetrics().putAll(testMetrics); in handleMetricsOnTestEnded()
|
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | BaseDeviceMetricCollector.java | 205 public final void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() argument 206 testEnded(test, System.currentTimeMillis(), testMetrics); in testEnded() 211 TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 214 onTestEnd(mTestData, testMetrics); in testEnded() 215 mTestData.addToMetrics(testMetrics); in testEnded() 223 mForwarder.testEnded(test, endTime, testMetrics); in testEnded()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ModuleListener.java | 106 public void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() argument 107 testEnded(test, System.currentTimeMillis(), testMetrics); in testEnded() 112 public void testEnded(TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument 114 super.testEnded(test, endTime, testMetrics); in testEnded()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ddmlib/ |
D | TestRunToTestInvocationForwarder.java | 119 public void testEnded(TestIdentifier testId, Map<String, String> testMetrics) { in testEnded() argument 124 TfMetricProtoUtil.upgradeConvert(testMetrics)); in testEnded() 135 public void testEnded(TestIdentifier testId, long endTime, Map<String, String> testMetrics) { in testEnded() argument 141 TfMetricProtoUtil.upgradeConvert(testMetrics)); in testEnded()
|
/tools/tradefederation/core/prod-tests/src/com/android/graphics/tests/ |
D | ImageProcessingTest.java | 101 Map<String, String> testMetrics = testCaseResult.getMetrics(); in run() local 106 if (testMetrics != null) { in run() 109 for (Map.Entry<String, String> entry : testMetrics.entrySet()) { in run()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | CollectingTestListenerTest.java | 267 Map<String, String> testMetrics = new HashMap<String, String>(1); in injectTestRun() local 268 testMetrics.put(TEST_KEY, metricValue); in injectTestRun() 276 mCollectingTestListener.testEnded(test, TfMetricProtoUtil.upgradeConvert(testMetrics)); in injectTestRun()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/host/ |
D | PrettyTestEventLogger.java | 55 public void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() argument
|