Home
last modified time | relevance | path

Searched refs:secs (Results 1 – 8 of 8) 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/repohooks/rh/
Dutils.py48 mins, secs = divmod(rem, 60)
49 ret = '%i.%03is' % (secs, delta.microseconds // 1000)
/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/test/connectivity/acts/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/framework/acts/
Dutils.py1318 def __init__(self, secs): argument
1324 self._thread = threading.Timer(secs, lambda: None)
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java1869 long secs = duration % 60; in getTimeString() local
1874 time = String.format("%dh:%02d:%02d", hrs, mins, secs); in getTimeString()
1876 time = String.format("%dm:%02d", mins, secs); in getTimeString()
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...