Home
last modified time | relevance | path

Searched refs:TimeUtil (Results 1 – 14 of 14) sorted by relevance

/test/vti/dashboard/src/test/java/com/android/vts/util/
DTimeUtilTest.java30 String timeString = TimeUtil.getDateTimeZoneString(time); in testFormatDateTime()
39 String timeString = TimeUtil.getDateString(time); in testFormatDate()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/
DConsoleReporter.java28 import com.android.tradefed.util.TimeUtil;
163 TimeUtil.formatElapsedTime(elapsedTime), in testRunEnded()
174 logMessage("%s stopped (%s)", mModuleId, TimeUtil.formatElapsedTime(elapsedTime)); in testRunStopped()
DResultReporter.java61 import com.android.tradefed.util.TimeUtil;
617 TimeUtil.formatElapsedTime(mElapsedTime), in finalizeResults()
/test/vti/dashboard/src/main/java/com/android/vts/util/
DTimeUtil.java26 public class TimeUtil { class
27 protected static final Logger logger = Logger.getLogger(TimeUtil.class.getName());
DEmailHelper.java80 sb.append("Start Time: " + TimeUtil.getDateTimeZoneString(testRun.getStartTimestamp())); in getEmailFooter()
81 sb.append("<br>End Time: " + TimeUtil.getDateTimeZoneString(testRun.getEndTimestamp())); in getEmailFooter()
/test/vti/dashboard/src/main/java/com/android/vts/job/
DVtsSuiteTestJobServlet.java24 import com.android.vts.util.TimeUtil;
117 ZonedDateTime checkZonedDateTime = TimeUtil.getZonedDateTime(currentMicroSecond); in doGet()
119 DateTimeFormatter.ofPattern(TimeUtil.DATE_FORMAT) in doGet()
121 String todayDateString = TimeUtil.getDateString(currentMicroSecond); in doGet()
DVtsInactivityJobServlet.java25 import com.android.vts.util.TimeUtil;
80 String uploadTimeString = TimeUtil.getDateTimeZoneString(lastRunTime); in notifyIfInactive()
DVtsProfilingStatsJobServlet.java26 import com.android.vts.util.TimeUtil;
79 ZonedDateTime.ofInstant(Instant.ofEpochMilli(timeMillis), TimeUtil.PT_ZONE); in getCanonicalTime()
DVtsAlertJobServlet.java30 import com.android.vts.util.TimeUtil;
415 String uploadDateString = TimeUtil.getDateString(mostRecentRun.getStartTimestamp()); in getTestStatus()
/test/vti/dashboard/src/test/java/com/android/vts/job/
DVtsProfilingStatsJobServletTest.java33 import com.android.vts.util.TimeUtil;
181 ZonedDateTime zdt = ZonedDateTime.of(now, TimeUtil.PT_ZONE); in testCanonicalTimeMidday()
186 ZonedDateTime.ofInstant(Instant.ofEpochSecond(canonicalTimeSec), TimeUtil.PT_ZONE); in testCanonicalTimeMidday()
202 ZonedDateTime zdt = ZonedDateTime.of(now, TimeUtil.PT_ZONE); in testCanonicalTimeMidnight()
207 ZonedDateTime.ofInstant(Instant.ofEpochSecond(canonicalTimeSec), TimeUtil.PT_ZONE); in testCanonicalTimeMidnight()
/test/vti/dashboard/src/main/java/com/android/vts/entity/
DTestRunEntity.java21 import com.android.vts.util.TimeUtil;
268 return TimeUtil.getDateTimeString(this.startTimestamp); in getStartDateTime()
273 return TimeUtil.getDateTimeString(this.endTimestamp); in getEndDateTime()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/
DCompatibilityTest.java65 import com.android.tradefed.util.TimeUtil;
520 TimeUtil.formatElapsedTime(expected), in run()
521 TimeUtil.formatElapsedTime(duration)); in run()
DModuleRepo.java37 import com.android.tradefed.util.TimeUtil;
549 + "in %s.", serial, uniqueCount, TimeUtil.formatElapsedTime(estimatedTime)); in getModules()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/command/
DCompatibilityConsole.java48 import com.android.tradefed.util.TimeUtil;
355 shardIndex, TimeUtil.formatElapsedTime(shardTimes[shardIndex]))); in splitModules()