Home
last modified time | relevance | path

Searched refs:group (Results 1 – 25 of 184) sorted by relevance

12345678

/development/tools/bugreport/src/com/android/bugreport/stacks/
DThreadSnapshotParser.java131 result.name = beginUnmanagedThreadRe.group(1); in parse()
134 result.sysTid = Integer.parseInt(beginUnmanagedThreadRe.group(2)); in parse()
137 result.name = beginManagedThreadRe.group(1); in parse()
138 result.daemon = beginManagedThreadRe.group(2); in parse()
141 result.vmState = beginManagedThreadRe.group(5); in parse()
144 result.name = beginNotAttachedThreadRe.group(1); in parse()
145 result.daemon = beginNotAttachedThreadRe.group(2); in parse()
148 result.vmState = beginNotAttachedThreadRe.group(4); in parse()
156 result.attributeText.add(heldMutexesRe.group(1)); in parse()
157 result.heldMutexes = heldMutexesRe.group(2); in parse()
[all …]
DProcessSnapshotParser.java75 result.pid = Integer.parseInt(beginProcessRe.group(1)); in parse()
76 result.date = beginProcessRe.group(2); in parse()
92 result.cmdLine = cmdLineRe.group(1); in parse()
/development/tools/bugreport/src/com/android/bugreport/util/
DUtils.java70 public static int getInt(Matcher matcher, int group, int def) { in getInt() argument
71 final String str = matcher.group(group); in getInt()
94 if (matcher.group(startGroup+0) != null) { in parseCalendar()
95 result.set(Calendar.YEAR, Integer.parseInt(matcher.group(startGroup + 0))); in parseCalendar()
97 result.set(Calendar.MONTH, Integer.parseInt(matcher.group(startGroup + 1))); in parseCalendar()
98 result.set(Calendar.DAY_OF_MONTH, Integer.parseInt(matcher.group(startGroup + 2))); in parseCalendar()
99 result.set(Calendar.HOUR_OF_DAY, Integer.parseInt(matcher.group(startGroup + 3))); in parseCalendar()
100 result.set(Calendar.MINUTE, Integer.parseInt(matcher.group(startGroup + 4))); in parseCalendar()
101 result.set(Calendar.SECOND, Integer.parseInt(matcher.group(startGroup + 5))); in parseCalendar()
103 result.set(Calendar.MILLISECOND, Integer.parseInt(matcher.group(startGroup + 6))); in parseCalendar()
/development/tools/logblame/
Dlogs.py66 for i in range(int(m.group(1))):
108 buf = m.group(1)
117 buf = m.group(1)
127 timestamp=m.group(1),
128 uid=m.group(2),
129 pid=m.group(3),
130 tid=m.group(4),
131 level=m.group(5),
132 tag=m.group(6)
145 timestamp=m.group(1),
[all …]
Dps.py121 result.append((m.group(1), m.group(2), m.group(3), m.group(4)))
135 result = int("0x" + m.group(2), 16)
136 return "(%s/%s/%s)" % (m.group(1), m.group(2), result)
139 return "[%s]" % m.group(1)
/development/tools/bugreport/src/com/android/bugreport/logcat/
DLogcatParser.java65 ll.bufferBegin = m.group(1); in parse()
74 ll.header = m.group(1); in parse()
76 ll.pid = Integer.parseInt(m.group(9)); in parse()
77 ll.tid = Integer.parseInt(m.group(10)); in parse()
78 ll.level = m.group(11).charAt(0); in parse()
79 ll.tag = m.group(12); in parse()
80 ll.text = m.group(13); in parse()
/development/scripts/
Dstack_core.py193 return {"frame": match.group("frame"),
194 "offset": match.group("offset"),
195 "so_offset": match.group("so_offset"),
196 "dso": match.group("dso"),
197 "symbol_present": bool(match.group("symbolpresent")),
198 "symbol_name": match.group("symbol")}
201 return {"frame": match.group("frame"),
202 "offset": match.group("offset"),
204 "dso": match.group("dso"),
229 name = match.group(1)
[all …]
Dsymbol.py424 current_symbol_addr = int(components.group(1), 16)
425 current_symbol = components.group(2)
430 current_symbol = components.group(1)
431 offset = components.group(2)
439 addr = components.group(1)
484 abi = toolchain_match.group(1)
525 ARCH = abi_match.group(1)
530 if len(trace_match.group(1)) == 16:
538 if len(asan_trace_match.group(1)) > 8:
Dusb-reset-by-serial.py118 p1 = int(m.group(1))
119 p2 = int(m.group(2))
125 ser = m.group(1)
Dnative_heapdump_viewer.py125 return m.group('version')
152 backtrace_size = int(m.group('backtrace_size'))
157 num_allocations = int(m.group('num_allocations'))
247 start = int(m.group('start'), 16)
249 end = int(m.group('end'), 16)
251 offset = int(m.group('offset'), 16)
252 name = m.group('name')
Dgdbclient.py96 group = parser.add_argument_group(title="attach target")
97 group = group.add_mutually_exclusive_group(required=True)
98 group.add_argument(
101 group.add_argument(
104 group.add_argument(
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyPermissionUtil.java108 return pi.group != null && pi.protectionLevel == PermissionInfo.PROTECTION_DANGEROUS in shouldTargetPermission()
110 && isModernPermissionGroup(pi.group); in shouldTargetPermission()
162 String group = pi.group; in dump() local
163 if (group != null) { in dump()
164 if (group.startsWith(PERMISSION_GROUP_PREFIX)) { in dump()
165 group = group.substring(PERMISSION_GROUP_PREFIX.length()); in dump()
168 Logger.out.println(String.format("// Permission: %s [%s]", name, group)); in dump()
/development/vndk/tools/sourcedr/blueprint/
Danalyze_manifest_split.py122 group = parser.add_mutually_exclusive_group()
123 group.add_argument('--skip-no-overlaps', action='store_true',
125 group.add_argument('--has-group', choices=_GROUPS,
127 group.add_argument('--only-has-group', choices=_GROUPS,
129 group.add_argument('--without-group', choices=_GROUPS,
178 if any(getattr(modules, group)
179 for group in _GROUPS if group != args.only_has_group):
/development/testrunner/
Dam_instrument_parser.py94 key = re_result.search(line).group(1).strip(string.whitespace)
97 val = re_result.search(line).group(2).strip(string.whitespace)
107 val = re_code.search(line).group(1).strip(string.whitespace)
146 key, value = (field.group('key').strip(), field.group('value').strip())
155 self._status_code = int(re_status_code.group('status_code'))
Druntest.py190 group = optparse.OptionGroup(
193 group.add_option("-e", "--emulator", dest="emulator", default=False,
195 group.add_option("-d", "--device", dest="device", default=False,
197 group.add_option("-s", "--serial", dest="serial",
199 parser.add_option_group(group)
360 install_paths = m.group(2)
379 remote_path = m.group(1)
/development/python-packages/gdbrunner/
D__init__.py37 group = self.add_argument_group(title="device selection")
38 group = group.add_mutually_exclusive_group()
39 group.add_argument(
42 group.add_argument(
45 group.add_argument(
48 group.add_argument(
340 return m.group(1)
/development/tools/bugreport/src/com/android/bugreport/anr/
DAnrParser.java75 anr.processName = procNameRe.group(1); in parse()
76 anr.componentPackage = procNameRe.group(2); in parse()
77 anr.componentClass = procNameRe.group(3); in parse()
80 anr.pid = Integer.parseInt(pidRe.group(1)); in parse()
84 anr.reason = reasonRe.group(1); in parse()
/development/vndk/tools/elfcheck/elfcheck/
Dreadobj.py42 if match.group(1) == 'ELF32':
54 dt_needed.add(match.group(1))
58 dt_soname = match.group(1)
Drewriter.py209 key = match.group(1)
214 return match.group(0)
237 command = match.group(1)
251 key = match.group(1).strip()
252 assign_op = match.group(2).strip()
253 value = match.group(3).strip()
/development/tools/bugreport/src/com/android/bugreport/bugreport/
DBugreportParser.java117 final int durationMs = (int)(Float.parseFloat(m.group(1)) * 1000); in parse()
118 final String endSection = m.group(2); in parse()
146 section = m.group(1); in parse()
147 command = (m.groupCount() > 1) ? command = m.group(2) : null; in parse()
DMetadataParser.java70 final String key = m.group(1); in parseHeader()
71 final String value = m.group(2); in parseHeader()
/development/gsi/gsi_util/gsi_util/commands/common/
Dimage_sources.py61 group = parser.add_argument_group('image sources', _DESCRIPTION)
63 group.add_argument(
/development/samples/Wiktionary/src/com/example/android/wiktionary/
DWordWidget.java108 String wordTitle = matcher.group(1); in buildUpdate()
110 views.setTextViewText(R.id.word_type, matcher.group(2)); in buildUpdate()
111 views.setTextViewText(R.id.definition, matcher.group(3).trim()); in buildUpdate()
/development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/
DWordWidget.java99 String wordTitle = matcher.group(1); in buildUpdate()
101 updateViews.setTextViewText(R.id.word_type, matcher.group(2)); in buildUpdate()
102 updateViews.setTextViewText(R.id.definition, matcher.group(3).trim()); in buildUpdate()
/development/python-packages/fastboot/
Ddevice.py95 return result.group(1)
111 var_name = result.group(1)
123 all_vars[var_name] = result.group(2)

12345678