Home
last modified time | relevance | path

Searched refs:getMiscEvents (Results 1 – 8 of 8) sorted by relevance

/tools/loganalysis/tests/src/com/android/loganalysis/parser/
DKernelLogParserTest.java48 assertEquals(1, kernelLog.getMiscEvents(KernelLogParser.KERNEL_RESET).size()); in testParseLastKmsg()
50 MiscKernelLogItem item = kernelLog.getMiscEvents(KernelLogParser.KERNEL_RESET).get(0); in testParseLastKmsg()
70 assertEquals(1, kernelLog.getMiscEvents(KernelLogParser.KERNEL_RESET).size()); in testParseDmesg()
72 MiscKernelLogItem item = kernelLog.getMiscEvents(KernelLogParser.KERNEL_RESET).get(0); in testParseDmesg()
92 assertEquals(1, kernelLog.getMiscEvents(KernelLogParser.KERNEL_RESET).size()); in testParseLastMessage()
94 MiscKernelLogItem item = kernelLog.getMiscEvents(KernelLogParser.KERNEL_RESET).get(0); in testParseLastMessage()
114 assertEquals(1, kernelLog.getMiscEvents(KernelLogParser.KERNEL_RESET).size()); in testParseUnknownLastMessage()
116 MiscKernelLogItem item = kernelLog.getMiscEvents(KernelLogParser.KERNEL_RESET).get(0); in testParseUnknownLastMessage()
147 assertEquals(1, kernelLog.getMiscEvents(KernelLogParser.KERNEL_RESET).size()); in testNoPreviousLogs()
149 MiscKernelLogItem item = kernelLog.getMiscEvents(KernelLogParser.KERNEL_RESET).get(0); in testNoPreviousLogs()
[all …]
DLogcatParserTest.java372 assertEquals(1, logcat.getMiscEvents(LogcatParser.HIGH_CPU_USAGE).size()); in testParse_misc_events()
373 assertEquals(1, logcat.getMiscEvents(LogcatParser.HIGH_MEMORY_USAGE).size()); in testParse_misc_events()
374 assertEquals(1, logcat.getMiscEvents(LogcatParser.RUNTIME_RESTART).size()); in testParse_misc_events()
376 MiscLogcatItem item = logcat.getMiscEvents(LogcatParser.HIGH_CPU_USAGE).get(0); in testParse_misc_events()
382 item = logcat.getMiscEvents(LogcatParser.HIGH_MEMORY_USAGE).get(0); in testParse_misc_events()
388 item = logcat.getMiscEvents(LogcatParser.RUNTIME_RESTART).get(0); in testParse_misc_events()
741 List<MiscLogcatItem> matchedEvents = logcat.getMiscEvents("HelloCategory"); in testAddPattern_byTagOnly()
746 matchedEvents = logcat.getMiscEvents("WatchdogCategory"); in testAddPattern_byTagOnly()
766 List<MiscLogcatItem> matchedEvents = logcat.getMiscEvents("WatchdogCategory"); in testAddPattern_byLevelAndTagOnly()
789 List<MiscLogcatItem> matchedEvents = logcat.getMiscEvents("WatchdogCategory"); in testAddPattern_byLevelTagAndMessageOnly()
DBugreportParserFuncTest.java93 bugreport.getLastKmsg().getMiscEvents(KernelLogParser.KERNEL_RESET).size(), in testParse()
94 bugreport.getLastKmsg().getMiscEvents(KernelLogParser.KERNEL_ERROR).size())); in testParse()
DBugreportParserTest.java585 List<MiscKernelLogItem> events = bugreport.getLastKmsg().getMiscEvents( in testNoSections()
622 events = bugreport.getLastKmsg().getMiscEvents(KernelLogParser.KERNEL_RESET); in testNoSections()
/tools/loganalysis/src/com/android/loganalysis/item/
DKernelLogItem.java100 !getMiscEvents(KernelLogParser.KERNEL_RESET).isEmpty()) { in addEvent()
109 public List<MiscKernelLogItem> getMiscEvents(String category) { in getMiscEvents() method in KernelLogItem
DLogcatItem.java140 public List<MiscLogcatItem> getMiscEvents(String category) { in getMiscEvents() method in LogcatItem
/tools/loganalysis/src/com/android/loganalysis/parser/
DBugreportParser.java261 if (lastKmsg.getMiscEvents(KernelLogParser.KERNEL_RESET).isEmpty() && in commit()
262 lastKmsg.getMiscEvents(KernelLogParser.NORMAL_REBOOT).isEmpty()) { in commit()
/tools/tradefederation/contrib/src/com/android/monkey/
DMonkeyBase.java457 mBugreport.getLastKmsg().getMiscEvents(KernelLogParser.KERNEL_ERROR); in runMonkey()
459 mBugreport.getLastKmsg().getMiscEvents(KernelLogParser.KERNEL_ERROR); in runMonkey()