Home
last modified time | relevance | path

Searched refs:testMetrics (Results 1 – 25 of 30) sorted by relevance

12

/tools/tradefederation/core/src/com/android/tradefed/result/
DITestLifeCycleReceiver.java142 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()
DResultForwarder.java245 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()
DCollectingTestListener.java170 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()
DNameMangleListener.java68 public void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() argument
70 mListener.testEnded(mangledTestId, testMetrics); in testEnded()
DTestRunResult.java231 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()
DLogcatCrashResultForwarder.java64 public void testEnded(TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() argument
65 super.testEnded(test, endTime, testMetrics); in testEnded()
DStubTestRunListener.java32 public void testEnded(TestIdentifier test, Map<String, String> testMetrics) { in testEnded() argument
DBugreportCollector.java436 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/
DFrameworkStressTest.java95 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 …]
DDataIdleTest.java106 Map<String, String> testMetrics = testResults.iterator().next().getMetrics(); in run() local
107 if (testMetrics != null) { in run()
108 idleTestMetrics.putAll(testMetrics); in run()
DFrameworkPerfTest.java138 Map<String, String> testMetrics = testResults.get(0).getMetrics(); in run() local
139 if (testMetrics != null) { in run()
140 reportMetrics(listener, testMetrics); in run()
DBandwidthMicroBenchMarkTest.java147 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/
DCamera2LatencyTest.java64 … 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()
DCameraBurstStartupTest.java62 … 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()
DCameraShotLatencyTest.java68 … 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()
DCamera2StressTest.java80 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()
DCamera2FrameworkStressTest.java85 … 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()
DCameraStartupTest.java195 … 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()
DCameraTestBase.java257 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/
DBaseDeviceMetricCollector.java205 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/
DModuleListener.java106 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/
DTestRunToTestInvocationForwarder.java119 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/
DImageProcessingTest.java101 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/
DCollectingTestListenerTest.java267 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/
DPrettyTestEventLogger.java55 public void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() argument

12