Home
last modified time | relevance | path

Searched refs:match (Results 1 – 25 of 29) sorted by relevance

12

/tools/loganalysis/src/com/android/loganalysis/parser/
DDmesgParser.java167 Matcher match = null; in parseServiceInfo() local
168 if ((match = matches(START_SERVICE, line)) != null) { in parseServiceInfo()
170 serviceItem.setServiceName(match.group(SERVICENAME)); in parseServiceInfo()
172 match.group(TIMESTAMP)) * 1000)); in parseServiceInfo()
173 getServiceInfoItems().put(match.group(SERVICENAME), serviceItem); in parseServiceInfo()
175 } else if ((match = matches(EXIT_SERVICE, line)) != null) { in parseServiceInfo()
176 if (getServiceInfoItems().containsKey(match.group(SERVICENAME))) { in parseServiceInfo()
178 match.group(SERVICENAME)); in parseServiceInfo()
180 match.group(TIMESTAMP)) * 1000)); in parseServiceInfo()
198 Matcher match = null; in parseStageInfo() local
[all …]
DEventsLogParser.java75 Matcher match = null; in parseTransitionDelayInfo() local
77 if ((match = matches(SYSUI_TRANSITION_INFO_PATTERN, line)) != null) { in parseTransitionDelayInfo()
79 match.group(TRANSITION_INFO)); in parseTransitionDelayInfo()
90 delayItem.setDateTime(String.format("%s %s", match.group(DATE), in parseTransitionDelayInfo()
91 match.group(TIME))); in parseTransitionDelayInfo()
134 Matcher match = null; in parseLatencyInfo() local
135 if (((match = matches(ACTION_LATENCY, line))) != null) { in parseLatencyInfo()
137 latencyItem.setActionId(Integer.parseInt(match.group("action"))); in parseLatencyInfo()
138 latencyItem.setDelay(Long.parseLong(match.group("delay"))); in parseLatencyInfo()
/tools/repohooks/tools/
Dcpplint.py659 return _regexp_compile_cache[pattern].match(s)
1458 if _RE_PATTERN_INCLUDE.match(elided):
1472 match = Match(r'^([^\'"]*)([\'"])(.*)$', elided)
1473 if not match:
1476 head, quote, tail = match.groups()
1946 match = Match(r'#endif\s*//\s*' + cppvar + r'(_)?\b', endif)
1947 if match:
1948 if match.group(1) == '_':
1965 match = Match(r'#endif\s*/\*\s*' + cppvar + r'(_)?\s*\*/', endif)
1966 if match:
[all …]
Dpylintrc317 # Regular expression which should only match correct method names
323 # Regular expression which should only match function or class names that do
343 # Argument names that match this expression will be ignored. Default to name
/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/commands/
Dip.py60 match = re.search('inet (?P<address>[^\s]*) brd (?P<bcast>[^\s]*)',
62 if match:
63 d = match.groupdict()
68 match = re.search('inet (?P<address>[^\s]*)', line)
69 if match:
70 d = match.groupdict()
Droute.py100 match = re.search('dev (?P<net_interface>.*)', line)
102 if match:
106 match.groupdict()['net_interface'])
109 match = re.search(
112 if match:
115 d = match.groupdict()
/tools/tradefederation/core/atest/test_finders/
Dtest_finder_utils.py145 match = _PACKAGE_RE.match(line)
146 if match:
147 package = match.group('package')
164 match = _PACKAGE_RE.match(line)
165 if match:
166 return match.group('package')
448 if _APK_RE.match(value):
571 match = _VTS_BINARY_SRC_DELIM_RE.match(value)
572 if match:
573 target = os.path.join(rel_out_dir, match.group('target'))
/tools/tradefederation/core/prod-tests/src/com/android/performance/tests/
DHermeticLaunchTest.java266 Matcher match = null; in analyzeLogCatData() local
294 if ((match = matches(LAUNCH_ENTRY, line)) != null) { in analyzeLogCatData()
296 if ((match = matches(pattern, line)) != null) { in analyzeLogCatData()
298 int displayTimeInMs = extractLaunchTime(match.group("launchtime")); in analyzeLogCatData()
453 Matcher match = null; in parseAtraceInfoFile() local
455 if ((match = matches(ATRACE_HEADER_ENTRIES, line)) != null) { in parseAtraceInfoFile()
456 int buffered = Integer.parseInt(match.group("buffered")); in parseAtraceInfoFile()
457 int written = Integer.parseInt(match.group("written")); in parseAtraceInfoFile()
462 } else if ((match = matches(TRACE_ENTRY1, line)) != null in parseAtraceInfoFile()
463 || (match = matches(TRACE_ENTRY2, line)) != null) { in parseAtraceInfoFile()
[all …]
DHermeticMemoryTest.java266 Matcher match = null; in calculateFreeMem() local
267 if (((match = matches(PID_PATTERN, process))) != null) { in calculateFreeMem()
268 String processId = match.group("processid"); in calculateFreeMem()
/tools/tradefederation/core/src/com/android/tradefed/util/
DConfigCompletor.java50 String match = matcher.group(1) + configName; in complete() local
51 if (match.startsWith(buffer)) { in complete()
/tools/repohooks/rh/
Dgit.py152 match = DIFF_RE.match(line)
153 if not match:
155 diff = RawDiffEntry(**match.groupdict())
Dhooks.py339 if check_re.match(line):
363 if check_re.match(line):
417 if check_re.match(line):
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DAtestRunner.java132 Matcher match = CONFIG_RE.matcher(originalName); in canonicalizeConfigName() local
133 if (match.find()) { in canonicalizeConfigName()
134 return match.group("config"); in canonicalizeConfigName()
/tools/tradefederation/core/src/com/android/tradefed/device/
DManagedTestDeviceFactory.java171 Matcher match = pattern.matcher(serial.trim()); in isTcpDeviceSerial() local
172 if (match.find()) { in isTcpDeviceSerial()
/tools/tradefederation/core/prod-tests/src/com/android/graphics/tests/
DUiPerformanceTest.java193 Matcher match = mPatterns[i].matcher(line); in logOutputFile() local
194 if (match.matches()) { in logOutputFile()
195 String value = match.group(1); in logOutputFile()
/tools/metalava/
Dgradlew.bat29 echo Please set the JAVA_HOME variable in your environment to match the
43 echo Please set the JAVA_HOME variable in your environment to match the
/tools/test/connectivity/acts/framework/acts/controllers/
Dadb.py166 if DEVICE_OFFLINE_REGEX.match(err):
172 if ret == 1 and DEVICE_NOT_FOUND_REGEX.match(err):
/tools/test/connectivity/acts/framework/tests/
Dacts_import_unit_test.py87 if PY_FILE_REGEX.match(full_path):
/tools/tradefederation/core/atest/
Datest_utils.py56 if am_capturing and _BUILD_COMPILE_STATUS.match(line):
/tools/test/connectivity/acts/framework/acts/test_utils/tel/
DTelephonyBaseTest.py290 match = re.search(r"\d+-\d+\s\d+:\d+:\d+.\d+", output)
291 if match:
292 ad.test_log_begin_time = match.group(0)
/tools/test/connectivity/acts/tests/google/wifi/rtt/
DREADME.md50 LCR were received from the AP. These are empty by default and should be configured to match the
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/aware/
Daware_test_utils.py395 res = re.match(".* HWaddr (\S+).*", out , re.S)
412 res = re.match(".*inet6 addr: (\S+)/.*", out , re.S)
/tools/test/connectivity/acts/framework/acts/controllers/sl4a_lib/
Devent_dispatcher.py317 if re.match(regex_pattern, name):
/tools/acloud/internal/proto/
Dinternal_config.proto20 // Each field should match a field in user_config.UserConfig.
/tools/repohooks/
DREADME.md157 Note: Builtin hooks tend to match specific filenames (e.g. `.json`). If no
158 files match in a specific commit, then the hook will be skipped for that commit.

12