Home
last modified time | relevance | path

Searched refs:template_path (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/driver_add/linux/
H A Dkconfig_file_add_config.py18 def get_template_info(template_path): argument
19 template_path = os.path.join(template_path,
21 return hdf_utils.read_file(template_path)
24 def kconfig_file_operation(path, module, driver, template_path): argument
25 config_add_config = get_template_info(template_path)
/ohos5.0/build/ohos/testfwk/
H A Dtest_js_file_copy.py28 def copy_file(suite_path: str, template_path: str, target_path: str):
31 template_path = os.path.join(template_path, "src")
39 shutil.copytree(template_path, os.path.join(target_path, "src"))
80 copy_file(args.suite_path, args.template_path, args.target_path)
/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/
H A Dhdf_add_handler.py58 def _render(template_path, output_path, data_model): argument
59 if not os.path.exists(template_path):
61 raw_content = hdf_utils.read_file(template_path)
67 template_path = os.path.join(templates_dir, template)
69 self._render(template_path, file_path, model)
192 template_path = os.path.join(framework_hdf, temp_path)
195 template_path, kernel):
243 template_path = os.path.join(framework_hdf, temp_path)
246 template_path, kernel):
297 template_path = os.path.join(framework_hdf, temp_path)
[all …]
H A Dhdf_device_info_hcs.py116 template_path = os.path.join(
120 hdf_utils.read_file_lines(template_path)))
/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/driver_add/
H A Dhdf_add_driver.py395 template_path = os.path.join(templates_dir, template)
396 self._template_fill(template_path, source_file_path, model)
398 def _template_fill(self, template_path, output_path, data_model): argument
399 if not os.path.exists(template_path):
401 raw_content = hdf_utils.read_file(template_path)
/ohos5.0/build/
H A Dtest.gni498 "--template_path",