Lines Matching refs:path
54 def _determine_testable_module(self, path, file_path=None): argument
70 for mod in self.module_info.get_module_names(path):
82 if file_path and os.path.relpath(
120 config_file = os.path.join(self.root_dir,
127 if custom_out_dir is None or not os.path.isabs(custom_out_dir):
128 out_dir = os.path.relpath(out_dir, self.root_dir)
129 vts_out_dir = os.path.join(out_dir, 'vts10', 'android-vts10', 'testcases')
198 config_test_name = os.path.splitext(os.path.basename(
219 config_file = os.path.join(self.root_dir, rel_config)
280 def _get_test_info_filter(self, path, methods, **kwargs): argument
295 _, file_name = test_finder_utils.get_dir_path_and_filename(path)
304 path)
308 if test_finder_utils.is_parameterized_java_class(path):
318 if not test_finder_utils.has_cc_class(path):
320 "Can't find CC class in %s" % path)
324 test_finder_utils.get_cc_test_classes_methods(path))
343 os.path.relpath(path, self.root_dir)):
344 dir_items = [os.path.join(path, f) for f in os.listdir(path)]
369 test_dir = os.path.dirname(test_path)
373 return os.path.join(rel_module_dir, constants.MODULE_CONFIG)
396 os.path.dirname(rel_config),
432 rel_config = os.path.join(mod_info['path'][0],
468 test_config_path = os.path.join(self.root_dir, test_config)
512 search_dir = os.path.join(self.root_dir,
513 os.path.dirname(rel_config))
534 test_paths.append(os.path.join(self.root_dir, rel_module_path))
598 src_path = os.path.join(self.root_dir, src)
674 search_dir = os.path.join(self.root_dir,
675 os.path.dirname(rel_config))
687 package_paths.append(os.path.join(self.root_dir, rel_module_path))
734 path, methods = test_finder_utils.split_methods(rel_path)
737 path = os.path.realpath(path)
738 if not os.path.exists(path):
741 not test_finder_utils.has_method_in_file(path, methods)):
743 dir_path, _ = test_finder_utils.get_dir_path_and_filename(path)
749 path = os.path.relpath(
750 os.path.realpath(rel_path),
753 self.module_info, path)
757 tinfo = self._get_test_infos(path, constants.MODULE_CONFIG,
763 rel_config = os.path.join(rel_module_dir, constants.MODULE_CONFIG)
764 test_filter = self._get_test_info_filter(path, methods,
766 return self._get_test_infos(path, rel_config, None, test_filter)
872 test_config_name = os.path.splitext(
873 os.path.basename(test_config))[0]
890 def _is_comparted_src(self, path): argument
902 if os.path.isdir(path):
904 if atest_utils.is_build_file(path):