Searched refs:ProcrankItem (Results 1 – 5 of 5) sorted by relevance
33 ProcrankItem item = new ProcrankItem(); in testToJson()41 assertTrue(output.has(ProcrankItem.LINES)); in testToJson()42 assertTrue(output.get(ProcrankItem.LINES) instanceof JSONArray); in testToJson()43 assertTrue(output.has(ProcrankItem.TEXT)); in testToJson()44 assertEquals("foo\nbar", output.get(ProcrankItem.TEXT)); in testToJson()46 JSONArray lines = output.getJSONArray(ProcrankItem.LINES); in testToJson()53 assertEquals(0, line.get(ProcrankItem.PID)); in testToJson()54 assertEquals("process0", line.get(ProcrankItem.PROCESS_NAME)); in testToJson()55 assertEquals(1, line.get(ProcrankItem.VSS)); in testToJson()56 assertEquals(2, line.get(ProcrankItem.RSS)); in testToJson()[all …]
18 import com.android.loganalysis.item.ProcrankItem;49 ProcrankItem procrank = new ProcrankParser().parse(inputBlock); in testProcRankParserShortLine()82 ProcrankItem procrank = new ProcrankParser().parse(inputBlock); in testProcRankParserLongLine()101 ProcrankItem item = new ProcrankParser().parse(Arrays.asList("")); in testEmptyInput()
111 public ProcrankItem getProcrank() { in getProcrank()112 return (ProcrankItem) getAttribute(PROCRANK); in getProcrank()118 public void setProcrank(ProcrankItem procrank) { in setProcrank()
31 public class ProcrankItem implements IItem { class
29 import com.android.loganalysis.item.ProcrankItem;203 mBugreport.setProcrank((ProcrankItem) getSection(mProcrankParser)); in commit()