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/
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()
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 …]
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()
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()
DNativeCrashParserTest.java147 assertEquals(ArrayUtil.join("\n", lines), nc.getStack()); in testParseage()
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()
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()
/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/prod-tests/src/com/android/monkey/
DMonkeyBrillopadForwarder.java186 crashTrace.append(jc.getStack()); in reportJavaCrashes()
202 crashTrace.append(((NativeCrashItem)item).getStack()); in reportNativeCrashes()
219 crashTrace.append(anr.getStack()); in reportAnrs()
DMonkeyBase.java411 String stack = kernelErrors.get(i).getStack(); in runMonkey()
417 String stack = kernelResets.get(i).getStack(); in runMonkey()
/tools/tradefederation/core/src/com/android/tradefed/result/
DLogcatCrashResultForwarder.java129 "%s\nCrash Message:%s\n%s", errorMsg, c.getMessage(), c.getStack()); in addJavaCrashToString()
/tools/loganalysis/src/com/android/loganalysis/parser/
DBugreportParser.java224 if (traces != null && traces.getApp() != null && traces.getStack() != null && in commit()
227 traces.getStack()); in commit()
DMonkeyLogParser.java179 if (traces != null && traces.getApp() != null && traces.getStack() != null && in parseLine()
182 ((AnrItem) mMonkeyLog.getCrash()).setTrace(traces.getStack()); in parseLine()
/tools/tradefederation/core/src/com/android/tradefed/util/
DLogcatUpdaterEventParser.java285 return mEventTriggerMap.get(mi.getTag(), mi.getStack()); in parseEventType()