Home
last modified time | relevance | path

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

/tools/loganalysis/tests/src/com/android/loganalysis/parser/
DKernelLogParserTest.java43 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 …]
DBugreportParserFuncTest.java93 bugreport.getLastKmsg().getMiscEvents(KernelLogParser.KERNEL_RESET).size(), in testParse()
94 bugreport.getLastKmsg().getMiscEvents(KernelLogParser.KERNEL_ERROR).size())); in testParse()
DBugreportParserTest.java586 KernelLogParser.KERNEL_RESET); in testNoSections()
622 events = bugreport.getLastKmsg().getMiscEvents(KernelLogParser.KERNEL_RESET); in testNoSections()
/tools/loganalysis/src/com/android/loganalysis/parser/
DBugreportParser.java114 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()
DKernelLogParser.java36 public class KernelLogParser implements IParser { class
82 public KernelLogParser() { in KernelLogParser() method in KernelLogParser
/tools/loganalysis/src/com/android/loganalysis/item/
DKernelLogItem.java18 import com.android.loganalysis.parser.KernelLogParser;
99 if (KernelLogParser.KERNEL_RESET.equals(event.getCategory()) && in addEvent()
100 !getMiscEvents(KernelLogParser.KERNEL_RESET).isEmpty()) { in addEvent()
DSELinuxItem.java19 import com.android.loganalysis.parser.KernelLogParser;
45 setCategory(KernelLogParser.SELINUX_DENIAL); in SELinuxItem()
/tools/tradefederation/contrib/src/com/android/monkey/
DMonkeyBase.java26 import com.android.loganalysis.parser.KernelLogParser;
457 mBugreport.getLastKmsg().getMiscEvents(KernelLogParser.KERNEL_ERROR); in runMonkey()
459 mBugreport.getLastKmsg().getMiscEvents(KernelLogParser.KERNEL_ERROR); in runMonkey()
/tools/loganalysis/src/com/android/loganalysis/
DLogAnalyzer.java27 import com.android.loganalysis.parser.KernelLogParser;
131 KernelLogItem kernelLog = new KernelLogParser().parse(reader); in run()