Home
last modified time | relevance | path

Searched refs:runMetrics (Results 1 – 25 of 38) sorted by relevance

12

/tools/tradefederation/core/src/com/android/tradefed/testtype/
DCodeCoverageListener.java57 public void testRunEnded(long elapsedTime, HashMap<String, Metric> runMetrics) { in testRunEnded() argument
59 Metric devicePathMetric = runMetrics.get(COVERAGE_MEASUREMENT_KEY); in testRunEnded()
62 super.testRunEnded(elapsedTime, runMetrics); in testRunEnded()
68 super.testRunEnded(elapsedTime, runMetrics); in testRunEnded()
84 super.testRunEnded(elapsedTime, runMetrics); in testRunEnded()
DTfTestLauncher.java319 HashMap<String, Metric> runMetrics = new HashMap<>(); in reportMetrics() local
320 runMetrics.put( in reportMetrics()
322 listener.testEnded(tid, runMetrics); in reportMetrics()
323 listener.testRunEnded(elapsedTime, runMetrics); in reportMetrics()
/tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/
DICommandResultHandler.java28 public void success(Map<String, String> runMetrics); in success() argument
30 Map<String, String> runMetrics); in failure() argument
DGetLastCommandResultOp.java128 Map<String, String> runMetrics = commandResult.getRunMetrics(); in packResponseIntoJson() local
129 if (runMetrics != null && runMetrics.size() > 0) { in packResponseIntoJson()
131 for (Map.Entry<String, String> entry : runMetrics.entrySet()) { in packResponseIntoJson()
DCommandResult.java41 Map<String, String> runMetrics) { in CommandResult() argument
45 mRunMetrics = runMetrics; in CommandResult()
/tools/tradefederation/core/src/com/android/tradefed/result/
DITestLifeCycleReceiver.java66 public default void testRunEnded(long elapsedTimeMillis, Map<String, String> runMetrics) { in testRunEnded() argument
67 testRunEnded(elapsedTimeMillis, TfMetricProtoUtil.upgradeConvert(runMetrics)); in testRunEnded()
77 public default void testRunEnded(long elapsedTimeMillis, HashMap<String, Metric> runMetrics) {} in testRunEnded() argument
DTestRunResult.java259 public void testRunEnded(long elapsedTime, Map<String, String> runMetrics) { in testRunEnded() argument
261 for (Map.Entry<String, String> entry : runMetrics.entrySet()) { in testRunEnded()
267 mRunMetrics.putAll(runMetrics); in testRunEnded()
270 mRunProtoMetrics.putAll(TfMetricProtoUtil.upgradeConvert(runMetrics)); in testRunEnded()
277 public void testRunEnded(long elapsedTime, HashMap<String, Metric> runMetrics) { in testRunEnded() argument
279 testRunEnded(elapsedTime, TfMetricProtoUtil.compatibleConvert(runMetrics)); in testRunEnded()
282 mRunProtoMetrics.putAll(runMetrics); in testRunEnded()
DNameMangleListener.java96 public void testRunEnded(long elapsedTime, HashMap<String, Metric> runMetrics) { in testRunEnded() argument
97 mListener.testRunEnded(elapsedTime, runMetrics); in testRunEnded()
DLogcatCrashResultForwarder.java86 public void testRunEnded(long elapsedTime, HashMap<String, Metric> runMetrics) { in testRunEnded() argument
87 super.testRunEnded(elapsedTime, runMetrics); in testRunEnded()
DStubTestRunListener.java64 public void testRunEnded(long elapsedTime, Map<String, String> runMetrics) { in testRunEnded() argument
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DMetricsXmlParserTest.java135 Map<String, String> runMetrics = new HashMap<>(); in testParse() local
136 runMetrics.put("metric3", "8.8"); in testParse()
137 mResultReporter.testRunEnded(3, TfMetricProtoUtil.upgradeConvert(runMetrics)); in testParse()
170 Map<String, String> runMetrics = new HashMap<>(); in testParseBlacklist() local
171 runMetrics.put("metric3", "8.8"); in testParseBlacklist()
172 mResultReporter.testRunEnded(3, TfMetricProtoUtil.upgradeConvert(runMetrics)); in testParseBlacklist()
/tools/tradefederation/core/prod-tests/src/com/android/graphics/tests/
DUiPerformanceTest.java161 Map<String, String> runMetrics = new HashMap<>(); in logOutputFile() local
185 reportMetrics(unitKey, listener, runMetrics); in logOutputFile()
187 runMetrics.clear(); in logOutputFile()
196 runMetrics.put(ITEM_KEYS[i], value); in logOutputFile()
202 reportMetrics(unitKey, listener, runMetrics); in logOutputFile()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DBaseDeviceMetricCollector.java167 public final void testRunEnded(long elapsedTime, HashMap<String, Metric> runMetrics) { in testRunEnded() argument
169 onTestRunEnd(mRunData, runMetrics); in testRunEnded()
170 mRunData.addToMetrics(runMetrics); in testRunEnded()
175 mForwarder.testRunEnded(elapsedTime, runMetrics); in testRunEnded()
/tools/tradefederation/core/prod-tests/src/com/android/performance/tests/
DStartupMetricsTest.java85 Map<String, String> runMetrics = new HashMap<String, String>(); in executeRebootTest() local
96 runMetrics.put("init-boot", Double.toString(initUnavailDuration / 1000.0)); in executeRebootTest()
111 runMetrics.put("online", Double.toString(offlineDuration/1000.0)); in executeRebootTest()
112 runMetrics.put("bootcomplete", Double.toString(unavailDuration/1000.0)); in executeRebootTest()
114 reportMetrics(listener, "boottime", runMetrics); in executeRebootTest()
/tools/tradefederation/core/src/com/android/tradefed/command/remote/
DExecCommandTracker.java61 public void testRunEnded(long elapsedTime, HashMap<String, Metric> runMetrics) { in testRunEnded() argument
62 mRunMetrics.putAll(runMetrics); in testRunEnded()
/tools/tradefederation/contrib/src/com/android/media/tests/
DVideoEditingPerformanceTest.java203 Map<String, String> runMetrics = new HashMap<>(); in parseOutputFile() local
232 runMetrics.put(key, capture.get(0).get(0)); in parseOutputFile()
234 reportMetrics(listener, runMetrics); in parseOutputFile()
DMediaPlayerStressTest.java159 Map<String, String> runMetrics = new HashMap<>(); in parseOutputFile() local
188 runMetrics.put(key, capture.get(0).get(0)); in parseOutputFile()
190 reportMetrics(listener, runMetrics); in parseOutputFile()
DMediaStressTest.java130 Map<String, String> runMetrics = new HashMap<>(); in parseOutputFile() local
165 runMetrics.put(key, Integer.toString(value)); in parseOutputFile()
168 reportMetrics(listener, runMetrics); in parseOutputFile()
DMediaMemoryTest.java223 Map<String, String> runMetrics = new HashMap<>(); in parseOutputFile() local
249 runMetrics.put(key, Integer.toString(result)); in parseOutputFile()
258 reportMetrics(listener, runMetrics); in parseOutputFile()
DCameraStressTest.java266 Map<String, String> runMetrics = new HashMap<>(); in parseOutputFile() local
306 runMetrics.put(key, Integer.toString(value)); in parseOutputFile()
327 runMetrics.put(key, Integer.toString(value)); in parseOutputFile()
331 reportMetrics(listener, test, runMetrics); in parseOutputFile()
DCameraLatencyTest.java231 Map<String, String> runMetrics = new HashMap<>(); in parseOutputFile() local
261 runMetrics.put(key, capture.get(0).get(0)); in parseOutputFile()
264 reportMetrics(listener, test, runMetrics); in parseOutputFile()
/tools/tradefederation/core/prod-tests/src/com/android/wireless/tests/
DWifiStressTest.java298 Map<String, String> runMetrics = new HashMap<>(); in parseOutputFile() local
321 runMetrics.put(key, Integer.toString(quality)); in parseOutputFile()
323 runMetrics.put(key, capture.get(0).get(0)); in parseOutputFile()
346 reportMetrics(test.mTestMetricsName, listener, runMetrics); in parseOutputFile()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DTestRunResultTest.java354 Map<String, String> runMetrics = result.getRunMetrics(); in testMergeRetriedRunResults_CheckMergeMapAttributes() local
355 assertTrue(runMetrics.containsKey("metric1")); in testMergeRetriedRunResults_CheckMergeMapAttributes()
356 assertTrue(runMetrics.get("metric1").equals("5")); in testMergeRetriedRunResults_CheckMergeMapAttributes()
357 assertTrue(runMetrics.containsKey("metric2")); in testMergeRetriedRunResults_CheckMergeMapAttributes()
358 assertTrue(runMetrics.get("metric2").equals("5000")); in testMergeRetriedRunResults_CheckMergeMapAttributes()
DCollectingTestListenerTest.java265 Map<String, String> runMetrics = new HashMap<String, String>(1); in injectTestRun() local
266 runMetrics.put(RUN_KEY, metricValue); in injectTestRun()
277 mCollectingTestListener.testRunEnded(0, TfMetricProtoUtil.upgradeConvert(runMetrics)); in injectTestRun()
/tools/tradefederation/core/src/com/android/tradefed/result/ddmlib/
DTestRunToTestInvocationForwarder.java152 public void testRunEnded(long elapsedTime, Map<String, String> runMetrics) { in testRunEnded() argument
155 listener.testRunEnded(elapsedTime, TfMetricProtoUtil.upgradeConvert(runMetrics)); in testRunEnded()

12