/tools/asuite/atest/test_finders/ |
D | module_finder.py | 54 self.root_dir = os.environ.get(constants.ANDROID_BUILD_TOP) 86 file_path, self.root_dir) not in module_srcs: 123 config_file = os.path.join(self.root_dir, 131 out_dir = os.path.relpath(out_dir, self.root_dir) 237 config_file = os.path.join(self.root_dir, rel_config) 361 os.path.relpath(path, self.root_dir)): 389 self.root_dir, test_dir, self.module_info) 486 test_config_path = os.path.join(self.root_dir, test_config) 530 search_dir = os.path.join(self.root_dir, 533 search_dir = self.root_dir [all …]
|
D | tf_integration_finder.py | 56 self.root_dir = os.environ.get(constants.ANDROID_BUILD_TOP) 86 config_file = os.path.join(self.root_dir, rel_config) 158 abs_path = os.path.join(self.root_dir, integration_dir) 201 self.root_dir, tf_dir, '..', 'filegroups', 'tradefed', 208 self.root_dir, gtf_dir, '..', 'filegroups', 265 rel_config = os.path.relpath(test_file, self.root_dir) 276 paths = test_finder_utils.find_class_file(self.root_dir, 323 rel_config = os.path.relpath(path, self.root_dir)
|
D | test_finder_utils.py | 607 def find_parent_module_dir(root_dir, start_dir, module_info): argument 623 if not is_equal_or_sub_dir(start_dir, root_dir): 624 raise ValueError('%s not in repo %s' % (start_dir, root_dir)) 627 while current_dir != root_dir: 630 rel_dir = os.path.relpath(current_dir, root_dir) 1011 root_dir = os.environ.get(constants.ANDROID_BUILD_TOP) 1014 abs_path = os.path.join(root_dir, integration_dir) 1032 root_dir = os.environ.get(constants.ANDROID_BUILD_TOP) 1038 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)
|
/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 | 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 | 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.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 | native_module_info.py | 77 root_dir = common_util.get_android_root_dir() 78 module_info_target = os.path.relpath(module_file, root_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/vscode/ |
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) 135 root_dir = common_util.get_android_root_dir() 138 header_list.append(os.path.join(root_dir, path))
|
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)
|
/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))
|
/tools/asuite/atest/ |
D | module_info.py | 122 self.root_dir = os.environ.get(constants.ANDROID_BUILD_TOP) 145 root_dir = os.environ.get(constants.ANDROID_BUILD_TOP, '/') 146 out_dir = os.environ.get(constants.ANDROID_PRODUCT_OUT, root_dir) 151 if out_dir.find(root_dir) == 0: 153 module_info_target = os.path.relpath(module_file_path, root_dir) 457 if os.path.isfile(os.path.join(self.root_dir, test_config)): 461 if os.path.isfile(os.path.join(self.root_dir, path, 555 bpfile = os.path.join(self.root_dir, mod_path[0], 'Android.bp') 626 os.path.join(self.root_dir, test_config))
|
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/aidegen/ |
D | aidegen_main.py | 383 root_dir = common_util.get_android_root_dir() 384 abs_paths.extend(_get_rust_project_paths(rtargets, root_dir)) 438 def _get_rust_project_paths(rtargets, root_dir): argument 452 if not common_util.is_source_under_relative_path(rtarget, root_dir): 453 path = os.path.join(root_dir, rtarget)
|
/tools/asuite/atest-py2/test_runners/ |
D | atest_tf_test_runner.py | 90 self.root_dir = os.environ.get(constants.ANDROID_BUILD_TOP) 107 key_path = os.path.join(self.root_dir, ape_api_key) 316 root_dir = os.environ.get(constants.ANDROID_BUILD_TOP) 317 return os.path.commonprefix([output, root_dir]) != root_dir
|
/tools/external_updater/ |
D | update_package.sh | 27 root_dir=`pwd` 76 /bin/bash `dirname $0`/regen_bp.sh $root_dir $external_dir
|
/tools/asuite/atest/test_runners/ |
D | atest_tf_test_runner.py | 140 self.root_dir = os.environ.get(constants.ANDROID_BUILD_TOP) 177 key_path = os.path.join(self.root_dir, ape_api_key) 459 root_dir = os.environ.get(constants.ANDROID_BUILD_TOP, '') 460 return os.path.commonprefix([output, root_dir]) != root_dir
|