Home
last modified time | relevance | path

Searched refs:secs (Results 1 – 15 of 15) 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()
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/
DBatteryStatsSummaryInfoParser.java86 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/
DDhcpServerTest.py617 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/
DWifiStressTest.py141 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/
Dutils.py48 mins, secs = divmod(rem, 60)
49 ret = '%i.%03is' % (secs, delta.microseconds // 1000)
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java1950 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/
Dutils.py1325 def __init__(self, secs): argument
1331 self._thread = threading.Timer(secs, lambda: None)
/tools/dexter/testdata/expected/
Dmedium.wrap_invoke126695 56| const-string/jumbo v3, "[%d] %s (%+d secs)"
Dmedium.rewrite126695 56| const-string/jumbo v3, "[%d] %s (%+d secs)"
Dmedium.scratch_regs146606 80| const-string/jumbo v3, "[%d] %s (%+d secs)"
Dmedium.entry_hook129842 59| const-string/jumbo v3, "[%d] %s (%+d secs)"
Dmedium.exit_hook132592 60| const-string/jumbo v3, "[%d] %s (%+d secs)"
Dmedium.compact_cfg151539 56| const-string/jumbo v3, "[%d] %s (%+d secs)"
Dmedium.verbose_cfg217795 56| const-string/jumbo v3, "[%d] %s (%+d secs)"
Dmedium.code_coverage279282 164| const-string/jumbo v4, "[%d] %s (%+d secs)"