Home
last modified time | relevance | path

Searched refs:kernelLog (Results 1 – 2 of 2) sorted by relevance

/tools/loganalysis/tests/src/com/android/loganalysis/parser/
DKernelLogParserTest.java43 KernelLogItem kernelLog = new KernelLogParser().parse(lines); in testParseLastKmsg() local
44 assertNotNull(kernelLog); in testParseLastKmsg()
45 assertEquals(0.0, kernelLog.getStartTime(), 0.0000005); in testParseLastKmsg()
46 assertEquals(2.0, kernelLog.getStopTime(), 0.0000005); in testParseLastKmsg()
47 assertEquals(1, kernelLog.getEvents().size()); in testParseLastKmsg()
48 assertEquals(1, kernelLog.getMiscEvents(KernelLogParser.KERNEL_RESET).size()); in testParseLastKmsg()
50 MiscKernelLogItem item = kernelLog.getMiscEvents(KernelLogParser.KERNEL_RESET).get(0); in testParseLastKmsg()
65 KernelLogItem kernelLog = new KernelLogParser().parse(lines); in testParseDmesg() local
66 assertNotNull(kernelLog); in testParseDmesg()
67 assertEquals(0.0, kernelLog.getStartTime(), 0.0000005); in testParseDmesg()
[all …]
/tools/loganalysis/src/com/android/loganalysis/
DLogAnalyzer.java131 KernelLogItem kernelLog = new KernelLogParser().parse(reader); in run() local
132 printKernelLog(kernelLog); in run()
250 private void printKernelLog(KernelLogItem kernelLog) { in printKernelLog() argument
252 printJson(kernelLog); in printKernelLog()