summaryrefslogtreecommitdiff
path: root/src/com/android/loganalysis/parser/TopParser.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-05-02Add raw text block for various parsersEric Rowe
Add the raw text for procrank, mem info, system props, and top output. Change-Id: Ifa60612638297aa4626a5f71dbd9de2007a59f65
2013-03-19Add top parser for bugreport.Eric Rowe
Change-Id: If845385e7d3d8a2eb761b1e2bf55124bd800a4ed