Home
last modified time | relevance | path

Searched refs:ProcrankItem (Results 1 – 5 of 5) sorted by relevance

/tools/loganalysis/tests/src/com/android/loganalysis/item/
DProcrankItemTest.java33 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 …]
/tools/loganalysis/tests/src/com/android/loganalysis/parser/
DProcrankParserTest.java18 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()
/tools/loganalysis/src/com/android/loganalysis/item/
DBugreportItem.java111 public ProcrankItem getProcrank() { in getProcrank()
112 return (ProcrankItem) getAttribute(PROCRANK); in getProcrank()
118 public void setProcrank(ProcrankItem procrank) { in setProcrank()
DProcrankItem.java31 public class ProcrankItem implements IItem { class
/tools/loganalysis/src/com/android/loganalysis/parser/
DBugreportParser.java29 import com.android.loganalysis.item.ProcrankItem;
203 mBugreport.setProcrank((ProcrankItem) getSection(mProcrankParser)); in commit()