Home
last modified time | relevance | path

Searched refs:formatElapsedTime (Results 1 – 13 of 13) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DTimeUtilTest.java29 assertEquals("1 ms", TimeUtil.formatElapsedTime(1)); in testFormatElapsedTime()
30 assertEquals("999 ms", TimeUtil.formatElapsedTime(999)); in testFormatElapsedTime()
31 assertEquals("1s", TimeUtil.formatElapsedTime(1001)); in testFormatElapsedTime()
32 assertEquals("1m 1s", TimeUtil.formatElapsedTime(61001)); in testFormatElapsedTime()
33 assertEquals("1h 1m 0s", TimeUtil.formatElapsedTime(60 * 60 * 1000 + 60 * 1000)); in testFormatElapsedTime()
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DSuiteResultReporter.java159 String.format("Total Run time: %s\n", TimeUtil.formatElapsedTime(mElapsedTime))); in invocationEnded()
213 TimeUtil.formatElapsedTime(moduleTime.get(i).getElapsedTime()))); in printModuleTestTime()
219 TimeUtil.formatElapsedTime(totalRunTime))); in printModuleTestTime()
284 TimeUtil.formatElapsedTime(totalPrep), in printPreparationMetrics()
285 TimeUtil.formatElapsedTime(totalTear))); in printPreparationMetrics()
299 t.getName(), TimeUtil.formatElapsedTime(t.getElapsedTime()))); in printModuleCheckersMetric()
304 "Total module checkers time: %s\n", TimeUtil.formatElapsedTime(totalTime))); in printModuleCheckersMetric()
/tools/tradefederation/core/src/com/android/tradefed/util/
DTimeUtil.java35 public static String formatElapsedTime(long elapsedTimeMs) { in formatElapsedTime() method in TimeUtil
DLogcatUpdaterEventParser.java224 + TimeUtil.formatElapsedTime(timeoutMs)); in internalWaitForEvent()
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DStrictShardHelper.java288 CLog.e("Shard %s approximate time: %s", index, TimeUtil.formatElapsedTime(aggTime)); in topBottom()
307 TimeUtil.formatElapsedTime(shardTimes.get(i).mAggTime)); in topBottom()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DShardMasterResultForwarder.java108 TimeUtil.formatElapsedTime(System.currentTimeMillis() - mFirstShardEndTime)); in invocationEnded()
DShardListener.java222 runRes.getName(), TimeUtil.formatElapsedTime(runRes.getElapsedTime())); in logShardContent()
DInvocationExecution.java215 CLog.d("Setup duration: %s'", TimeUtil.formatElapsedTime(setupDuration)); in doSetup()
DTestInvocation.java645 CLog.d("Fetch build duration: %s", TimeUtil.formatElapsedTime(fetchBuildDuration)); in invoke()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DDeviceBatteryLevelChecker.java161 TimeUtil.formatElapsedTime(mMaxRunTime)); in run()
DPythonUnitTestRunner.java207 TimeUtil.formatElapsedTime(mTestTimeout))); in doRunTest()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DITestSuite.java769 TimeUtil.formatElapsedTime(mDirectModule.getRuntimeHint())); in getRuntimeHint()
/tools/tradefederation/core/src/com/android/tradefed/command/
DConsole.java809 TimeUtil.formatElapsedTime(elapsedTime)); in printElapsedTime()