/development/tools/bugreport/src/com/android/bugreport/bugreport/ |
D | BugreportParser.java | 75 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 …]
|
D | MetadataParser.java | 59 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/ |
D | VmTracesParser.java | 52 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()
|
D | ProcessSnapshotParser.java | 53 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()
|
D | ThreadSnapshotParser.java | 92 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/ |
D | MonkeyLogParser.java | 50 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/ |
D | Inspector.java | 565 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/ |
D | LogcatParser.java | 49 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()
|
D | Logcat.java | 30 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/ |
D | AnrParser.java | 58 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/ |
D | CpuUsageParser.java | 43 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/ |
D | stack_core.py | 28 def ConvertTrace(lines): argument 31 tracer.ConvertTrace(lines) 172 def ConvertTrace(self, lines): argument 173 lines = [self.CleanLine(line) for line in lines] 176 symbol.SetAbi(lines) 178 for line in lines: 461 lines = example_crash.split('\n') 462 symbol.SetAbi(lines) 464 for line in lines: 492 lines = example_crashes.libmemunreachable.split('\n') [all …]
|
D | stack | 51 lines = f.readlines() 54 stack_core.ConvertTrace(lines)
|
D | usb-reset-by-serial.py | 104 lines = decoded.strip().split("\n") 105 return lines 110 lines = docmdlines("usb-devices") 115 for line in lines:
|
D | symbol.py | 500 def SetAbi(lines): argument 508 for line in lines:
|
/development/tools/repo_diff/service/repodiff/tools/ |
D | upgrade_db.py | 41 lines = (mysql_output.splitlines()) 42 if len(lines) == 3: 45 return lines[3]
|
/development/tools/axl/ |
D | chewperf.py | 48 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/ |
D | rewriter.py | 74 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/ |
D | ps.py | 56 lines = ParsePs(text) 57 for line in lines: 70 lines = ParseUids(text) 71 for line in lines:
|
D | analyze_logs.py | 19 self.lines = [] 37 bucket.lines.append(logLine) 233 logLine = v.lines[0] 245 logLine = v.lines[0]
|
/development/tools/ |
D | monkey | 171 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/ |
D | README.md | 25 * 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/ |
D | test_elfdump.py | 100 def _remove_size_lines(self, lines): argument 110 return [line for line in lines if not patt.match(line)]
|
/development/tools/repo_diff/ |
D | README.md | 96 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/vndk/tools/definition-tool/ |
D | README.md | 24 This command will print several lines such as:
|