Home
last modified time | relevance | path

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

/tools/loganalysis/tests/src/com/android/loganalysis/parser/
DTracesParserTest.java102 TracesItem traces = new TracesParser().parse(lines); in testTracesParser() local
103 assertEquals(2887, traces.getPid().intValue()); in testTracesParser()
104 assertEquals("com.android.package", traces.getApp()); in testTracesParser()
105 assertEquals(ArrayUtil.join("\n", expectedStack), traces.getStack()); in testTracesParser()
139 TracesItem traces = new TracesParser().parse(lines); in testTracesParser_cmdline() local
140 assertEquals(2887, traces.getPid().intValue()); in testTracesParser_cmdline()
141 assertEquals("com.android.package", traces.getApp()); in testTracesParser_cmdline()
142 assertEquals(ArrayUtil.join("\n", expectedStack), traces.getStack()); in testTracesParser_cmdline()
162 traces = new TracesParser().parse(lines); in testTracesParser_cmdline()
163 assertEquals(2887, traces.getPid().intValue()); in testTracesParser_cmdline()
[all …]
/tools/loganalysis/src/com/android/loganalysis/parser/
DTracesParser.java56 TracesItem traces = new TracesItem(); in parse() local
63 traces.setPid(Integer.parseInt(m.group(1))); in parse()
67 traces.setApp(m.group(1)); in parse()
79 traces.setStack(stack.toString().trim()); in parse()
80 return traces; in parse()
86 traces.setStack(stack.toString().trim()); in parse()
87 return traces; in parse()
DMonkeyLogParser.java176 TracesItem traces = new TracesParser().parse(mBlock); in parseLine() local
179 if (traces != null && traces.getApp() != null && traces.getStack() != null && in parseLine()
181 traces.getApp().equals(mMonkeyLog.getCrash().getApp())) { in parseLine()
182 ((AnrItem) mMonkeyLog.getCrash()).setTrace(traces.getStack()); in parseLine()
DBugreportParser.java223 TracesItem traces = (TracesItem) getSection(mTracesParser); in commit() local
224 if (traces != null && traces.getApp() != null && traces.getStack() != null && in commit()
226 addAnrTrace(mBugreport.getSystemLog().getAnrs(), traces.getApp(), in commit()
227 traces.getStack()); in commit()
/tools/trebuchet/trebuchet/startup-analyzer/
DREADME.md12 This tool is able to process either text traces from `atrace` or extract the