/tools/asuite/atest/test_finders/ |
D | module_finder.py | 79 def _is_vts_module(self, module_name): argument 81 mod_info = self.module_info.get_module_info(module_name) 154 module_name = test.test_name 155 mod_info = self.module_info.get_module_info(module_name) 167 test.build_targets = self._get_build_targets(module_name, rel_config) 170 def _get_build_targets(self, module_name, rel_config): argument 181 if not self.module_info.is_auto_gen_test_config(module_name): 186 module_name).get(constants.MODULE_COMPATIBILITY_SUITES, []): 188 for module_path in self.module_info.get_paths(module_name): 194 if module_name in constants.REQUIRED_KERNEL_TEST_MODULES: [all …]
|
D | tf_integration_finder.py | 58 def _get_mod_paths(self, module_name): argument 63 if module_name in _CONTRIB_TARGETS: 64 mod_paths = self.module_info.get_paths(module_name) 66 return self.module_info.get_paths(module_name)
|
D | test_finder_utils.py | 931 def get_levenshtein_distance(test_name, module_name, argument 950 cols = len(module_name) + 1 964 if test_name[row-1] == module_name[col-1]:
|
/tools/tradefederation/core/atest/test_finders/ |
D | module_finder.py | 77 def _is_vts_module(self, module_name): argument 79 mod_info = self.module_info.get_module_info(module_name) 152 module_name = test.test_name 153 mod_info = self.module_info.get_module_info(module_name) 165 test.build_targets = self._get_build_targets(module_name, rel_config) 168 def _get_build_targets(self, module_name, rel_config): argument 179 if not self.module_info.is_auto_gen_test_config(module_name): 184 module_name).get(constants.MODULE_COMPATIBILITY_SUITES, []): 186 for module_path in self.module_info.get_paths(module_name): 192 if module_name in constants.REQUIRED_KERNEL_TEST_MODULES: [all …]
|
D | tf_integration_finder.py | 56 def _get_mod_paths(self, module_name): argument 61 if module_name in _CONTRIB_TARGETS: 62 mod_paths = self.module_info.get_paths(module_name) 64 return self.module_info.get_paths(module_name)
|
D | test_finder_utils.py | 917 def get_levenshtein_distance(test_name, module_name, dir_costs=constants.COST_TYPO): argument 935 cols = len(module_name) + 1 949 if test_name[row-1] == module_name[col-1]:
|
/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/tradefederation/core/atest/ |
D | module_info.py | 251 def get_robolectric_test_name(self, module_name): argument 264 module_name_info = self.name_to_module_info.get(module_name) 275 def is_robolectric_test(self, module_name): argument 288 mod_info = self.get_module_info(module_name) 292 if self.get_robolectric_test_name(module_name): 296 def is_auto_gen_test_config(self, module_name): argument 305 if self.is_module(module_name): 306 mod_info = self.name_to_module_info.get(module_name) 325 def is_native_test(self, module_name): argument 334 mod_info = self.get_module_info(module_name)
|
D | result_reporter.py | 124 for module_name, module_perf_info in classify_perf_info.items(): 125 print("{}:".format(module_name)) 174 for module_name in module_categories: 177 if benchmark_info['test_name'].split('#')[0] == module_name: 179 classified_perf_info[module_name] = module_perf_info
|
D | atest.py | 383 def _print_module_info_from_module_name(mod_info, module_name): argument 397 target_module_info = mod_info.get_module_info(module_name) 400 atest_utils.colorful_print(module_name, constants.GREEN)
|
/tools/asuite/atest/ |
D | module_info.py | 254 def get_robolectric_test_name(self, module_name): argument 267 module_name_info = self.name_to_module_info.get(module_name) 278 def is_robolectric_test(self, module_name): argument 291 mod_info = self.get_module_info(module_name) 295 if self.get_robolectric_test_name(module_name): 299 def is_auto_gen_test_config(self, module_name): argument 308 if self.is_module(module_name): 309 mod_info = self.name_to_module_info.get(module_name) 328 def is_native_test(self, module_name): argument 337 mod_info = self.get_module_info(module_name)
|
D | result_reporter.py | 129 for module_name, module_perf_info in classify_perf_info.items(): 130 print("{}:".format(module_name)) 179 for module_name in module_categories: 182 if benchmark_info['test_name'].split('#')[0] == module_name: 184 classified_perf_info[module_name] = module_perf_info
|
D | atest.py | 390 def _print_module_info_from_module_name(mod_info, module_name): argument 404 target_module_info = mod_info.get_module_info(module_name) 407 atest_utils.colorful_print(module_name, constants.GREEN)
|
/tools/asuite/aidegen/lib/ |
D | project_info.py | 110 self.module_name = self.get_target_name(target, abs_path) 158 _ANDROID_MK_WARN.format(self.module_name, '\n'.join(mk_set)))) 357 for module_name, module_data in self.dep_modules.items(): 358 module = self._generate_moduledata(module_name, module_data) 379 def _generate_moduledata(self, module_name, module_data): argument 396 module_name, module_data, self.project_relative_path) 398 return source_locator.ModuleData(module_name, module_data, depth) 488 if module.module_name == constant.FRAMEWORK_ALL: 527 logging.debug('The %s\'s path is empty.', module.module_name)
|
D | source_locator.py | 84 def __init__(self, module_name, module_data, depth): argument 110 assert module_name, 'Module name can\'t be null.' 111 assert module_data, 'Module data of %s can\'t be null.' % module_name 112 self.module_name = module_name 126 'out/soong/.intermediates', self.module_path, self.module_name) 609 def __init__(self, module_name, module_data, project_relpath): argument 620 super().__init__(module_name, module_data, depth=0)
|
D | project_info_unittest.py | 98 self.args.module_name = 'm1' 119 proj_info = project_info.ProjectInfo(self.args.module_name, False) 213 args.module_name = 'm1' 273 proj_info = project_info.ProjectInfo(self.args.module_name, False) 314 proj_info = project_info.ProjectInfo(self.args.module_name) 320 proj_info = project_info.ProjectInfo(self.args.module_name) 416 mock_module_data.module_name = 'framework-other' 445 mock_module_data.module_name = 'framework-all'
|
D | project_file_gen.py | 178 module_name = iml.IMLGenerator.get_unique_iml_name(module_path) 182 _MODULE_SECTION % (module_name, module_name), 190 _MODULE_SECTION % (module_name, module_name)
|
D | native_module_info.py | 255 def get_robolectric_test_name(self, module_name): argument 270 def is_robolectric_test(self, module_name): argument 284 def is_auto_gen_test_config(self, module_name): argument 306 def is_native_test(self, module_name): argument
|
D | eclipse_project_file_gen.py | 67 self.module_name = project.module_name 153 self.module_name) 179 PROJECTNAME=self.module_name,
|
/tools/asuite/aidegen_functional_test/ |
D | aidegen_functional_test_main.py | 487 def _compare_content(module_name, item_type, s_items, r_items): argument 500 cmp_iter1 = _compare_srcs_content(module_name, s_items, r_items, 502 cmp_iter2 = _compare_srcs_content(module_name, r_items, s_items, 505 cmp_iter1 = _compare_jars_content(module_name, s_items, r_items, 507 cmp_iter2 = _compare_jars_content(module_name, r_items, s_items, 512 def _compare_srcs_content(module_name, s_items, r_items, msg): argument 526 yield msg.format(sample, module_name) 529 def _compare_jars_content(module_name, s_items, r_items, msg): argument 555 yield msg.format(sample, module_name)
|
/tools/test/connectivity/tools/ |
D | proto_check.py | 42 module_name = proto_utils.compile_proto(proto_file, tmp_dir) 43 if not module_name: 45 tmp_proto_gen_file = os.path.join(tmp_dir, '%s.py' % module_name)
|
/tools/test/connectivity/acts/framework/acts/ |
D | test_runner.py | 208 for _, module_name, ispkg in pkg_iter: 209 m = importlib.import_module(module_name) 214 module_name)
|
/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])
|