/tools/asuite/aidegen/lib/ |
D | common_util.py | 125 abs_path = None 133 abs_path = get_android_root_dir() 136 abs_path = target 137 rel_path = os.path.relpath(abs_path, get_android_root_dir()) 143 abs_path = os.path.join(get_android_root_dir(), rel_path) 148 abs_path = os.path.join(get_android_root_dir(), rel_path) 151 abs_path = os.path.abspath(os.path.join(os.getcwd(), target)) 152 rel_path = os.path.relpath(abs_path, get_android_root_dir()) 155 abs_path = os.getcwd() 156 if is_android_root(abs_path): [all …]
|
D | native_util.py | 74 def _find_parent(abs_path, current_parent): argument 86 return abs_path 87 if common_util.is_source_under_relative_path(abs_path, current_parent): 89 if common_util.is_source_under_relative_path(current_parent, abs_path): 90 return abs_path 92 os.path.dirname(abs_path), os.path.dirname(current_parent)) 134 _, abs_path = common_util.get_related_paths(cc_module_info, target) 135 parent_folder = _find_parent(abs_path, parent_folder) 191 rel_path, abs_path = common_util.get_related_paths( 193 if common_util.check_java_or_kotlin_file_exists(abs_path):
|
D | project_info.py | 114 rel_path, abs_path = common_util.get_related_paths( 116 self.module_name = self.get_target_name(target, abs_path) 121 self.project_absolute_path = abs_path 131 self.iml_name = iml.IMLGenerator.get_unique_iml_name(abs_path) 173 rel_path, abs_path = common_util.get_related_paths( 175 if rel_path and abs_path: 176 if (common_util.exist_android_mk(abs_path) 177 and not common_util.exist_android_bp(abs_path)): 298 def get_target_name(target, abs_path): argument 314 if abs_path == common_util.get_android_root_dir(): [all …]
|
D | native_util_unittest.py | 72 abs_path = 'a/b/c/d' 73 expected = abs_path 74 result = native_util._find_parent(abs_path, current_parent) 77 result = native_util._find_parent(abs_path, current_parent) 81 result = native_util._find_parent(abs_path, current_parent) 85 result = native_util._find_parent(abs_path, current_parent)
|
D | common_util_unittest.py | 108 abs_path = '/a/b/c/d' 114 expected = (rel_path, abs_path) 447 abs_path = os.path.join(root_dir, folder) 449 self.assertTrue(common_util.check_java_or_kotlin_file_exists(abs_path)) 451 abs_path = os.path.join(root_dir, folder) 453 self.assertTrue(common_util.check_java_or_kotlin_file_exists(abs_path)) 456 self.assertFalse(common_util.check_java_or_kotlin_file_exists(abs_path))
|
D | project_config_unittest.py | 156 abs_path = 'a/b/to/path' 158 mock_get_rel.return_value = rel_path, abs_path 160 mock.Mock(), [abs_path])
|
D | eclipse_project_file_gen.py | 132 abs_path = os.path.join(common_util.get_android_root_dir(), relpath) 133 return cls._PROJECT_LINK.format(alias_name, abs_path)
|
/tools/asuite/aidegen_functional_test/ |
D | aidegen_functional_test_main.py | 205 def _get_project_file_names(abs_path): argument 218 abs_path) 239 def _get_git_current_commit_id(abs_path): argument 255 os.chdir(abs_path) 276 def _git_checkout_commit_id(abs_path, commit_id): argument 292 os.chdir(abs_path) 295 err = _COMMIT_ID_NOT_EXIST_ERROR.format(commit_id, abs_path) 319 _, abs_path = common_util.get_related_paths(atest_module_info, target) 320 current_commit_id = _get_git_current_commit_id(abs_path) 321 _git_checkout_commit_id(abs_path, commit_id) [all …]
|
/tools/asuite/aidegen/vscode/ |
D | vscode_workspace_file_gen_unittest.py | 49 abs_path = 'a/b' 52 {'folders': [{'name': folder_name, 'path': abs_path}]}) 56 file_path = os.path.join(abs_path, file_name) 61 abs_path = 'a/b/to/project' 65 abs_path, root_dir) 67 abs_path = 'a/b' 70 abs_path, root_dir)
|
D | vscode_workspace_file_gen.py | 78 abs_path = workspace_dict[_FOLDERS][0][constant.KEY_PATH] 80 file_path = os.path.join(abs_path, file_name) 85 def _get_unique_project_name(abs_path, root_dir): argument 98 unique_name = os.path.relpath(abs_path, root_dir).replace(os.sep, '.')
|
/tools/asuite/aidegen/ |
D | aidegen_main.py | 380 _, abs_path = common_util.get_related_paths(atest_module_info, target) 381 if abs_path: 382 abs_paths.append(abs_path) 400 _, abs_path = common_util.get_related_paths(cc_module_info, target) 401 if not abs_path: 403 vs_native = vs_gen(abs_path) 405 if abs_path not in abs_paths: 406 abs_paths.append(abs_path)
|
D | aidegen_main_unittest.py | 447 abs_path = 'a/b/c/d' 449 mock_get_related.return_value = rel_path, abs_path 451 [abs_path], aidegen_main._get_java_project_paths( 483 abs_path = 'a/b/c/d' 485 mock_get_rel.return_value = rel_path, abs_path 486 self.assertEqual([abs_path], aidegen_main._get_cc_project_paths(['CC'])) 494 abs_path = 'a/b/c/d' 498 [abs_path], aidegen_main._get_rust_project_paths([abs_path], root)) 500 [abs_path], aidegen_main._get_rust_project_paths([rel_path], root))
|
/tools/test/connectivity/acts/framework/acts/bin/ |
D | act.py | 211 test_run_config.controller_configs[testpath_key] = utils.abs_path( 220 test_run_config.log_path = utils.abs_path(test_run_config.log_path)
|
/tools/asuite/atest-py2/test_finders/ |
D | tf_integration_finder.py | 146 abs_path = os.path.join(self.root_dir, integration_dir) 149 abs_path, name)
|
D | test_finder_utils.py | 859 abs_path = os.path.join(root_dir, integration_dir) 860 test_paths = run_find_cmd(FIND_REFERENCE_TYPE.INTEGRATION, abs_path,
|
/tools/test/connectivity/acts/framework/acts/ |
D | config_parser.py | 231 config_path, _ = os.path.split(utils.abs_path(test_config_path)) 250 test_run_config.log_path = utils.abs_path(test_run_config.log_path)
|
D | utils.py | 114 def abs_path(path): function 222 p = abs_path(path) 255 path = abs_path(f_path) 271 full_path = abs_path(file_path)
|
/tools/asuite/atest/test_finders/ |
D | tf_integration_finder.py | 159 abs_path = os.path.join(self.root_dir, integration_dir) 162 abs_path, name)
|
D | test_finder_utils.py | 933 abs_path = os.path.join(root_dir, integration_dir) 934 test_paths = run_find_cmd(FIND_REFERENCE_TYPE.INTEGRATION, abs_path,
|
/tools/test/connectivity/acts/framework/acts/controllers/openwrt_lib/ |
D | network_settings.py | 163 def path_exists(self, abs_path): argument 166 self.ssh.run("ls %s" % abs_path)
|
/tools/repohooks/tools/ |
D | cpplint.py | 5961 abs_path, base_name = os.path.split(abs_filename) 5965 cfg_file = os.path.join(abs_path, "CPPLINT.cfg") 5966 abs_filename = abs_path
|
D | checkpatch.pl | 16 my $D = dirname(abs_path($P)); 141 open(my $script, '<', abs_path($P)) or
|