/tools/loganalysis/src/com/android/loganalysis/util/ |
D | NumberFormattingUtil.java | 33 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/loganalysis/src/com/android/loganalysis/parser/ |
D | BatteryStatsSummaryInfoParser.java | 84 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/tradefederation/core/src/com/android/tradefed/util/ |
D | TimeUtil.java | 41 long hours = TimeUnit.MILLISECONDS.toHours(elapsedTimeMs); in formatElapsedTime() local 43 if (hours > 0) { in formatElapsedTime() 44 time.append(hours); in formatElapsedTime()
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/utils/ |
D | MsDosDateTimeUtils.java | 45 int hours = c.get(Calendar.HOUR_OF_DAY); in packTime() local 55 return (hours << 11) | (minutes << 5) | (seconds / 2); in packTime()
|
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | RuntimeRestartCollector.java | 332 long hours = TimeUnit.NANOSECONDS.toHours(nanos); in nanosToHoursMinutesSeconds() local 333 nanos -= TimeUnit.HOURS.toNanos(hours); in nanosToHoursMinutesSeconds() 337 return String.format("%02d:%02d:%02d", hours, minutes, seconds); in nanosToHoursMinutesSeconds()
|
/tools/acloud/list/ |
D | instance_test.py | 81 datetime.timedelta(hours=10), instance._GetElapsedTime(start_time)) 89 datetime.timedelta(hours=2), instance._GetElapsedTime(start_time))
|
/tools/dexter/testdata/expected/ |
D | medium.rewrite | 126775 18| iget v3, v5, com.android.calendarcommon2.Duration.hours 126809 10| iput v4, v7, com.android.calendarcommon2.Duration.hours 126925 138| iput v3, v7, com.android.calendarcommon2.Duration.hours 140632 .local v18, "hours", int[] 141645 .params "hours", "minutes" 145999 .local v1, "hours", int 146649 133| sget v2, com.android.datetimepicker.R$id.hours
|
D | medium.wrap_invoke | 126775 18| iget v3, v5, com.android.calendarcommon2.Duration.hours 126809 10| iput v4, v7, com.android.calendarcommon2.Duration.hours 126925 138| iput v3, v7, com.android.calendarcommon2.Duration.hours 140632 .local v18, "hours", int[] 141645 .params "hours", "minutes" 145999 .local v1, "hours", int 146649 133| sget v2, com.android.datetimepicker.R$id.hours
|
D | medium.scratch_regs | 146704 27| iget v11, v13, com.android.calendarcommon2.Duration.hours 146744 28| iput v9, v12, com.android.calendarcommon2.Duration.hours 146860 156| iput v8, v12, com.android.calendarcommon2.Duration.hours 162913 .local v18, "hours", int[] 163992 .params "hours", "minutes" 168849 .local v1, "hours", int 169571 181| sget v2, com.android.datetimepicker.R$id.hours
|
D | medium.exit_hook | 132678 18| iget v3, v5, com.android.calendarcommon2.Duration.hours 132714 10| iput v4, v7, com.android.calendarcommon2.Duration.hours 132832 144| iput v3, v7, com.android.calendarcommon2.Duration.hours 147251 .local v18, "hours", int[] 148292 .params "hours", "minutes" 152809 .local v1, "hours", int 153467 133| sget v2, com.android.datetimepicker.R$id.hours
|
D | medium.entry_hook | 129926 21| iget v3, v5, com.android.calendarcommon2.Duration.hours 129961 13| iput v4, v7, com.android.calendarcommon2.Duration.hours 130077 141| iput v3, v7, com.android.calendarcommon2.Duration.hours 144145 .local v18, "hours", int[] 145164 .params "hours", "minutes" 149584 .local v1, "hours", int 150242 136| sget v2, com.android.datetimepicker.R$id.hours
|
D | medium.compact_cfg | 151627 18| iget v3, v5, com.android.calendarcommon2.Duration.hours 151663 10| iput v4, v7, com.android.calendarcommon2.Duration.hours 151821 135| iput v3, v7, com.android.calendarcommon2.Duration.hours 168384 .local v18, "hours", int[] 169613 .params "hours", "minutes" 174641 .local v1, "hours", int 175435 133| sget v2, com.android.datetimepicker.R$id.hours
|