/tools/asuite/aidegen/vscode/ |
D | vscode_workspace_file_gen.py | 49 root_dir = common_util.get_android_root_dir() 51 name = _get_unique_project_name(path, root_dir) 85 def _get_unique_project_name(abs_path, root_dir): argument 98 unique_name = os.path.relpath(abs_path, root_dir).replace(os.sep, '.') 100 unique_name = os.path.basename(root_dir)
|
D | vscode_native_project_file_gen.py | 80 root_dir = common_util.get_android_root_dir() 82 [os.path.relpath(self.mod_dir, root_dir)]) 116 root_dir = common_util.get_android_root_dir() 118 root_dir, _COMPILE_COMMANDS_FILE_DIR, _COMPILE_COMMANDS_FILE_NAME) 134 root_dir = common_util.get_android_root_dir() 137 header_list.append(os.path.join(root_dir, path))
|
D | vscode_workspace_file_gen_unittest.py | 62 root_dir = 'a/b' 65 abs_path, root_dir) 70 abs_path, root_dir)
|
/tools/asuite/aidegen/lib/ |
D | native_util.py | 228 root_dir = common_util.get_android_root_dir() 230 root_dir, 243 return _get_rust_targets(targets, rust_dict[_CRATES_KEY], root_dir) 246 def _get_rust_targets(targets, rust_modules_info, root_dir): argument 264 rel_target = _get_relative_path(target, root_dir) 265 if not os.path.isdir(os.path.join(root_dir, rel_target)): 279 def _get_relative_path(target, root_dir): argument 291 return os.path.relpath(target, root_dir)
|
D | clion_project_file_gen.py | 393 root_dir = common_util.get_android_root_dir() 394 cc_dir = os.path.join(root_dir, constant.RELATIVE_NATIVE_PATH, 396 cc_out_dir = os.path.join(root_dir, common_util.get_android_out_dir(), 435 root_dir = common_util.get_android_root_dir() 436 parent_dir = os.path.relpath(abs_project_path, root_dir) 448 link_project_dir = os.path.join(root_dir, 450 os.path.relpath(project_dir, root_dir))
|
D | module_info_util.py | 319 root_dir = common_util.get_android_root_dir() 321 root_dir, common_util.get_blueprint_json_path( 328 link_rust = os.path.join(root_dir, constant.RUST_PROJECT_JSON)
|
D | native_module_info.py | 77 root_dir = common_util.get_android_root_dir() 78 module_info_target = os.path.relpath(module_file, root_dir)
|
D | common_util_unittest.py | 446 root_dir = 'a/path/to/dir' 449 abs_path = os.path.join(root_dir, folder) 450 mock_walk.return_value = [(root_dir, [folder], [target])] 453 abs_path = os.path.join(root_dir, folder) 454 mock_walk.return_value = [(root_dir, [folder], [target])] 457 mock_walk.return_value = [(root_dir, [folder], [target])]
|
D | common_util.py | 670 root_dir = get_android_root_dir() 672 root_dir, get_blueprint_json_path( 676 root_dir, get_blueprint_json_path(constant.BLUEPRINT_CC_JSONFILE_NAME)) 682 root_dir, get_blueprint_json_path(constant.RUST_PROJECT_JSON))
|
D | project_info.py | 204 root_dir = common_util.get_android_root_dir() 209 os.path.join(root_dir, data[constant.KEY_PATH][0])):
|
/tools/asuite/atest/test_finders/ |
D | tf_integration_finder.py | 52 self.root_dir = os.environ.get(constants.ANDROID_BUILD_TOP) 89 config_file = os.path.join(self.root_dir, rel_config) 166 abs_path = os.path.join(self.root_dir, integration_dir) 214 self.root_dir, 226 self.root_dir, 292 rel_config = os.path.relpath(test_file, self.root_dir) 305 paths = test_finder_utils.find_class_file(self.root_dir, class_name) 352 rel_config = os.path.relpath(path, self.root_dir)
|
D | module_finder.py | 53 self.root_dir = os.environ.get(constants.ANDROID_BUILD_TOP) 110 self.root_dir, test.data[constants.TI_REL_CONFIG] 118 out_dir = os.path.relpath(out_dir, self.root_dir) 275 config_file = os.path.join(self.root_dir, rel_config) 409 ) != os.path.relpath(path, self.root_dir): 436 self.root_dir, test_dir, self.module_info 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)) 608 search_dir = self.root_dir 620 self.root_dir, search_class_name, is_native_test, methods [all …]
|
D | suite_plan_finder.py | 42 self.root_dir = os.environ.get(constants.ANDROID_BUILD_TOP) 130 rel_config = os.path.relpath(path, self.root_dir)
|
D | test_finder_utils.py | 509 def find_parent_module_dir(root_dir, start_dir, module_info): argument 525 if not is_equal_or_sub_dir(start_dir, root_dir): 526 raise ValueError('%s not in repo %s' % (start_dir, root_dir)) 529 while current_dir != root_dir: 532 rel_dir = os.path.relpath(current_dir, root_dir) 881 root_dir = os.environ.get(constants.ANDROID_BUILD_TOP) 884 abs_path = os.path.join(root_dir, integration_dir) 901 root_dir = os.environ.get(constants.ANDROID_BUILD_TOP) 907 abs_int_dir = os.path.join(root_dir, possible_dir)
|
D | tf_integration_finder_unittest.py | 66 self.tf_finder.root_dir = uc.ROOT 186 tf_int_finder.root_dir = uc.TEST_DATA_DIR
|
/tools/netsim/testing/netsim-grpc/ |
D | setup.py | 27 root_dir = path.dirname(path.dirname(here)) 28 aosp_dir = path.dirname(path.dirname(root_dir)) 29 proto_root_dir = path.join(root_dir, "proto")
|
/tools/external_updater/ |
D | update_package.sh | 27 root_dir=`pwd` 87 /bin/bash `dirname $0`/regen_bp.sh $root_dir $external_dir
|
/tools/asuite/aidegen/ |
D | aidegen_main.py | 390 root_dir = common_util.get_android_root_dir() 391 abs_paths.extend(_get_rust_project_paths(rtargets, root_dir)) 445 def _get_rust_project_paths(rtargets, root_dir): argument 459 if not common_util.is_source_under_relative_path(rtarget, root_dir): 460 path = os.path.join(root_dir, rtarget)
|
/tools/asuite/atest/ |
D | test_mapping.py | 115 root_dir = os.environ.get(constants.ANDROID_BUILD_TOP, os.sep) 116 path = os.path.realpath(os.path.join(root_dir, self.path))
|
D | module_info.py | 510 self.root_dir = os.environ.get(constants.ANDROID_BUILD_TOP) 771 if pth == Path(self.root_dir): 780 rel_dir = str(Path(xml).relative_to(self.root_dir).parent) 805 apks.add(os.path.join(self.root_dir, artifact)) 885 os.path.join(self.root_dir, test_config) 899 return Path(self.root_dir).joinpath(mod_path[0], filename)
|
D | cli_translator.py | 100 self.root_dir = os.getenv(constants.ANDROID_BUILD_TOP, os.sep) 573 while path not in (self.root_dir, os.sep): 719 self.mod_info, str(Path(os.getcwd()).relative_to(self.root_dir))
|
/tools/asuite/atest/coverage/ |
D | coverage.py | 380 def _generate_lcov_report(out_dir, reports, root_dir=None): argument 382 if root_dir: 383 cmd.extend(['-p', root_dir])
|
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/ |
D | package_server.py | 176 root_dir = context.get_current_context().get_full_output_path() 180 self._log_path = os.path.join(root_dir, f'pm_server.{time_stamp}.log')
|
D | ffx.py | 159 root_dir = context.get_current_context().get_full_output_path() 163 target_dir = os.path.join(root_dir, f'{self.mdns_name}_{time_stamp}')
|
/tools/repohooks/tools/ |
D | cpplint.py | 1584 root_dir = project_dir 1585 while os.path.exists(root_dir): 1587 if os.path.normcase(root_dir) == os.path.normcase(repo): 1588 return os.path.relpath(fullname, root_dir).replace('\\', '/') 1589 one_up_dir = os.path.dirname(root_dir) 1590 if one_up_dir == root_dir: 1592 root_dir = one_up_dir 1597 root_dir = project_dir 1598 one_up_dir = os.path.dirname(root_dir) 1600 root_dir = os.path.dirname(root_dir) [all …]
|