/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | CodeCoverageListener.java | 57 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()
|
D | TfTestLauncher.java | 319 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/ |
D | ICommandResultHandler.java | 28 public void success(Map<String, String> runMetrics); in success() argument 30 Map<String, String> runMetrics); in failure() argument
|
D | GetLastCommandResultOp.java | 128 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()
|
D | CommandResult.java | 41 Map<String, String> runMetrics) { in CommandResult() argument 45 mRunMetrics = runMetrics; in CommandResult()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | ITestLifeCycleReceiver.java | 66 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
|
D | TestRunResult.java | 259 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()
|
D | NameMangleListener.java | 96 public void testRunEnded(long elapsedTime, HashMap<String, Metric> runMetrics) { in testRunEnded() argument 97 mListener.testRunEnded(elapsedTime, runMetrics); in testRunEnded()
|
D | LogcatCrashResultForwarder.java | 86 public void testRunEnded(long elapsedTime, HashMap<String, Metric> runMetrics) { in testRunEnded() argument 87 super.testRunEnded(elapsedTime, runMetrics); in testRunEnded()
|
D | StubTestRunListener.java | 64 public void testRunEnded(long elapsedTime, Map<String, String> runMetrics) { in testRunEnded() argument
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | MetricsXmlParserTest.java | 135 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/ |
D | UiPerformanceTest.java | 161 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/ |
D | BaseDeviceMetricCollector.java | 167 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/ |
D | StartupMetricsTest.java | 85 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/ |
D | ExecCommandTracker.java | 61 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/ |
D | VideoEditingPerformanceTest.java | 203 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()
|
D | MediaPlayerStressTest.java | 159 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()
|
D | MediaStressTest.java | 130 Map<String, String> runMetrics = new HashMap<>(); in parseOutputFile() local 165 runMetrics.put(key, Integer.toString(value)); in parseOutputFile() 168 reportMetrics(listener, runMetrics); in parseOutputFile()
|
D | MediaMemoryTest.java | 223 Map<String, String> runMetrics = new HashMap<>(); in parseOutputFile() local 249 runMetrics.put(key, Integer.toString(result)); in parseOutputFile() 258 reportMetrics(listener, runMetrics); in parseOutputFile()
|
D | CameraStressTest.java | 266 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()
|
D | CameraLatencyTest.java | 231 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/ |
D | WifiStressTest.java | 298 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/ |
D | TestRunResultTest.java | 354 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()
|
D | CollectingTestListenerTest.java | 265 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/ |
D | TestRunToTestInvocationForwarder.java | 152 public void testRunEnded(long elapsedTime, Map<String, String> runMetrics) { in testRunEnded() argument 155 listener.testRunEnded(elapsedTime, TfMetricProtoUtil.upgradeConvert(runMetrics)); in testRunEnded()
|