Home
last modified time | relevance | path

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

12

/test/vts/testcases/host/kernel_proc_file_api_test/proc_tests/
DProcQtaguidCtrlTest.py93 match = re.match(r"(\d+)\.(\d+)\.(\d+)", out)
94 if match is None:
97 version = int(match.group(1))
98 patchlevel = int(match.group(2))
99 sublevel = int(match.group(3))
100 logging.info("Detected kernel version: %s", match.group(0))
DProcModulesTest.py44 if not re.match(test_re, line):
/test/vts-testcase/hal/media/omx/V1_0/host_omxstore/
DVtsHalMediaOmxStoreV1_0HostTest.py112 known[attr_key].match(attr_value),
118 if key_re.match(attr_key):
120 value_re.match(attr_value),
345 node_name_re.match(node_name),
349 node_owner_re.match(owner),
369 attr_re[attr_key].match(attr_value),
375 if pattern_key.match(attr_key):
377 pattern_value.match(attr_value),
472 node_name_re.match(prefix),
/test/vti/test_serving/configs/infra/prod/androidtestcenter/scripts/
Dhome_bot_config.py168 match = re.match(r'\[(.*)\]: \[(.*)\]', line)
169 if match:
170 properties[match.group(1)] = match.group(2)
/test/vti/test_serving/configs/infra/test/androidtestcenter-test/scripts/
Dhome_bot_config.py168 match = re.match(r'\[(.*)\]: \[(.*)\]', line)
169 if match:
170 properties[match.group(1)] = match.group(2)
/test/vts-testcase/kernel/api/sysfs/
DKernelApiSysfsTest.py62 match = pattern.match(string)
65 asserts.assertTrue(match is not None, message)
66 asserts.assertEqual(match.start(), 0, message)
67 asserts.assertEqual(match.end(), len(string), message)
151 m = re.match(r'(\d+)(-\d+)?', r)
/test/vti/test_serving/gae/webapp/src/scheduler/
Dschedule_worker.py76 elif re.match(q_pattern, manifest_branch):
78 elif re.match(p_pattern, manifest_branch):
80 elif re.match(o_mr1_pattern, manifest_branch):
82 elif re.match(o_pattern, manifest_branch):
84 elif re.match(master_pattern, manifest_branch):
93 elif re.match(q_pattern, gsi_branch):
95 elif re.match(p_pattern, gsi_branch):
97 elif re.match(o_mr1_pattern, gsi_branch):
99 elif re.match(o_pattern, gsi_branch):
101 elif re.match(master_pattern, gsi_branch):
/test/vts/script/
Dcreate-test-project.py134 match = regex.match(name)
135 return match and (match.end() - match.start() == len(name))
/test/vts-testcase/hal/script/build/
Dvts_spec_parser.py137 match = re.search("(\d+)\.(\d+)", hal_dir)
138 if match and 'example' not in hal_dir:
139 hal_version = match.group(0)
141 hal_dir = hal_dir[:match.end()]
Dbuild_rule_gen.py176 if re.match(Constant.HAL_PACKAGE_NAME_PATTERN, package):
/test/vts-testcase/hal/script/
Dlaunch_hal_test.py114 result = re.match(regex, args.hal_package_name)
131 result = re.match(regex, args.time_out)
/test/vts/utils/python/controllers/
Dandroid_device.py580 match = re.match(r"(\d+)\.(\d+)\.(\d+)", out)
581 if match is None:
584 version = int(match.group(1))
585 patchlevel = int(match.group(2))
586 sublevel = int(match.group(3))
587 logging.info("Detected kernel version: %s", match.group(0))
/test/vts-testcase/kernel/api/proc/
DProcModulesTest.py45 if not re.match(test_re, line):
/test/framework/harnesses/host_controller/build/
Dbuild_provider.py160 if re.match("[vcgs]ts", test_suite):
292 elif re.match("android-[vcgs]ts.zip", file_name):
/test/vti/test_serving/gae/webapp/src/utils/
Demail_util.py288 if any(pattern.match(x) for pattern in verify_patterns)
293 pattern.match(address) for pattern in verify_patterns) else None
/test/vts-testcase/kernel/ltp/testcase/tools/common/
Dfilter_utils.py96 if IsRegexFilter(item) or re.compile(filter_pattern).match(item):
182 m = p.match(item)
/test/vts/utils/python/common/
Dfilter_utils.py96 if IsRegexFilter(item) or re.compile(filter_pattern).match(item):
182 m = p.match(item)
/test/vts/utils/python/mirror/
Dshell_mirror.py91 if pattern.match(val):
/test/vts-testcase/kernel/ltp/shell_environment/
Dshell_environment.py85 m = re.match("[0-9]+-?[0-9]*", cpu_info)
/test/framework/harnesses/host_controller/command_processor/
Dcommand_sheet.py246 re.match(".+/results_\\d*\\.zip$", x)]
249 re.match(".+/log-result_\\d*\\.zip$", x)]
Dcommand_device_test.py37 elif re.match("fastboot -s .* getvar product", value):
/test/vts/utils/python/fuzzer/
Dcorpus_manager.py627 elif re.match('corpus_seed_[0-9][0-9]$', dir_type):
677 elif re.match('corpus_seed_[0-9][0-9]$', file_type):
/test/vts/runners/host/
Dlogger.py64 if logline_timestamp_re.match(timestamp):
/test/vts-testcase/vndk/golden/
Dvndk_data.py292 version_str = (version if version and re.match("\\d+", version) else
/test/vti/test_serving/gae/webapp/src/endpoint/
Djob_queue.py165 elif re.match(HTTP_HTTPS_REGEX, request.infra_log_url):

12