/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 | 70 def _find_parent(abs_path, current_parent): argument 82 return abs_path 83 if common_util.is_source_under_relative_path(abs_path, current_parent): 85 if common_util.is_source_under_relative_path(current_parent, abs_path): 86 return abs_path 88 os.path.dirname(abs_path), os.path.dirname(current_parent)) 130 _, abs_path = common_util.get_related_paths(cc_module_info, target) 131 parent_folder = _find_parent(abs_path, parent_folder) 186 rel_path, abs_path = common_util.get_related_paths( 188 if _check_java_file_exists(abs_path): [all …]
|
D | project_info.py | 108 rel_path, abs_path = common_util.get_related_paths( 110 self.module_name = self.get_target_name(target, abs_path) 115 self.project_absolute_path = abs_path 174 rel_path, abs_path = common_util.get_related_paths( 176 if rel_path and abs_path: 177 if (common_util.exist_android_mk(abs_path) 178 and not common_util.exist_android_bp(abs_path)): 295 def get_target_name(target, abs_path): argument 311 if abs_path == common_util.get_android_root_dir(): 312 return os.path.basename(abs_path)
|
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) 166 abs_path = os.path.join(root_dir, folder) 168 self.assertTrue(native_util._check_java_file_exists(abs_path)) 171 self.assertFalse(native_util._check_java_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)
|
D | common_util_unittest.py | 108 abs_path = '/a/b/c/d' 114 expected = (rel_path, abs_path)
|
/tools/asuite/aidegen_functional_test/ |
D | aidegen_functional_test_main.py | 190 def _get_project_file_names(abs_path): argument 202 abs_path) 223 def _get_git_current_commit_id(abs_path): argument 239 os.chdir(abs_path) 260 def _git_checkout_commit_id(abs_path, commit_id): argument 276 os.chdir(abs_path) 279 err = _COMMIT_ID_NOT_EXIST_ERROR.format(commit_id, abs_path) 303 _, abs_path = common_util.get_related_paths(atest_module_info, target) 304 current_commit_id = _get_git_current_commit_id(abs_path) 305 _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 | 347 _, abs_path = common_util.get_related_paths(atest_module_info, target) 348 abs_paths.append(abs_path) 354 _, abs_path = common_util.get_related_paths(cc_module_info, target) 355 vs_native = vs_gen(abs_path) 357 if abs_path not in abs_paths: 358 abs_paths.append(abs_path)
|
/tools/test/connectivity/acts/framework/acts/ |
D | utils.py | 112 def abs_path(path): function 220 p = abs_path(path) 253 path = abs_path(f_path) 269 full_path = abs_path(file_path)
|
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)
|
/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/tradefederation/core/atest/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/asuite/atest/test_finders/ |
D | tf_integration_finder.py | 150 abs_path = os.path.join(self.root_dir, integration_dir) 153 abs_path, name)
|
D | test_finder_utils.py | 873 abs_path = os.path.join(root_dir, integration_dir) 874 test_paths = run_find_cmd(FIND_REFERENCE_TYPE.INTEGRATION, 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
|