Home
last modified time | relevance | path

Searched refs:lines (Results 1 – 25 of 32) sorted by relevance

12

/development/tools/bugreport/src/com/android/bugreport/bugreport/
DBugreportParser.java75 public void parse(String section, String command, Lines<? extends Line> lines); in parse() argument
93 public Bugreport parse(Lines<? extends Line> lines) { in parse() argument
101 pos = lines.pos; in parse()
102 while (lines.hasNext()) { in parse()
103 final Line line = lines.next(); in parse()
105 lines.rewind(); in parse()
106 mMetadataParser.parseHeader(lines.copy(pos, lines.pos)); in parse()
114 while (lines.hasNext()) { in parse()
115 final Line line = lines.next(); in parse()
121 parseSection(section, lines.copy(pos, lines.pos-1), command, durationMs); in parse()
[all …]
DMetadataParser.java59 public void parseHeader(Lines<? extends Line> lines) { in parseHeader() argument
63 while (lines.hasNext()) { in parseHeader()
64 final Line line = lines.next(); in parseHeader()
83 public void parseFooter(Lines<? extends Line> lines, int durationMs) { in parseFooter() argument
/development/tools/bugreport/src/com/android/bugreport/stacks/
DVmTracesParser.java52 public VmTraces parse(Lines<? extends Line> lines) { in parse() argument
56 while (lines.hasNext()) { in parse()
57 final Line line = lines.next(); in parse()
60 lines.rewind(); in parse()
65 while (lines.hasNext()) { in parse()
66 final Line line = lines.next(); in parse()
70 lines.rewind(); in parse()
72 final ProcessSnapshot snapshot = parser.parse(lines); in parse()
DProcessSnapshotParser.java53 public ProcessSnapshot parse(Lines<? extends Line> lines) { in parse() argument
71 while (lines.hasNext()) { in parse()
72 final Line line = lines.next(); in parse()
79 lines.rewind(); in parse()
83 lines.rewind(); in parse()
87 lines.rewind(); in parse()
102 while (lines.hasNext()) { in parse()
103 final Line line = lines.next(); in parse()
108 lines.rewind(); in parse()
110 final ThreadSnapshot snapshot = parser.parse(lines); in parse()
DThreadSnapshotParser.java92 public ThreadSnapshot parse(Lines<? extends Line> lines) { in parse() argument
124 if (!lines.hasNext()) { in parse()
128 line = lines.next(); in parse()
152 while (lines.hasNext()) { in parse()
153 line = lines.next(); in parse()
167 lines.rewind(); in parse()
173 while (lines.hasNext()) { in parse()
174 line = lines.next(); in parse()
/development/tools/bugreport/src/com/android/bugreport/monkey/
DMonkeyLogParser.java50 final Lines<Line> lines = extractAnrLines(in); in parse() local
51 if (!lines.hasNext()) { in parse()
55 final Line line = lines.next(); in parse()
62 final ArrayList<Anr> anrs = anrParser.parse(lines, true); in parse()
73 private static Lines<Line> extractAnrLines(Lines<? extends Line> lines) throws IOException { in extractAnrLines() argument
85 while (state != STATE_DONE && lines.hasNext()) { in extractAnrLines()
86 final Line line = lines.next(); in extractAnrLines()
/development/tools/bugreport/src/com/android/bugreport/inspector/
DInspector.java565 inventLogcatTimes(mBugreport.systemLog.lines); in inventLogcatTimes()
566 inventLogcatTimes(mBugreport.eventLog.lines); in inventLogcatTimes()
568 inventLogcatTimes(mBugreport.logcat.lines); in inventLogcatTimes()
576 private void inventLogcatTimes(ArrayList<LogLine> lines) { in inventLogcatTimes() argument
578 final int N = lines.size(); in inventLogcatTimes()
584 final LogLine line = lines.get(i); in inventLogcatTimes()
595 final LogLine line = lines.get(i); in inventLogcatTimes()
602 final LogLine line = lines.get(i); in inventLogcatTimes()
622 final ArrayList<LogLine> system = mBugreport.systemLog.lines; in mergeLogcat()
623 final ArrayList<LogLine> event = mBugreport.eventLog.lines; in mergeLogcat()
[all …]
/development/tools/bugreport/src/com/android/bugreport/logcat/
DLogcatParser.java49 public Logcat parse(Lines<? extends Line> lines) { in parse() argument
55 while (lines.hasNext()) { in parse()
56 final Line line = lines.next(); in parse()
67 result.lines.add(ll); in parse()
82 result.lines.add(ll); in parse()
DLogcat.java30 public ArrayList<LogLine> lines = new ArrayList<LogLine>(); field in Logcat
37 for (LogLine line: lines) { in filter()
50 for (LogLine line: lines) { in filter()
/development/tools/bugreport/src/com/android/bugreport/anr/
DAnrParser.java58 public ArrayList<Anr> parse(Lines<? extends Line> lines, boolean tryTraces) { in parse() argument
68 while (lines.hasNext()) { in parse()
69 final Line line = lines.next(); in parse()
88 lines.rewind(); in parse()
90 final CpuUsageSnapshot snapshot = parser.parse(lines); in parse()
99 lines.rewind(); in parse()
101 final ProcessSnapshot snapshot = parser.parse(lines); in parse()
/development/tools/bugreport/src/com/android/bugreport/cpuinfo/
DCpuUsageParser.java43 public CpuUsageSnapshot parse(Lines<? extends Line> lines) { in parse() argument
49 while (lines.hasNext()) { in parse()
50 final Line line = lines.next(); in parse()
/development/scripts/
Dstack_core.py28 def ConvertTrace(lines): argument
31 tracer.ConvertTrace(lines)
177 def ConvertTrace(self, lines): argument
178 lines = map(self.CleanLine, lines)
181 symbol.SetAbi(lines)
183 for line in lines:
455 lines = example_crash.split('\n')
456 symbol.SetAbi(lines)
458 for line in lines:
486 lines = example_crashes.libmemunreachable.split('\n')
[all …]
Dstack51 lines = f.readlines()
54 stack_core.ConvertTrace(lines)
Dusb-reset-by-serial.py104 lines = decoded.strip().split("\n")
105 return lines
110 lines = docmdlines("usb-devices")
115 for line in lines:
Dsymbol.py514 def SetAbi(lines): argument
522 for line in lines:
/development/tools/repo_diff/service/repodiff/tools/
Dupgrade_db.py41 lines = (mysql_output.splitlines())
42 if len(lines) == 3:
45 return lines[3]
/development/tools/axl/
Dchewperf.py48 lines = [x for x in rawLines if "Pulled" in x]
50 sidx = lines[0].split().index("Pulled")
52 chewed = [[int(x.split()[sidx + 2]), int(x.split()[sidx + 4])] for x in lines]
/development/vndk/tools/elfcheck/elfcheck/
Drewriter.py74 def extend(self, lines): argument
76 for line in lines:
230 def _rewrite_lines(self, lines, out_file): argument
233 line_iter = enumerate(lines)
278 lines = input_file.read().splitlines()
280 self._rewrite_lines(lines, out_file)
/development/tools/logblame/
Dps.py56 lines = ParsePs(text)
57 for line in lines:
70 lines = ParseUids(text)
71 for line in lines:
Danalyze_logs.py19 self.lines = []
37 bucket.lines.append(logLine)
233 logLine = v.lines[0]
245 logLine = v.lines[0]
/development/tools/
Dmonkey171 lines = [line.strip() for line in text.split("\n")][1:]
172 lines = [[s.strip() for s in line.split(":", 1)] for line in lines]
173 lines = [(k,ConvertVal(v)) for k,v in lines]
174 return dict(lines)
/development/vndk/tools/vndk-compliance/
DREADME.md25 * In Android.mk, remove all lines with copy headers
33 * Replace above lines with
47 Note: - and + are code lines in patch format
/development/vndk/tools/definition-tool/tests/
Dtest_elfdump.py100 def _remove_size_lines(self, lines): argument
110 return [line for line in lines if not patt.match(line)]
/development/tools/repo_diff/
DREADME.md96 a list of changes that actually have lines of code in the tree.
98 that have lines of code in the final source tree.
106 * It does not find commits that only delete lines of code.
/development/tools/winscope/adb_proxy/
Dwinscope_proxy.py271 lines = list(filter(None, call_adb('devices -l').split('\n')))
275 } for m in [ListDevicesEndpoint.ADB_INFO_RE.match(d) for d in lines[1:]] if m}

12