Searched refs:rel_path (Results 1 – 15 of 15) sorted by relevance
/tools/asuite/aidegen/lib/ |
D | common_util.py | 124 rel_path = None 132 rel_path = '' 137 rel_path = os.path.relpath(abs_path, get_android_root_dir()) 142 rel_path = paths[0].strip(os.sep) 143 abs_path = os.path.join(get_android_root_dir(), rel_path) 147 rel_path = target.strip(os.sep) 148 abs_path = os.path.join(get_android_root_dir(), rel_path) 152 rel_path = os.path.relpath(abs_path, get_android_root_dir()) 157 rel_path = '' 159 rel_path = os.path.relpath(abs_path, get_android_root_dir()) [all …]
|
D | native_util.py | 61 rel_path = os.path.relpath(parent_dir, common_util.get_android_root_dir()) 63 if rel_path == '.': 64 rel_path = '' 69 mod_info, rel_path) 73 cc_module_info, rel_path, module_names) 193 rel_path, abs_path = common_util.get_related_paths( 197 if _check_native_project_exists(path_info, rel_path): 202 def _check_native_project_exists(path_to_module_info, rel_path): argument 214 if common_util.is_source_under_relative_path(path, rel_path):
|
D | project_info.py | 120 rel_path, abs_path = common_util.get_related_paths( 125 self.modules_info.get_module_names(rel_path)) 126 self.project_relative_path = rel_path 179 rel_path, abs_path = common_util.get_related_paths( 181 if rel_path and abs_path: 184 yield '\t' + os.path.join(rel_path, constant.ANDROID_MK) 186 def _get_modules_under_project_path(self, rel_path): argument 199 rel_path) 200 if rel_path == '': 206 data, rel_path):
|
D | native_util_unittest.py | 60 rel_path = 'a/b' 64 rel_path)) 65 rel_path = 'a/b/c/d' 68 rel_path)) 117 rel_path = 'shared/path/to/be/used2' 118 mock_get_related.return_value = rel_path, os.path.join(parent, rel_path) 122 targets = [rel_path]
|
D | source_locator.py | 493 rel_path = self._get_jar_path_from_prebuilts(jar_name) 494 if rel_path: 495 jar_path = rel_path 525 rel_path = '' 531 rel_path = os.path.relpath( 533 return rel_path
|
D | common_util_unittest.py | 107 rel_path = 'b/c/d' 109 mod_info.get_paths.return_value = [rel_path] 114 expected = (rel_path, abs_path) 284 rel_path = 'a/b' 285 self.assertTrue(common_util.has_build_target(mod_info, rel_path)) 286 rel_path = 'd/e' 287 self.assertFalse(common_util.has_build_target(mod_info, rel_path))
|
D | module_info.py | 113 def is_project_path_relative_module(mod_info, rel_path): argument 135 if rel_path == '': 138 and common_util.is_source_under_relative_path(path, rel_path)):
|
D | project_config_unittest.py | 155 rel_path = 'to/path' 158 mock_get_rel.return_value = rel_path, abs_path 161 self.assertEqual([rel_path], result)
|
D | native_module_info.py | 96 rel_path, _ = common_util.get_related_paths(self, target) 98 if common_util.is_source_under_relative_path(path, rel_path):
|
/tools/asuite/aidegen/ |
D | aidegen_main_unittest.py | 491 rel_path = 'c/d' 492 mock_get_related.return_value = rel_path, abs_path 527 rel_path = 'c/d' 528 mock_get_rel.return_value = rel_path, abs_path 538 rel_path = 'c/d' 543 [abs_path], aidegen_main._get_rust_project_paths([rel_path], root))
|
/tools/asuite/aidegen_functional_test/ |
D | aidegen_functional_test_main.py | 224 def _get_unique_module_name(rel_path, filename): argument 234 code_names = rel_path.split(os.sep) 367 rel_path, abs_path = common_util.get_related_paths(atest_module_info, 371 item_name = _get_unique_module_name(rel_path, filename)
|
/tools/asuite/atest/test_finders/ |
D | module_finder.py | 734 def find_test_by_path(self, rel_path): argument 751 logging.debug('Finding test by path: %s', rel_path) 752 path, methods = test_finder_utils.split_methods(rel_path) 768 os.path.realpath(rel_path),
|
/tools/asuite/atest-py2/ |
D | atest_utils_unittest.py | 386 rel_path = 'd/e' 387 mock_cwd.return_value = os.path.join(build_top, rel_path)
|
/tools/asuite/atest/ |
D | atest_utils_unittest.py | 402 rel_path = 'd/e' 403 mock_cwd.return_value = os.path.join(build_top, rel_path)
|
D | bazel_mode.py | 689 rel_path = f.relative_to(config.out_path) 690 symlink = config_prebuilts_dir.joinpath(rel_path)
|