Home
last modified time | relevance | path

Searched refs:root_dir (Results 1 – 25 of 32) sorted by relevance

12

/tools/asuite/aidegen/vscode/
Dvscode_workspace_file_gen.py49 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)
Dvscode_workspace_file_gen_unittest.py62 root_dir = 'a/b'
65 abs_path, root_dir)
70 abs_path, root_dir)
Dvscode_native_project_file_gen.py81 root_dir = common_util.get_android_root_dir()
83 [os.path.relpath(self.mod_dir, root_dir)])
/tools/external_updater/
Dupdate_package.sh26 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/
Dmodule_info.py49 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,
Dtest_mapping.py117 root_dir = os.environ.get(constants.ANDROID_BUILD_TOP, os.sep)
118 path = os.path.realpath(os.path.join(root_dir, self.path))
Dcli_translator.py397 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/
Dmodule_finder.py51 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 …]
Dtf_integration_finder.py57 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)
Dtest_finder_utils.py550 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)
Dsuite_plan_finder.py41 self.root_dir = os.environ.get(constants.ANDROID_BUILD_TOP)
120 rel_config = os.path.relpath(path, self.root_dir)
Dtf_integration_finder_unittest.py61 self.tf_finder.root_dir = uc.ROOT
161 tf_int_finder.root_dir = uc.TEST_DATA_DIR
/tools/asuite/atest-py2/test_finders/
Dmodule_finder.py49 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 …]
Dtf_integration_finder.py50 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)
Dtest_finder_utils.py486 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)
Dsuite_plan_finder.py41 self.root_dir = os.environ.get(constants.ANDROID_BUILD_TOP)
119 rel_config = os.path.relpath(path, self.root_dir)
/tools/asuite/aidegen/lib/
Dnative_util.py226 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)):
Dmodule_info_util.py316 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)
Dcommon_util_unittest.py444 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])]
Dnative_module_info.py78 root_dir = common_util.get_android_root_dir()
79 module_info_target = os.path.relpath(module_file, root_dir)
Dcommon_util.py673 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))
Dproject_info.py197 root_dir = common_util.get_android_root_dir()
202 os.path.join(root_dir, data[constant.KEY_PATH][0])):
/tools/asuite/aidegen/
Daidegen_main.py355 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/
Dtest_mapping.py115 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/
Datest_tf_test_runner.py101 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

12