Home
last modified time | relevance | path

Searched refs:getStack (Results 1 – 16 of 16) sorted by relevance

/tools/loganalysis/tests/src/com/android/loganalysis/parser/
DKernelLogParserTest.java53 assertEquals("Kernel panic", item.getStack()); in testParseLastKmsg()
75 assertEquals("Kernel panic", item.getStack()); in testParseDmesg()
97 assertEquals("Last boot reason: hw_reset", item.getStack()); in testParseLastMessage()
119 assertNotNull(item.getStack()); in testParseUnknownLastMessage()
152 assertEquals("Last boot reason: hw_reset", item.getStack()); in testNoPreviousLogs()
230 assertEquals(SELINUX_DENIAL_STACK, item.getStack()); in testSelinuxDenialParse()
236 assertEquals(SELINUX_DENIAL_STACK, selinuxItem.getStack()); in testSelinuxDenialParse()
262 assertEquals(LMK_MESSAGE, miscItem.getStack()); in testLowMemoryKillerParse()
269 assertEquals(LMK_MESSAGE, lmkItem.getStack()); in testLowMemoryKillerParse()
295 assertEquals(ALLOC_FAILURE, miscItem.getStack()); in testPageAllocationFailureParse()
[all …]
DJavaCrashParserTest.java45 assertEquals(ArrayUtil.join("\n", lines), jc.getStack()); in testParse_no_message()
62 assertEquals(ArrayUtil.join("\n", lines), jc.getStack()); in testParse_message()
81 assertEquals(ArrayUtil.join("\n", lines), jc.getStack()); in testParse_multiline_message()
106 assertEquals(ArrayUtil.join("\n", lines), jc.getStack()); in testParse_caused_by()
125 assertEquals(ArrayUtil.join("\n", lines.subList(0, lines.size()-2)), jc.getStack()); in testParse_cutoff()
147 assertNotNull(jc.getStack()); in testParse_begin_end_markers()
148 assertFalse(jc.getStack().contains("begin exception")); in testParse_begin_end_markers()
149 assertFalse(jc.getStack().contains("end exception")); in testParse_begin_end_markers()
DBugreportParserTest.java272 bugreport.getLastKmsg().getEvents().get(0).getStack()); in testParse_bootreason_kernel_good()
290 bugreport.getLastKmsg().getEvents().get(0).getStack()); in testParse_bootreason_kernel_bad()
309 bugreport.getLastKmsg().getEvents().get(0).getStack()); in testParse_bootreason_prop_good()
328 bugreport.getLastKmsg().getEvents().get(0).getStack()); in testParse_bootreason_prop_bad()
355 assertEquals("Kernel panic", bugreport.getLastKmsg().getEvents().get(0).getStack()); in testParse_bootreason_duplicate()
588 assertEquals(events.get(0).getStack(), "Unknown reason"); in testNoSections()
624 assertEquals(events.get(0).getStack(), "Unknown reason"); in testNoSections()
DAnrParserTest.java61 assertEquals(ArrayUtil.join("\n", lines), anr.getStack()); in testParse_application_not_responding()
94 assertEquals(ArrayUtil.join("\n", lines), anr.getStack()); in testParse_anr_in_app()
127 assertEquals(ArrayUtil.join("\n", lines), anr.getStack()); in testParse_anr_in_app_class_package()
162 assertEquals(ArrayUtil.join("\n", lines), anr.getStack()); in testParse_anr_in_app_class_package_pid()
DLogcatParserTest.java183 assertFalse(logcat.getJavaCrashes().get(0).getStack().contains("begin exception")); in testParse_test_exception_with_exras()
184 assertFalse(logcat.getJavaCrashes().get(0).getStack().contains("end exception")); in testParse_test_exception_with_exras()
185 assertFalse(logcat.getJavaCrashes().get(0).getStack().contains("failed: testYouTube")); in testParse_test_exception_with_exras()
769 assertEquals("Info", matchedEvents.get(0).getStack()); in testAddPattern_byLevelAndTagOnly()
792 assertEquals("I'm the one you need to find!", matchedEvents.get(0).getStack()); in testAddPattern_byLevelTagAndMessageOnly()
DMonkeyLogParserTest.java445 assertEquals(23, ((NativeCrashItem) monkeyLog.getCrash()).getStack().split("\n").length); in testParse_native_crash()
540 assertEquals(23, nc.getStack().split("\n").length); in testParse_native_crash_strip_extra()
541 assertFalse(nc.getStack().contains("New native crash detected")); in testParse_native_crash_strip_extra()
604 assertEquals("", nc.getStack()); in testParse_native_crash_empty()
DTracesParserTest.java105 assertEquals(ArrayUtil.join("\n", expectedStack), traces.getStack()); in testTracesParser()
142 assertEquals(ArrayUtil.join("\n", expectedStack), traces.getStack()); in testTracesParser_cmdline()
165 assertEquals(ArrayUtil.join("\n", expectedStack), traces.getStack()); in testTracesParser_cmdline()
DNativeCrashParserTest.java147 assertEquals(ArrayUtil.join("\n", lines), nc.getStack()); in testParseage()
/tools/tradefederation/core/src/com/android/tradefed/util/
DLogcatEventParser.java180 LogcatEventType eventType = mEventTriggerMap.get(item.getTag(), item.getStack()); in parseEvents()
182 mEventQueue.add(new LogcatEvent(eventType, item.getStack())); in parseEvents()
/tools/loganalysis/src/com/android/loganalysis/parser/
DMonkeyLogParser.java179 if (traces != null && traces.getApp() != null && traces.getStack() != null && in parseLine()
182 ((AnrItem) mMonkeyLog.getCrash()).setTrace(traces.getStack()); in parseLine()
DBugreportParser.java224 if (traces != null && traces.getApp() != null && traces.getStack() != null && in commit()
227 traces.getStack()); in commit()
/tools/tradefederation/contrib/src/com/android/monkey/
DMonkeyBase.java464 String stack = kernelErrors.get(i).getStack(); in runMonkey()
470 String stack = kernelResets.get(i).getStack(); in runMonkey()
/tools/loganalysis/src/com/android/loganalysis/item/
DTracesItem.java82 public String getStack() { in getStack() method in TracesItem
DMiscKernelLogItem.java101 public String getStack() { in getStack() method in MiscKernelLogItem
DMiscLogcatItem.java189 public String getStack() { in getStack() method in MiscLogcatItem
/tools/tradefederation/core/src/com/android/tradefed/result/
DLogcatCrashResultForwarder.java173 dedupList.add(String.format("%s\n%s", item.getMessage(), item.getStack())); in dedupCrash()