/tools/loganalysis/tests/src/com/android/loganalysis/parser/ |
D | KernelLogParserTest.java | 53 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 …]
|
D | JavaCrashParserTest.java | 45 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()
|
D | BugreportParserTest.java | 272 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()
|
D | AnrParserTest.java | 61 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()
|
D | LogcatParserTest.java | 183 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()
|
D | MonkeyLogParserTest.java | 445 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()
|
D | TracesParserTest.java | 105 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()
|
D | NativeCrashParserTest.java | 147 assertEquals(ArrayUtil.join("\n", lines), nc.getStack()); in testParseage()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | LogcatEventParser.java | 180 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/ |
D | MonkeyLogParser.java | 179 if (traces != null && traces.getApp() != null && traces.getStack() != null && in parseLine() 182 ((AnrItem) mMonkeyLog.getCrash()).setTrace(traces.getStack()); in parseLine()
|
D | BugreportParser.java | 224 if (traces != null && traces.getApp() != null && traces.getStack() != null && in commit() 227 traces.getStack()); in commit()
|
/tools/tradefederation/contrib/src/com/android/monkey/ |
D | MonkeyBase.java | 464 String stack = kernelErrors.get(i).getStack(); in runMonkey() 470 String stack = kernelResets.get(i).getStack(); in runMonkey()
|
/tools/loganalysis/src/com/android/loganalysis/item/ |
D | TracesItem.java | 82 public String getStack() { in getStack() method in TracesItem
|
D | MiscKernelLogItem.java | 101 public String getStack() { in getStack() method in MiscKernelLogItem
|
D | MiscLogcatItem.java | 189 public String getStack() { in getStack() method in MiscLogcatItem
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | LogcatCrashResultForwarder.java | 173 dedupList.add(String.format("%s\n%s", item.getMessage(), item.getStack())); in dedupCrash()
|