Home
last modified time | relevance | path

Searched refs:hrs (Results 1 – 2 of 2) sorted by relevance

/tools/loganalysis/src/com/android/loganalysis/util/
DNumberFormattingUtil.java85 final long hrs = TimeUnit.MILLISECONDS.toHours(ms - TimeUnit.DAYS.toMillis(days)); in getDuration() local
87 - TimeUnit.HOURS.toMillis(hrs)); in getDuration()
89 - TimeUnit.HOURS.toMillis(hrs) - TimeUnit.MINUTES.toMillis(mins)); in getDuration()
91 return String.format("%dd %dh %dm %ds", days, hrs, mins, secs); in getDuration()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java2305 long hrs = duration / (60 * 60); in getTimeString() local
2307 if (hrs > 0) { in getTimeString()
2308 time = String.format("%dh:%02d:%02d", hrs, mins, secs); in getTimeString()