Lines Matching refs:path
57 self, path: str, file_path: str = None
75 path=file_path,
80 path=path,
109 config_file = os.path.join(
117 if custom_out_dir is None or not os.path.isabs(custom_out_dir):
118 out_dir = os.path.relpath(out_dir, self.root_dir)
119 vts_out_dir = os.path.join(out_dir, 'vts10', 'android-vts10', 'testcases')
254 config_test_name = os.path.splitext(os.path.basename(rel_config))[0]
275 config_file = os.path.join(self.root_dir, rel_config)
350 def _get_test_info_filter(self, path, methods, **kwargs): argument
365 _, file_name = test_finder_utils.get_dir_path_and_filename(path)
367 if os.path.isfile(path) and kwargs.get('is_native_test', None):
368 class_info = test_finder_utils.get_cc_class_info(path)
379 full_class_name = test_filter_utils.get_fully_qualified_class_name(path)
381 test_filter_utils.get_java_method_filters(path, methods)
387 if not test_finder_utils.has_cc_class(path):
389 "Can't find CC class in %s" % path
391 class_info = test_finder_utils.get_cc_class_info(path)
409 ) != os.path.relpath(path, self.root_dir):
410 dir_items = [os.path.join(path, f) for f in os.listdir(path)]
434 test_dir = os.path.dirname(test_path)
439 return os.path.join(rel_module_dir, constants.MODULE_CONFIG)
462 os.path.dirname(rel_config),
506 rel_config = os.path.join(
550 test_config_path = os.path.join(self.root_dir, test_config)
606 search_dir = os.path.join(self.root_dir, os.path.dirname(rel_config))
631 test_paths.append(os.path.join(self.root_dir, rel_module_path))
701 src_path = os.path.join(self.root_dir, src)
788 search_dir = os.path.join(self.root_dir, os.path.dirname(rel_config))
801 package_paths.append(os.path.join(self.root_dir, rel_module_path))
859 path, methods = test_filter_utils.split_methods(rel_path)
862 path = os.path.realpath(path)
863 if not os.path.exists(path):
865 if methods and not test_finder_utils.has_method_in_file(path, methods):
867 dir_path, _ = test_finder_utils.get_dir_path_and_filename(path)
883 path, methods, rel_module_dir=rel_module_dir
887 rel_config = os.path.join(
893 path, rel_config, testable_module, test_filter
903 path = os.path.relpath(
904 os.path.realpath(rel_path),
908 self.module_info, path
914 path, constants.MODULE_CONFIG, unit_test, frozenset()
920 rel_config = os.path.join(rel_module_dir, constants.MODULE_CONFIG)
922 path, methods, rel_module_dir=rel_module_dir
924 return self._get_test_infos(path, rel_config, None, test_filter)
1043 test_config_name = os.path.splitext(os.path.basename(test_config))[0]
1057 test_config_path = os.path.join(self.root_dir, test_config)
1067 def _is_comparted_src(path): argument
1079 if os.path.isdir(path):
1081 if atest_utils.is_build_file(path):