/tools/asuite/atest/integration_tests/ |
D | bazel_mode_test.py | 61 module_name = 'passing_java_host_test' 62 self.add_passing_test(module_name) 71 module_name = 'failing_java_host_test' 72 self.add_failing_test(module_name) 81 module_name = 'passing_java_host_test' 82 self.add_passing_test(module_name) 94 module_name = 'passing_java_host_test' 96 module_name, passing_java_test_source() 110 module_name = 'passing_java_host_test' 112 self.add_passing_test(module_name) [all …]
|
/tools/asuite/atest/test_finders/ |
D | module_finder.py | 86 def _is_vts_module(self, module_name): argument 88 mod_info = self.module_info.get_module_info(module_name) 155 module_name = test.test_name 156 test.add_build_target(module_name) 159 installed_paths = self.module_info.get_installed_paths(module_name) 199 module_name = test.test_name 200 mod_info = self.module_info.get_module_info(module_name) 222 for target in self._get_build_targets(module_name, rel_config): 227 artifact_map = self.module_info.get_instrumentation_target_apps(module_name) 229 logging.debug('Found %s an instrumentation test.', module_name) [all …]
|
D | module_finder_unittest.py | 131 module_name = 'SingleModuleTestCases' 133 name=module_name, 137 t_infos = finder.find_test_by_module_name(module_name=module_name) 142 self.assert_test_info_has_test_name(t_infos[0], module_name) 143 self.assert_test_info_has_raw_test_name(t_infos[0], module_name) 145 self.assert_test_info_contains_build_targets(t_infos[0], module_name) 163 module_name = 'MyModuleTestCases' 165 name=module_name, class_type=['NATIVE_TESTS'] 176 self.assert_test_info_has_test_name(t_infos[0], module_name) 177 self.assert_test_info_has_raw_test_name(t_infos[0], module_name) [all …]
|
D | tf_integration_finder.py | 59 def _get_mod_paths(self, module_name): argument 64 if module_name in _CONTRIB_TARGETS: 65 mod_paths = self.module_info.get_paths(module_name) 71 return self.module_info.get_paths(module_name)
|
/tools/asuite/atest/ |
D | module_info.py | 661 def is_robolectric_test(self, module_name): argument 670 if self.get_robolectric_type(module_name): 674 def get_robolectric_type(self, module_name: str) -> int: 705 info = self.get_module_info(module_name) 717 def get_instrumentation_target_apps(self, module_name: str) -> Dict: 725 manifest = self.get_filepath_from_module(module_name, 'AndroidManifest.xml') 726 bpfile = self.get_filepath_from_module(module_name, 'Android.bp') 729 if not bp_info or not bp_info.get(module_name): 732 module_name, bp_info.get(module_name).get('manifest') 740 logging.debug('Found %s an instrumentation test.', module_name) [all …]
|
D | module_info_unittest.py | 543 module_name = 'myModule' 545 constants.MODULE_NAME: module_name, 553 module_name = 'myModule' 555 constants.MODULE_NAME: module_name, 567 module_name = 'myModule' 569 constants.MODULE_NAME: module_name, 583 module_name = 'myModule' 585 constants.MODULE_NAME: module_name, 920 module_name = 'hello_world_test' 929 module_name = 'hello_world_test' [all …]
|
D | atest_utils.py | 1059 def has_python_module(module_name): argument 1068 return bool(importlib.util.find_spec(module_name)) 1464 module_name = '' 1474 module_name = value 1475 return module_name, device_path 1478 def get_arch_name(module_name, is_64=False): argument 1496 os.environ.get(constants.ANDROID_TARGET_OUT_TESTCASES, ''), module_name 1508 symbol_root, module_name, device_path, is_64=False argument 1517 src_symbol = os.path.join(symbol_root, 'data', 'nativetest', module_name) 1519 src_symbol = os.path.join(symbol_root, 'data', 'nativetest64', module_name) [all …]
|
D | test_runner_invocation.py | 107 module_name = test_group 109 _, module_name = test_group.split() 110 testcase_name = '%s:%s' % (module_name, test.test_name)
|
D | bazel_mode.py | 608 def _get_module_info(self, module_name: str) -> Dict[str, Any]: 609 info = self.mod_info.get_module_info(module_name) 622 module_name = info['module_name'] 626 module_name = info['module_name'] 761 for module_name in TestTarget.DEVICELESS_TEST_PREREQUISITES.union( 764 info = self.mod_info.get_module_info(module_name) 1223 module_name = info['module_name'] 1943 def _is_robolectric_test_suite(self, module_name: str) -> bool: 1945 self.mod_info.get_module_info(module_name) 1949 module_name = test.test_name [all …]
|
D | result_reporter.py | 153 for module_name, module_perf_info in classify_perf_info.items(): 154 print('{}:'.format(module_name)) 207 for module_name in module_categories: 210 if benchmark_info['test_name'].split('#')[0] == module_name: 212 classified_perf_info[module_name] = module_perf_info
|
/tools/test/connectivity/acts/framework/tests/metrics/loggers/ |
D | usage_metadata_logger_test.py | 53 module_name = 'com.android.google' 55 joined_name = '.'.join([module_name, func_name]) 57 log_usage(module_name, func_name) # TestCaseContext 58 log_usage(module_name, func_name) # TestClassContext 59 log_usage(module_name, func_name) # TestClassContext 84 module_name = 'com.android.google' 86 joined_name = '.'.join([module_name, func_name]) 88 log_usage(module_name, func_name) 105 module_name = 'com.android.google' 107 joined_name = '.'.join([module_name, func_name]) [all …]
|
/tools/asuite/aidegen/lib/ |
D | project_info.py | 123 self.module_name = self.get_target_name(target, abs_path) 367 for module_name, module_data in self.dep_modules.items(): 368 module = self._generate_moduledata(module_name, module_data) 389 def _generate_moduledata(self, module_name, module_data): argument 406 module_name, module_data, self.project_relative_path) 408 return source_locator.ModuleData(module_name, module_data, depth) 518 if module.module_name == constant.FRAMEWORK_ALL: 557 logging.debug('The %s\'s path is empty.', module.module_name)
|
D | source_locator.py | 81 def __init__(self, module_name, module_data, depth): argument 107 assert module_name, 'Module name can\'t be null.' 108 assert module_data, 'Module data of %s can\'t be null.' % module_name 109 self.module_name = module_name 123 'out/soong/.intermediates', self.module_path, self.module_name) 606 def __init__(self, module_name, module_data, project_relpath): argument 617 super().__init__(module_name, module_data, depth=0)
|
D | native_module_info.py | 256 def get_robolectric_test_name(self, module_name): argument 271 def is_robolectric_test(self, module_name): argument 285 def is_auto_gen_test_config(self, module_name): argument 307 def is_native_test(self, module_name): argument
|
D | project_file_gen.py | 188 module_name = iml.IMLGenerator.get_unique_iml_name(module_path) 192 _MODULE_SECTION % (module_name, module_name), 200 _MODULE_SECTION % (module_name, module_name)
|
D | project_info_unittest.py | 97 self.args.module_name = 'm1' 118 proj_info = project_info.ProjectInfo(self.args.module_name, False) 211 args.module_name = 'm1' 271 proj_info = project_info.ProjectInfo(self.args.module_name, False) 319 proj_info = project_info.ProjectInfo(self.args.module_name, False) 428 mock_module_data.module_name = 'framework-other' 457 mock_module_data.module_name = 'framework-all'
|
D | eclipse_project_file_gen.py | 66 self.module_name = project.module_name 152 self.module_name) 178 PROJECTNAME=self.module_name.replace('/', '_'),
|
/tools/asuite/aidegen_functional_test/ |
D | aidegen_functional_test_main.py | 504 def _compare_content(module_name, item_type, s_items, r_items): argument 517 cmp_iter1 = _compare_srcs_content(module_name, s_items, r_items, 519 cmp_iter2 = _compare_srcs_content(module_name, r_items, s_items, 522 cmp_iter1 = _compare_jars_content(module_name, s_items, r_items, 524 cmp_iter2 = _compare_jars_content(module_name, r_items, s_items, 529 def _compare_srcs_content(module_name, s_items, r_items, msg): argument 543 yield msg.format(sample, module_name) 546 def _compare_jars_content(module_name, s_items, r_items, msg): argument 572 yield msg.format(sample, module_name)
|
/tools/asuite/atest/bazel/resources/rules/ |
D | soong_prebuilt.bzl | 28 "module_name": "Name of the original Soong build module", 60 ) % ctx.attr.module_name 93 ctx.attr.module_name, 110 "module_name": attr.string(), 144 ctx.attr.module_name, 155 "module_name": attr.string(), 164 module_name, 205 module_name = module_name,
|
/tools/test/connectivity/tools/ |
D | proto_check.py | 87 module_name = compile_proto(proto_file, tmp_dir) 88 if not module_name: 90 tmp_proto_gen_file = os.path.join(tmp_dir, '%s.py' % module_name)
|
/tools/asuite/atest/bazel/runner/config/config/ |
D | format_module_name_to_test_target.cquery | 2 …"""Return a pair of 'module_name target_label' for the given tradefed test target, '' otherwise.""" 11 return "%s %s" % (tradefed_test_info.module_name, target.label)
|
/tools/asuite/atest/test_runners/ |
D | atest_tf_test_runner.py | 601 for p in self.module_info.get_installed_paths(target.module_name) 1255 module_name, device_path = atest_utils.get_config_gtest_args( 1258 if module_name and device_path: 1259 atest_utils.copy_native_symbols(module_name, device_path) 1547 module_name: str 1553 return self.module_name 1626 module_name = self._info[constants.MODULE_INFO_ID] 1627 build_targets = set([Target(module_name, self._variant)]) 1673 module_name = self._info[constants.MODULE_INFO_ID] 1674 return set([Target(module_name, self._variant)])
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | sniffer.py | 43 module_name = "acts.controllers.sniffer_lib.{}.{}".format( 45 module = importlib.import_module(module_name)
|
D | pdu.py | 92 module_name = 'acts.controllers.pdu_lib.' + device 93 module = importlib.import_module(module_name)
|
/tools/test/connectivity/acts/framework/acts/metrics/loggers/ |
D | usage_metadata_logger.py | 48 def log_usage(module_name, func_name): argument 61 name = '.'.join([module_name, func_name])
|