Searched refs:KernelLogParser (Results 1 – 9 of 9) sorted by relevance
43 KernelLogItem kernelLog = new KernelLogParser().parse(lines); 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()70 assertEquals(1, kernelLog.getMiscEvents(KernelLogParser.KERNEL_RESET).size()); in testParseDmesg()72 MiscKernelLogItem item = kernelLog.getMiscEvents(KernelLogParser.KERNEL_RESET).get(0); in testParseDmesg()87 KernelLogItem kernelLog = new KernelLogParser().parse(lines); in testParseLastMessage()92 assertEquals(1, kernelLog.getMiscEvents(KernelLogParser.KERNEL_RESET).size()); in testParseLastMessage()94 MiscKernelLogItem item = kernelLog.getMiscEvents(KernelLogParser.KERNEL_RESET).get(0); in testParseLastMessage()109 KernelLogItem kernelLog = new KernelLogParser().parse(lines); in testParseUnknownLastMessage()[all …]
93 bugreport.getLastKmsg().getMiscEvents(KernelLogParser.KERNEL_RESET).size(), in testParse()94 bugreport.getLastKmsg().getMiscEvents(KernelLogParser.KERNEL_ERROR).size())); in testParse()
586 KernelLogParser.KERNEL_RESET); in testNoSections()622 events = bugreport.getLastKmsg().getMiscEvents(KernelLogParser.KERNEL_RESET); in testNoSections()
114 private KernelLogParser mKernelLogParser = new KernelLogParser();115 private KernelLogParser mLastKmsgParser = new KernelLogParser();243 Matcher m = KernelLogParser.BAD_BOOTREASONS.matcher(bootreason); in commit()247 item.setCategory(KernelLogParser.KERNEL_RESET); in commit()252 m = KernelLogParser.GOOD_BOOTREASONS.matcher(bootreason); in commit()256 item.setCategory(KernelLogParser.NORMAL_REBOOT); in commit()261 if (lastKmsg.getMiscEvents(KernelLogParser.KERNEL_RESET).isEmpty() && in commit()262 lastKmsg.getMiscEvents(KernelLogParser.NORMAL_REBOOT).isEmpty()) { in commit()265 unknownReset.setCategory(KernelLogParser.KERNEL_RESET); in commit()
36 public class KernelLogParser implements IParser { class82 public KernelLogParser() { in KernelLogParser() method in KernelLogParser
18 import com.android.loganalysis.parser.KernelLogParser;99 if (KernelLogParser.KERNEL_RESET.equals(event.getCategory()) && in addEvent()100 !getMiscEvents(KernelLogParser.KERNEL_RESET).isEmpty()) { in addEvent()
19 import com.android.loganalysis.parser.KernelLogParser;45 setCategory(KernelLogParser.SELINUX_DENIAL); in SELinuxItem()
26 import com.android.loganalysis.parser.KernelLogParser;457 mBugreport.getLastKmsg().getMiscEvents(KernelLogParser.KERNEL_ERROR); in runMonkey()459 mBugreport.getLastKmsg().getMiscEvents(KernelLogParser.KERNEL_ERROR); in runMonkey()
27 import com.android.loganalysis.parser.KernelLogParser;131 KernelLogItem kernelLog = new KernelLogParser().parse(reader); in run()