Searched refs:TimeUtil (Results 1 – 14 of 14) sorted by relevance
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | TimeUtilTest.java | 29 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() 38 assertEquals("2016-10-25 13:31:58", TimeUtil.formatTimeStampGMT(1477402318000L)); in testFormatTimeStampGMT()
|
/tools/tradefederation/core/src/com/android/tradefed/result/suite/ |
D | SuiteResultReporter.java | 32 import com.android.tradefed.util.TimeUtil; 159 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/ |
D | TimeUtil.java | 26 public class TimeUtil { class 29 private TimeUtil() { in TimeUtil() method in TimeUtil
|
D | LogcatUpdaterEventParser.java | 224 + TimeUtil.formatElapsedTime(timeoutMs)); in internalWaitForEvent()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | ShardMasterResultForwarder.java | 28 import com.android.tradefed.util.TimeUtil; 108 TimeUtil.formatElapsedTime(System.currentTimeMillis() - mFirstShardEndTime)); in invocationEnded()
|
D | ShardListener.java | 31 import com.android.tradefed.util.TimeUtil; 222 runRes.getName(), TimeUtil.formatElapsedTime(runRes.getElapsedTime())); in logShardContent()
|
D | InvocationExecution.java | 58 import com.android.tradefed.util.TimeUtil; 215 CLog.d("Setup duration: %s'", TimeUtil.formatElapsedTime(setupDuration)); in doSetup()
|
D | TestInvocation.java | 53 import com.android.tradefed.util.TimeUtil; 645 CLog.d("Fetch build duration: %s", TimeUtil.formatElapsedTime(fetchBuildDuration)); in invoke()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | DeviceBatteryLevelChecker.java | 31 import com.android.tradefed.util.TimeUtil; 161 TimeUtil.formatElapsedTime(mMaxRunTime)); in run()
|
D | PythonUnitTestRunner.java | 31 import com.android.tradefed.util.TimeUtil; 207 TimeUtil.formatElapsedTime(mTestTimeout))); in doRunTest()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/ |
D | StrictShardHelper.java | 33 import com.android.tradefed.util.TimeUtil; 288 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/device/ |
D | INativeDevice.java | 33 import com.android.tradefed.util.TimeUtil;
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ITestSuite.java | 59 import com.android.tradefed.util.TimeUtil; 769 TimeUtil.formatElapsedTime(mDirectModule.getRuntimeHint())); in getRuntimeHint()
|
/tools/tradefederation/core/src/com/android/tradefed/command/ |
D | Console.java | 35 import com.android.tradefed.util.TimeUtil; 809 TimeUtil.formatElapsedTime(elapsedTime)); in printElapsedTime()
|