Searched refs:match (Results 1 – 25 of 33) sorted by relevance
12
/test/vts/testcases/host/kernel_proc_file_api_test/proc_tests/ |
D | ProcQtaguidCtrlTest.py | 93 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))
|
D | ProcModulesTest.py | 44 if not re.match(test_re, line):
|
/test/vts-testcase/hal/media/omx/V1_0/host_omxstore/ |
D | VtsHalMediaOmxStoreV1_0HostTest.py | 112 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/ |
D | home_bot_config.py | 168 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/ |
D | home_bot_config.py | 168 match = re.match(r'\[(.*)\]: \[(.*)\]', line) 169 if match: 170 properties[match.group(1)] = match.group(2)
|
/test/vts-testcase/kernel/api/sysfs/ |
D | KernelApiSysfsTest.py | 62 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/ |
D | schedule_worker.py | 76 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/ |
D | create-test-project.py | 134 match = regex.match(name) 135 return match and (match.end() - match.start() == len(name))
|
/test/vts-testcase/hal/script/build/ |
D | vts_spec_parser.py | 137 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()]
|
D | build_rule_gen.py | 176 if re.match(Constant.HAL_PACKAGE_NAME_PATTERN, package):
|
/test/vts-testcase/hal/script/ |
D | launch_hal_test.py | 114 result = re.match(regex, args.hal_package_name) 131 result = re.match(regex, args.time_out)
|
/test/vts/utils/python/controllers/ |
D | android_device.py | 580 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/ |
D | ProcModulesTest.py | 45 if not re.match(test_re, line):
|
/test/framework/harnesses/host_controller/build/ |
D | build_provider.py | 160 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/ |
D | email_util.py | 288 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/ |
D | filter_utils.py | 96 if IsRegexFilter(item) or re.compile(filter_pattern).match(item): 182 m = p.match(item)
|
/test/vts/utils/python/common/ |
D | filter_utils.py | 96 if IsRegexFilter(item) or re.compile(filter_pattern).match(item): 182 m = p.match(item)
|
/test/vts/utils/python/mirror/ |
D | shell_mirror.py | 91 if pattern.match(val):
|
/test/vts-testcase/kernel/ltp/shell_environment/ |
D | shell_environment.py | 85 m = re.match("[0-9]+-?[0-9]*", cpu_info)
|
/test/framework/harnesses/host_controller/command_processor/ |
D | command_sheet.py | 246 re.match(".+/results_\\d*\\.zip$", x)] 249 re.match(".+/log-result_\\d*\\.zip$", x)]
|
D | command_device_test.py | 37 elif re.match("fastboot -s .* getvar product", value):
|
/test/vts/utils/python/fuzzer/ |
D | corpus_manager.py | 627 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/ |
D | logger.py | 64 if logline_timestamp_re.match(timestamp):
|
/test/vts-testcase/vndk/golden/ |
D | vndk_data.py | 292 version_str = (version if version and re.match("\\d+", version) else
|
/test/vti/test_serving/gae/webapp/src/endpoint/ |
D | job_queue.py | 165 elif re.match(HTTP_HTTPS_REGEX, request.infra_log_url):
|
12