Home
last modified time | relevance | path

Searched refs:hours (Results 1 – 4 of 4) sorted by relevance

/tools/loganalysis/src/com/android/loganalysis/util/
DNumberFormattingUtil.java33 public static long getMs(long days, long hours, long mins, long secs, long msecs) { in getMs() argument
34 return (((24 * days + hours) * 60 + mins) * 60 + secs) * 1000 + msecs; in getMs()
40 public static long getMs(long hours, long mins, long secs, long msecs) { in getMs() argument
41 return getMs(0, hours, mins, secs, msecs); in getMs()
/tools/tradefederation/core/src/com/android/tradefed/util/
DTimeUtil.java41 long hours = TimeUnit.MILLISECONDS.toHours(elapsedTimeMs); in formatElapsedTime() local
43 if (hours > 0) { in formatElapsedTime()
44 time.append(hours); in formatElapsedTime()
/tools/loganalysis/src/com/android/loganalysis/parser/
DBatteryStatsSummaryInfoParser.java84 final int hours = NumberFormattingUtil.parseIntOrZero(dischargeMatcher.group(2)); in parse() local
98 long elapsedTime = NumberFormattingUtil.getMs(days, hours, mins, secs, msecs); in parse()
102 getDischargeClockTime(days, hours, mins, secs), in parse()
114 private Calendar getDischargeClockTime(int days, int hours, int mins, int secs) { in getDischargeClockTime() argument
119 dischargeClockTime.add(Calendar.HOUR, hours); in getDischargeClockTime()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/utils/
DMsDosDateTimeUtils.java45 int hours = c.get(Calendar.HOUR_OF_DAY); in packTime() local
55 return (hours << 11) | (minutes << 5) | (seconds / 2); in packTime()