Home
last modified time | relevance | path

Searched refs:procrank (Results 1 – 3 of 3) sorted by relevance

/tools/loganalysis/tests/src/com/android/loganalysis/parser/
DProcrankParserTest.java49 ProcrankItem procrank = new ProcrankParser().parse(inputBlock); in testProcRankParserShortLine() local
53 assertEquals(6, procrank.getPids().size()); in testProcRankParserShortLine()
56 assertEquals((Integer) 87136, procrank.getVss(178)); in testProcRankParserShortLine()
57 assertEquals((Integer) 77996, procrank.getRss(1313)); in testProcRankParserShortLine()
58 assertEquals((Integer) 33122, procrank.getPss(3247)); in testProcRankParserShortLine()
59 assertEquals((Integer) 28360, procrank.getUss(334)); in testProcRankParserShortLine()
60 assertEquals("android.process.acore", procrank.getProcessName(2072)); in testProcRankParserShortLine()
61 assertEquals(ArrayUtil.join("\n", inputBlock), procrank.getText()); in testProcRankParserShortLine()
82 ProcrankItem procrank = new ProcrankParser().parse(inputBlock); in testProcRankParserLongLine() local
86 assertEquals(5, procrank.getPids().size()); in testProcRankParserLongLine()
[all …]
/tools/tradefederation/contrib/src/com/android/performance/tests/
DStartupMetricsTest.java197 void parseProcRankMap(ITestInvocationListener listener, ProcrankItem procrank) { in parseProcRankMap() argument
209 for (Integer pid : procrank.getPids()) { in parseProcRankMap()
211 Integer pss = procrank.getPss(pid); in parseProcRankMap()
212 Integer rss = procrank.getRss(pid); in parseProcRankMap()
213 Integer uss = procrank.getUss(pid); in parseProcRankMap()
216 pssOutput.put(procrank.getProcessName(pid), pss.toString()); in parseProcRankMap()
220 rssOutput.put(procrank.getProcessName(pid), rss.toString()); in parseProcRankMap()
224 ussOutput.put(procrank.getProcessName(pid), uss.toString()); in parseProcRankMap()
/tools/loganalysis/src/com/android/loganalysis/item/
DBugreportItem.java118 public void setProcrank(ProcrankItem procrank) { in setProcrank() argument
119 setAttribute(PROCRANK, procrank); in setProcrank()