Home
last modified time | relevance | path

Searched refs:module_name (Results 1 – 25 of 34) sorted by relevance

12

/tools/asuite/atest/test_finders/
Dmodule_finder.py79 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 …]
Dtf_integration_finder.py58 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)
Dtest_finder_utils.py931 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/
Dmodule_finder.py77 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 …]
Dtf_integration_finder.py56 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)
Dtest_finder_utils.py917 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/
Dusage_metadata_logger_test.py53 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/
Dmodule_info.py251 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)
Dresult_reporter.py124 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
Datest.py383 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/
Dmodule_info.py254 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)
Dresult_reporter.py129 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
Datest.py390 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/
Dproject_info.py110 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)
Dsource_locator.py84 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)
Dproject_info_unittest.py98 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'
Dproject_file_gen.py178 module_name = iml.IMLGenerator.get_unique_iml_name(module_path)
182 _MODULE_SECTION % (module_name, module_name),
190 _MODULE_SECTION % (module_name, module_name)
Dnative_module_info.py255 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
Declipse_project_file_gen.py67 self.module_name = project.module_name
153 self.module_name)
179 PROJECTNAME=self.module_name,
/tools/asuite/aidegen_functional_test/
Daidegen_functional_test_main.py487 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/
Dproto_check.py42 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/
Dtest_runner.py208 for _, module_name, ispkg in pkg_iter:
209 m = importlib.import_module(module_name)
214 module_name)
/tools/test/connectivity/acts/framework/acts/controllers/
Dsniffer.py43 module_name = "acts.controllers.sniffer_lib.{}.{}".format(
45 module = importlib.import_module(module_name)
Dpdu.py92 module_name = 'acts.controllers.pdu_lib.' + device
93 module = importlib.import_module(module_name)
/tools/test/connectivity/acts/framework/acts/metrics/loggers/
Dusage_metadata_logger.py48 def log_usage(module_name, func_name): argument
61 name = '.'.join([module_name, func_name])

12