summaryrefslogtreecommitdiff
path: root/src/com/android/loganalysis/parser/AbstractSectionParser.java
AgeCommit message (Collapse)Author
2013-06-19Make all parsers return null.Eric Rowe
When a parser receives an empty input ("".equals(input.trim())), then return null, not new IItem() with no input. If there is input but invalid, a non-null is still returned. This fixes the case in bugreports where the section is listed but there is no input. For example: ----- SECTION 1 ------ ----- SECTION 2 ------ text In this case, the section 1 parser would return null. Change-Id: Ifdfabc3bc40aa2303fcbc11ec6ccbf63167d54ae
2013-04-04Allow the section parser to use the same parserEric Rowe
Allow the section parser to use the same parser in multiple sections of the log. This is needed to allow a kernel parser to parse both the kernel log and last kernel log. Change-Id: I22f1b9f2dc0f316dcc9ada77aceebc74a53609c7
2013-02-28Move brillopad in tradefed to new project.Eric Rowe
Code has been unmodified except for update packages and references, and removing CLog statements (to remove the dependency on ddmlib). Added .classpath and .project files for eclipse, and Android.mk files for the make system. Change-Id: I64d6764c08332b1c420a8f563a026aaa547e45bf