/tools/loganalysis/tests/src/com/android/loganalysis/parser/ |
D | BugreportParserTest.java | 183 assertEquals(3, bugreport.getSystemLog().getEvents().size()); in testParse() 270 assertEquals(1, bugreport.getLastKmsg().getEvents().size()); in testParse_bootreason_kernel_good() 272 bugreport.getLastKmsg().getEvents().get(0).getStack()); in testParse_bootreason_kernel_good() 273 assertEquals("NORMAL_REBOOT", bugreport.getLastKmsg().getEvents().get(0).getCategory()); in testParse_bootreason_kernel_good() 288 assertEquals(1, bugreport.getLastKmsg().getEvents().size()); in testParse_bootreason_kernel_bad() 290 bugreport.getLastKmsg().getEvents().get(0).getStack()); in testParse_bootreason_kernel_bad() 291 assertEquals("KERNEL_RESET", bugreport.getLastKmsg().getEvents().get(0).getCategory()); in testParse_bootreason_kernel_bad() 307 assertEquals(1, bugreport.getLastKmsg().getEvents().size()); in testParse_bootreason_prop_good() 309 bugreport.getLastKmsg().getEvents().get(0).getStack()); in testParse_bootreason_prop_good() 310 assertEquals("NORMAL_REBOOT", bugreport.getLastKmsg().getEvents().get(0).getCategory()); in testParse_bootreason_prop_good() [all …]
|
D | LogcatParserTest.java | 52 assertEquals(1, logcat.getEvents().size()); in testParse_anr() 76 assertEquals(1, logcat.getEvents().size()); in testParse_anr_pid() 99 assertEquals(1, logcat.getEvents().size()); in testParse_java_crash() 139 assertEquals(1, logcat.getEvents().size()); in testParse_test_exception() 176 assertEquals(1, logcat.getEvents().size()); in testParse_test_exception_with_exras() 204 assertEquals(1, logcat.getEvents().size()); in testParse_java_crash_system_server() 231 assertEquals(1, logcat.getEvents().size()); in testParse_java_crash_process_pid() 258 assertEquals(1, logcat.getEvents().size()); in testParse_java_crash_pid() 281 assertEquals(0, logcat.getEvents().size()); in testParse_java_crash_empty() 298 assertEquals(1, logcat.getEvents().size()); in testParse_native_crash_info() [all …]
|
D | KernelLogParserTest.java | 47 assertEquals(1, kernelLog.getEvents().size()); in testParseLastKmsg() 69 assertEquals(1, kernelLog.getEvents().size()); in testParseDmesg() 91 assertEquals(1, kernelLog.getEvents().size()); in testParseLastMessage() 113 assertEquals(1, kernelLog.getEvents().size()); in testParseUnknownLastMessage() 132 assertEquals(0, kernelLog.getEvents().size()); in testParseKnownGoodLastMessage() 146 assertEquals(1, kernelLog.getEvents().size()); in testNoPreviousLogs() 223 assertEquals(2, kernelLog.getEvents().size()); in testSelinuxDenialParse() 254 assertEquals(2, kernelLog.getEvents().size()); in testLowMemoryKillerParse() 287 assertEquals(2, kernelLog.getEvents().size()); in testPageAllocationFailureParse() 313 assertEquals(1, kernelLog.getEvents().size()); in testMantaReset() [all …]
|
/tools/loganalysis/src/com/android/loganalysis/item/ |
D | LogcatItem.java | 87 public List<MiscLogcatItem> getEvents() { in getEvents() method in LogcatItem 103 for (IItem item : getEvents()) { in getAnrs() 116 for (IItem item : getEvents()) { in getJavaCrashes() 129 for (IItem item : getEvents()) { in getNativeCrashes() 142 for (MiscLogcatItem item : getEvents()) { in getMiscEvents() 175 for (MiscLogcatItem event : getEvents()) { in merge() 178 !logcat.getEvents().contains(event)) { in merge() 185 for (MiscLogcatItem event : logcat.getEvents()) { in merge() 188 if (!getEvents().contains(event)) { in merge() 211 for (MiscLogcatItem event : getEvents()) { in toJson()
|
D | KernelLogItem.java | 90 public List<MiscKernelLogItem> getEvents() { in getEvents() method in KernelLogItem 111 for (MiscKernelLogItem item : getEvents()) { in getMiscEvents() 124 for (MiscKernelLogItem item : getEvents()) { in getSELinuxEvents() 137 for (MiscKernelLogItem item : getEvents()) { in getLowMemoryKillerEvents() 150 for (MiscKernelLogItem item : getEvents()) { in getPageAllocationFailureEvents() 165 for (MiscKernelLogItem event : getEvents()) { in toJson()
|
/tools/tradefederation/contrib/src/com/android/monkey/ |
D | MonkeyBrillopadForwarder.java | 199 if (systemLog.getEvents().size() > 0) { in reportNativeCrashes() 201 for (IItem item : systemLog.getEvents()) { in reportNativeCrashes()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | LogcatEventParser.java | 179 for (MiscLogcatItem item : items.getEvents()) { in parseEvents()
|
/tools/loganalysis/src/com/android/loganalysis/parser/ |
D | BugreportParser.java | 213 for (IItem item : mBugreport.getSystemLog().getEvents()) { in commit()
|
/tools/dexter/testdata/expected/ |
D | medium.rewrite | 145393 … 71| invoke-virtual {v3,v5}, android.view.KeyCharacterMap.getEvents(char[]):android.view.KeyEvent[]
|
D | medium.scratch_regs | 168187 … 89| invoke-virtual {v4,v6}, android.view.KeyCharacterMap.getEvents(char[]):android.view.KeyEvent[]
|
D | medium.exit_hook | 152147 … 71| invoke-virtual {v3,v5}, android.view.KeyCharacterMap.getEvents(char[]):android.view.KeyEvent[]
|
D | medium.entry_hook | 148970 … 74| invoke-virtual {v3,v5}, android.view.KeyCharacterMap.getEvents(char[]):android.view.KeyEvent[]
|
D | medium.compact_cfg | 173817 … 71| invoke-virtual {v3,v5}, android.view.KeyCharacterMap.getEvents(char[]):android.view.KeyEvent[]
|