Home
last modified time | relevance | path

Searched refs:parseTime (Results 1 – 9 of 9) sorted by relevance

/tools/loganalysis/tests/src/com/android/loganalysis/parser/
DLogcatParserTest.java50 assertEquals(parseTime("2012-04-25 17:17:08.445"), logcat.getStartTime()); in testParse_anr()
51 assertEquals(parseTime("2012-04-25 17:17:08.445"), logcat.getStopTime()); in testParse_anr()
58 assertEquals(parseTime("2012-04-25 17:17:08.445"), logcat.getAnrs().get(0).getEventTime()); in testParse_anr()
74 assertEquals(parseTime("2012-04-25 17:17:08.445"), logcat.getStartTime()); in testParse_anr_pid()
75 assertEquals(parseTime("2012-04-25 17:17:08.445"), logcat.getStopTime()); in testParse_anr_pid()
82 assertEquals(parseTime("2012-04-25 17:17:08.445"), logcat.getAnrs().get(0).getEventTime()); in testParse_anr_pid()
97 assertEquals(parseTime("2012-04-25 09:55:47.799"), logcat.getStartTime()); in testParse_java_crash()
98 assertEquals(parseTime("2012-04-25 09:55:47.799"), logcat.getStopTime()); in testParse_java_crash()
105 assertEquals(parseTime("2012-04-25 09:55:47.799"), in testParse_java_crash()
202 assertEquals(parseTime("2012-04-25 09:55:47.799"), logcat.getStartTime()); in testParse_java_crash_system_server()
[all …]
DBugreportParserTest.java166 assertEquals(parseTime("2012-04-25 20:45:10.000"), bugreport.getTime()); in testParse()
181 assertEquals(parseTime("2012-04-25 09:55:47.799"), bugreport.getSystemLog().getStartTime()); in testParse()
182 assertEquals(parseTime("2012-04-25 18:33:27.273"), bugreport.getSystemLog().getStopTime()); in testParse()
218 assertEquals(parseTime("1999-01-01 02:03:04.000"), bugreport.getTime()); in testParse_set_logcat_year()
220 assertEquals(parseTime("1999-01-01 01:02:03.000"), bugreport.getSystemLog().getStartTime()); in testParse_set_logcat_year()
221 assertEquals(parseTime("1999-01-01 01:02:04.000"), bugreport.getSystemLog().getStopTime()); in testParse_set_logcat_year()
762 private Date parseTime(String timeStr) throws ParseException { in parseTime() method in BugreportParserTest
DSmartMonkeyLogParserTest.java55 assertEquals(SmartMonkeyLogParser.parseTime("2013-03-04 12:33:39.510"), in testExceptions()
57 assertEquals(SmartMonkeyLogParser.parseTime("2013-03-04 12:43:39.510"), in testExceptions()
89 assertEquals(SmartMonkeyLogParser.parseTime("2013-03-04 12:33:18.789"), in testHeader()
115 assertEquals(SmartMonkeyLogParser.parseTime("2013-03-04 12:33:39.510"), in testIntermidiateStop()
DMonkeyLogParserTest.java781 private Date parseTime(String timeStr) throws ParseException { in parseTime() method in MonkeyLogParserTest
/tools/loganalysis/src/com/android/loganalysis/parser/
DSmartMonkeyLogParser.java147 mSmartMonkeyLog.setStartTime(parseTime(m.group(1))); in parseLine()
155 mSmartMonkeyLog.setStopTime(parseTime(m.group(1))); in parseLine()
161 mSmartMonkeyLog.setIntermediateTime(parseTime(m.group(1))); in parseLine()
177 mSmartMonkeyLog.addCrashTime(parseTime(m.group(1))); in parseLine()
181 mSmartMonkeyLog.addAnrTime(parseTime(m.group(1))); in parseLine()
191 public static Date parseTime(String timeStr) { in parseTime() method in SmartMonkeyLogParser
DTimingsLogParser.java157 double startTimeMillis = parseTime(line); in parseGenericTimingItem()
163 double endTimeMillis = parseTime(line); in parseGenericTimingItem()
183 private double parseTime(String line) { in parseTime() method in TimingsLogParser
DMonkeyLogParser.java219 mMonkeyLog.setStartTime(parseTime(m.group(1))); in parseLine()
224 mMonkeyLog.setStopTime(parseTime(m.group(1))); in parseLine()
330 private Date parseTime(String timeStr) { in parseTime() method in MonkeyLogParser
DLogcatParser.java233 time = parseTime(m.group(1)); in parseLine()
240 time = parseTime(tm.group(1)); in parseLine()
426 private Date parseTime(String timeStr) { in parseTime() method in LogcatParser
DBugreportParser.java88 bugreport.setTime(parseTime(m.group(1)));
305 private static Date parseTime(String timeStr) { in parseTime() method in BugreportParser