/development/tools/bugreport/src/com/android/bugreport/stacks/ |
D | ThreadSnapshotParser.java | 131 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 …]
|
D | ProcessSnapshotParser.java | 75 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/ |
D | Utils.java | 70 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/ |
D | logs.py | 66 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 …]
|
D | ps.py | 121 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/ |
D | LogcatParser.java | 65 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/ |
D | stack_core.py | 193 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 …]
|
D | symbol.py | 424 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:
|
D | usb-reset-by-serial.py | 118 p1 = int(m.group(1)) 119 p2 = int(m.group(2)) 125 ser = m.group(1)
|
D | native_heapdump_viewer.py | 125 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')
|
D | gdbclient.py | 96 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/ |
D | MonkeyPermissionUtil.java | 108 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/ |
D | analyze_manifest_split.py | 122 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/ |
D | am_instrument_parser.py | 94 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'))
|
D | runtest.py | 190 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__.py | 37 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/ |
D | AnrParser.java | 75 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/ |
D | readobj.py | 42 if match.group(1) == 'ELF32': 54 dt_needed.add(match.group(1)) 58 dt_soname = match.group(1)
|
D | rewriter.py | 209 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/ |
D | BugreportParser.java | 117 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()
|
D | MetadataParser.java | 70 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/ |
D | image_sources.py | 61 group = parser.add_argument_group('image sources', _DESCRIPTION) 63 group.add_argument(
|
/development/samples/Wiktionary/src/com/example/android/wiktionary/ |
D | WordWidget.java | 108 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/ |
D | WordWidget.java | 99 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/ |
D | device.py | 95 return result.group(1) 111 var_name = result.group(1) 123 all_vars[var_name] = result.group(2)
|