/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() 88 final long secs = TimeUnit.MILLISECONDS.toSeconds(ms - TimeUnit.DAYS.toMillis(days) in getDuration() local 91 return String.format("%dd %dh %dm %ds", days, hrs, mins, secs); in getDuration()
|
/tools/loganalysis/src/com/android/loganalysis/parser/ |
D | BatteryStatsSummaryInfoParser.java | 86 final int secs = NumberFormattingUtil.parseIntOrZero(dischargeMatcher.group(4)); 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 121 dischargeClockTime.add(Calendar.SECOND, secs); in getDischargeClockTime()
|
/tools/test/connectivity/acts_tests/tests/google/net/ |
D | DhcpServerTest.py | 617 req.getlayer(BOOTP).secs = 2 646 req.getlayer(BOOTP).secs = 2 663 req.getlayer(BOOTP).secs = 5 712 req.getlayer(BOOTP).secs = 2
|
/tools/test/connectivity/acts/tests/google/wifi/ |
D | WifiStressTest.py | 141 def start_youtube_video(self, url=None, secs=60): argument 159 time.sleep(secs) 357 self.start_youtube_video(url=video, secs=10*60)
|
/tools/repohooks/rh/ |
D | utils.py | 48 mins, secs = divmod(rem, 60) 49 ret = '%i.%03is' % (secs, delta.microseconds // 1000)
|
/tools/tradefederation/core/src/com/android/tradefed/command/ |
D | CommandScheduler.java | 1950 long secs = duration % 60; in getTimeString() local 1955 time = String.format("%dh:%02d:%02d", hrs, mins, secs); in getTimeString() 1957 time = String.format("%dm:%02d", mins, secs); in getTimeString()
|
/tools/test/connectivity/acts/framework/acts/ |
D | utils.py | 1325 def __init__(self, secs): argument 1331 self._thread = threading.Timer(secs, lambda: None)
|
/tools/dexter/testdata/expected/ |
D | medium.wrap_invoke | 126695 56| const-string/jumbo v3, "[%d] %s (%+d secs)"
|
D | medium.rewrite | 126695 56| const-string/jumbo v3, "[%d] %s (%+d secs)"
|
D | medium.scratch_regs | 146606 80| const-string/jumbo v3, "[%d] %s (%+d secs)"
|
D | medium.entry_hook | 129842 59| const-string/jumbo v3, "[%d] %s (%+d secs)"
|
D | medium.exit_hook | 132592 60| const-string/jumbo v3, "[%d] %s (%+d secs)"
|
D | medium.compact_cfg | 151539 56| const-string/jumbo v3, "[%d] %s (%+d secs)"
|
D | medium.verbose_cfg | 217795 56| const-string/jumbo v3, "[%d] %s (%+d secs)"
|
D | medium.code_coverage | 279282 164| const-string/jumbo v4, "[%d] %s (%+d secs)"
|