Home
last modified time | relevance | path

Searched refs:parseTime (Results 1 – 7 of 7) 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 …]
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
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