/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_workspace_file_gen_unittest.py | 62 root_dir = 'a/b' 65 abs_path, root_dir) 70 abs_path, root_dir)
|
D | vscode_native_project_file_gen.py | 81 root_dir = common_util.get_android_root_dir() 83 [os.path.relpath(self.mod_dir, root_dir)])
|
/tools/external_updater/ |
D | update_package.sh | 26 root_dir=`pwd` 58 /bin/bash `dirname $0`/regen_bp.sh $root_dir $external_dir 80 /bin/bash `dirname $0`/regen_bp.sh $root_dir $external_dir 94 UCT="$root_dir/development/scripts/update_crate_tests.py"
|
/tools/asuite/atest-py2/ |
D | module_info.py | 49 self.root_dir = os.environ.get(constants.ANDROID_BUILD_TOP) 63 root_dir = os.environ.get(constants.ANDROID_BUILD_TOP, '/') 64 out_dir = os.environ.get(constants.ANDROID_PRODUCT_OUT, root_dir) 69 if out_dir.find(root_dir) == 0: 71 module_info_target = os.path.relpath(module_file_path, root_dir) 241 if os.path.isfile(os.path.join(self.root_dir, test_config)): 245 if os.path.isfile(os.path.join(self.root_dir, path,
|
D | test_mapping.py | 117 root_dir = os.environ.get(constants.ANDROID_BUILD_TOP, os.sep) 118 path = os.path.realpath(os.path.join(root_dir, self.path))
|
D | cli_translator.py | 397 root_dir = os.environ.get(constants.ANDROID_BUILD_TOP, os.sep) 398 while path != root_dir and path != os.sep:
|
/tools/asuite/atest/test_finders/ |
D | module_finder.py | 51 self.root_dir = os.environ.get(constants.ANDROID_BUILD_TOP) 83 file_path, self.root_dir) not in module_srcs: 120 config_file = os.path.join(self.root_dir, 128 out_dir = os.path.relpath(out_dir, self.root_dir) 219 config_file = os.path.join(self.root_dir, rel_config) 343 os.path.relpath(path, self.root_dir)): 371 self.root_dir, test_dir, self.module_info) 468 test_config_path = os.path.join(self.root_dir, test_config) 512 search_dir = os.path.join(self.root_dir, 515 search_dir = self.root_dir [all …]
|
D | tf_integration_finder.py | 57 self.root_dir = os.environ.get(constants.ANDROID_BUILD_TOP) 87 config_file = os.path.join(self.root_dir, rel_config) 159 abs_path = os.path.join(self.root_dir, integration_dir) 202 self.root_dir, tf_dir, '..', 'filegroups', 'tradefed', 209 self.root_dir, gtf_dir, '..', 'filegroups', 289 rel_config = os.path.relpath(test_file, self.root_dir) 300 paths = test_finder_utils.find_class_file(self.root_dir, 347 rel_config = os.path.relpath(path, self.root_dir)
|
D | test_finder_utils.py | 550 def find_parent_module_dir(root_dir, start_dir, module_info): argument 566 if not is_equal_or_sub_dir(start_dir, root_dir): 567 raise ValueError('%s not in repo %s' % (start_dir, root_dir)) 570 while current_dir != root_dir: 573 rel_dir = os.path.relpath(current_dir, root_dir) 930 root_dir = os.environ.get(constants.ANDROID_BUILD_TOP) 933 abs_path = os.path.join(root_dir, integration_dir) 951 root_dir = os.environ.get(constants.ANDROID_BUILD_TOP) 957 abs_int_dir = os.path.join(root_dir, possible_dir)
|
D | suite_plan_finder.py | 41 self.root_dir = os.environ.get(constants.ANDROID_BUILD_TOP) 120 rel_config = os.path.relpath(path, self.root_dir)
|
D | tf_integration_finder_unittest.py | 61 self.tf_finder.root_dir = uc.ROOT 161 tf_int_finder.root_dir = uc.TEST_DATA_DIR
|
/tools/asuite/atest-py2/test_finders/ |
D | module_finder.py | 49 self.root_dir = os.environ.get(constants.ANDROID_BUILD_TOP) 100 config_file = os.path.join(self.root_dir, 108 out_dir = os.path.relpath(out_dir, self.root_dir) 180 config_file = os.path.join(self.root_dir, rel_config) 260 os.path.relpath(path, self.root_dir)): 287 self.root_dir, test_dir, self.module_info) 372 test_config_path = os.path.join(self.root_dir, test_config) 408 search_dir = os.path.join(self.root_dir, 411 search_dir = self.root_dir 417 test_paths = test_finder_utils.find_class_file(self.root_dir, [all …]
|
D | tf_integration_finder.py | 50 self.root_dir = os.environ.get(constants.ANDROID_BUILD_TOP) 78 config_file = os.path.join(self.root_dir, rel_config) 146 abs_path = os.path.join(self.root_dir, integration_dir) 199 rel_config = os.path.relpath(test_file, self.root_dir) 210 paths = test_finder_utils.find_class_file(self.root_dir, 256 rel_config = os.path.relpath(path, self.root_dir)
|
D | test_finder_utils.py | 486 def find_parent_module_dir(root_dir, start_dir, module_info): argument 502 if not is_equal_or_sub_dir(start_dir, root_dir): 503 raise ValueError('%s not in repo %s' % (start_dir, root_dir)) 506 while current_dir != root_dir: 509 rel_dir = os.path.relpath(current_dir, root_dir) 518 if os.path.isfile(os.path.join(root_dir, test_config)): 856 root_dir = os.environ.get(constants.ANDROID_BUILD_TOP) 859 abs_path = os.path.join(root_dir, integration_dir) 877 root_dir = os.environ.get(constants.ANDROID_BUILD_TOP) 883 abs_int_dir = os.path.join(root_dir, possible_dir)
|
D | suite_plan_finder.py | 41 self.root_dir = os.environ.get(constants.ANDROID_BUILD_TOP) 119 rel_config = os.path.relpath(path, self.root_dir)
|
/tools/asuite/aidegen/lib/ |
D | native_util.py | 226 root_dir = common_util.get_android_root_dir() 228 root_dir, 241 return _get_rust_targets(targets, rust_dict[_CRATES_KEY], root_dir) 244 def _get_rust_targets(targets, rust_modules_info, root_dir): argument 259 if not os.path.isdir(os.path.join(root_dir, target)):
|
D | module_info_util.py | 316 root_dir = common_util.get_android_root_dir() 318 root_dir, common_util.get_blueprint_json_path( 325 link_rust = os.path.join(root_dir, constant.RUST_PROJECT_JSON)
|
D | common_util_unittest.py | 444 root_dir = 'a/path/to/dir' 447 abs_path = os.path.join(root_dir, folder) 448 mock_walk.return_value = [(root_dir, [folder], [target])] 451 abs_path = os.path.join(root_dir, folder) 452 mock_walk.return_value = [(root_dir, [folder], [target])] 455 mock_walk.return_value = [(root_dir, [folder], [target])]
|
D | native_module_info.py | 78 root_dir = common_util.get_android_root_dir() 79 module_info_target = os.path.relpath(module_file, root_dir)
|
D | common_util.py | 673 root_dir = get_android_root_dir() 675 root_dir, get_blueprint_json_path( 679 root_dir, get_blueprint_json_path(constant.BLUEPRINT_CC_JSONFILE_NAME)) 685 root_dir, get_blueprint_json_path(constant.RUST_PROJECT_JSON))
|
D | project_info.py | 197 root_dir = common_util.get_android_root_dir() 202 os.path.join(root_dir, data[constant.KEY_PATH][0])):
|
/tools/asuite/aidegen/ |
D | aidegen_main.py | 355 root_dir = common_util.get_android_root_dir() 356 abs_paths.extend(_get_rust_project_paths(rtargets, root_dir)) 410 def _get_rust_project_paths(rtargets, root_dir): argument 424 if not common_util.is_source_under_relative_path(rtarget, root_dir): 425 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))
|
/tools/asuite/atest/test_runners/ |
D | atest_tf_test_runner.py | 101 self.root_dir = os.environ.get(constants.ANDROID_BUILD_TOP) 133 key_path = os.path.join(self.root_dir, ape_api_key) 510 root_dir = os.environ.get(constants.ANDROID_BUILD_TOP) 511 return os.path.commonprefix([output, root_dir]) != root_dir
|