/ohos5.0/base/security/selinux_adapter/scripts/ |
H A D | build_policy_api.py | 389 if not os.path.exists(output_path): 390 os.makedirs(output_path) 399 min_cil_path = os.path.join(output_path, "min.cil") 425 if not os.path.exists(output_path): 426 os.makedirs(output_path) 441 min_cil_path = os.path.join(output_path, "min.cil") 482 version_file = os.path.join(output_path, "version") 534 src_dir = os.path.join(output_path, "pre_check/") 536 src_dir = output_path 549 if not os.path.exists(output_path): [all …]
|
H A D | build_contexts.py | 246 def build_file_contexts(args, output_path, policy_path, all_policy_path): argument 248 all_combined_file_contexts = os.path.join(output_path, "file_contexts") 252 combined_file_contexts = os.path.join(output_path, "file_contexts") 270 all_combined_contexts = output_path + contexts_file_name 272 all_combined_contexts = output_path + "all_" + contexts_file_name 274 combined_contexts = output_path + contexts_file_name 282 def build_sehap_contexts(args, output_path, policy_path): argument 286 combined_contexts = os.path.join(output_path, "sehap_contexts") 324 output_path = args.dst_dir 350 build_file_contexts(args, output_path, folder_list, all_folder_list) [all …]
|
H A D | build_ignore_cfg.py | 156 def build_ignore_cfg(output_path, folder_list): argument 157 combined_ignore_cfg = os.path.join(output_path, "ignore_cfg") 163 output_path = args.dst_dir 164 print("output_path: ", output_path) 183 build_ignore_cfg(output_path, folder_list)
|
/ohos5.0/build/ohos/packages/ |
H A D | backup_restore_artifact.py | 36 output_path = None 38 output_path = os.path.join( 41 output_path = args.output_dir.replace( 49 output_path = asan_symbols_path 50 if output_path is not None: 51 print("Move:{},To:{}".format(source, output_path)) 52 shutil.move(source, output_path)
|
/ohos5.0/build/tools/module_dependence/ |
H A D | part_deps.py | 59 def _drawing_part_deps(part_deps_data: dict, output_path: str): 101 _output_graph_file = os.path.join(output_path, 'part-deps-grahp.html') 117 def run(deps_files_path: str, output_path: str, is_graph: bool): 119 all_deps_data_file = os.path.join(output_path, 'all_deps_data.json') 123 part_deps_data_file = os.path.join(output_path, 'part_deps_info.json') 126 _drawing_part_deps(part_deps_data, output_path) 138 output_path = os.path.join(os.path.dirname( 141 run(args.deps_files_path, output_path, args.graph) 142 print('part deps data output to {}'.format(output_path))
|
H A D | module_deps.py | 53 def run(deps_files_path: str, output_path: str): 55 all_deps_data_file = os.path.join(output_path, 'all_deps_data.json') 59 module_deps_data_file = os.path.join(output_path, 'module_deps_info.json') 70 output_path = os.path.join(os.path.dirname(args.deps_files_path), 73 run(args.deps_files_path, output_path) 74 print('module deps data output to {}'.format(output_path))
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/hdi_hash_test/ |
H A D | hdi_compile_opt_test_01.py | 32 output_path = os.path.join(self.working_dir, "hash_out") 33 if not os.path.exists(output_path): 34 os.makedirs(output_path) 35 self.set_output_path(os.path.join(output_path, "hash.txt")) 36 self.set_output_dir(output_path)
|
H A D | hdi_compile_opt_test_02.py | 32 output_path = os.path.join(self.working_dir, "hash_out") 33 if not os.path.exists(output_path): 34 os.makedirs(output_path) 35 self.set_output_path(os.path.join(output_path, "hash.txt")) 36 self.set_output_dir(output_path)
|
H A D | hdi_compile_opt_test_03.py | 32 output_path = os.path.join(self.working_dir, "hash_out") 33 if not os.path.exists(output_path): 34 os.makedirs(output_path) 35 self.set_output_path(os.path.join(output_path, "hash.txt")) 36 self.set_output_dir(output_path)
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/base/ |
H A D | test_base.py | 100 def set_output_path(self, output_path): argument 101 self._output_path = output_path 118 output_path = os.path.join(self.working_dir, "hash_out") 119 if not os.path.exists(output_path): 120 os.makedirs(output_path) 121 self.set_output_path(os.path.join(output_path, "hash.txt")) 122 self.set_output_dir(output_path) 134 if not os.path.exists(output_path): 135 os.makedirs(output_path) 136 self.set_output_path(os.path.join(output_path, "dump.txt")) [all …]
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/hdi_dump_ast_test/ |
H A D | hdi_compile_opt_test_01.py | 32 output_path = os.path.join(self.working_dir, "dump_ast_out") 33 if not os.path.exists(output_path): 34 os.makedirs(output_path) 35 self.set_output_path(os.path.join(output_path, "dump.txt")) 36 self.set_output_dir(output_path)
|
H A D | hdi_compile_opt_test_02.py | 32 output_path = os.path.join(self.working_dir, "dump_ast_out") 33 if not os.path.exists(output_path): 34 os.makedirs(output_path) 35 self.set_output_path(os.path.join(output_path, "dump.txt")) 36 self.set_output_dir(output_path)
|
H A D | hdi_compile_opt_test_03.py | 32 output_path = os.path.join(self.working_dir, "dump_ast_out") 33 if not os.path.exists(output_path): 34 os.makedirs(output_path) 35 self.set_output_path(os.path.join(output_path, "dump.txt")) 36 self.set_output_dir(output_path)
|
/ohos5.0/build/ohos/images/mkimage/ |
H A D | mkcpioimage.py | 67 output_path = os.path.join("%s/../images" % os.getcwd(), args.device) 71 output_path = os.path.join("%s/../images" % os.getcwd(), "updater.img") 73 output_path = os.path.join(work_dir, args.device) 74 ramdisk_cmd = ['cpio', '-o', '-H', 'newc', '-O', output_path] 80 if conf_size < os.path.getsize(output_path): 83 (conf_size, os.path.getsize(output_path)))
|
/ohos5.0/base/security/selinux_adapter/scripts/selinux_check/ |
H A D | selinux_check_main.py | 31 request_args.append(os.path.join(args.output_path, "file_contexts")) 34 request_args.append(os.path.join(args.output_path, "all.cil")) 36 request_args.append(os.path.join(args.output_path, "developer/all.cil")) 44 "-o", os.path.join(args.output_path, "all.cil")] 49 "-o", os.path.join(args.output_path, "developer/all.cil")]
|
/ohos5.0/foundation/arkui/ace_engine/build/tools/ |
H A D | build_resource_to_bytecode.py | 21 def resource_file_to_bytecode(input_dir, input_file, output_path): argument 24 with open(output_path, 'a') as cpp_file_object: 59 output_path = os.path.abspath(args.output) 60 resource_file_to_bytecode(input_dir, input_file, output_path)
|
H A D | gen_uicontext_ohos.py | 20 def main(input_path, output_path): argument 21 with open(output_path, "w", encoding="utf-8") as ohos:
|
/ohos5.0/build/tools/component_tools/static_check/bundle_check/ |
H A D | get_subsystem_with_component.py | 85 output_path: str, 91 os.path.normpath(output_path)) + '/' + output_name 111 output_path = r'.' 113 output_path = args.outpath 115 return ohos_path, output_path
|
H A D | readme.md | 23 `python get_subsystem_with_component.py project_path [-o output_path]` 26 `-o output_path` 指定 `output_path` 为输出 json 文件所在目录,省略时默认为脚本所在目录。
|
/ohos5.0/build/ohos/hisysevent/ |
H A D | gen_def_from_all_yaml.py | 279 def _open_warning_file(output_path: str): 281 _warning_file_path = os.path.join(output_path, 'hisysevent_warning.txt') 300 def _output_deprecated(output_path: str): 712 def merge_hisysevent_config(yaml_list: str, output_path: str) -> str: 713 if (len(output_path) == 0): 715 output_path = present_path 719 if not os.path.exists(output_path): 720 os.makedirs(output_path, exist_ok=True) 721 _open_warning_file(output_path) 744 _output_deprecated(output_path) [all …]
|
/ohos5.0/build/indep_configs/scripts/ |
H A D | generate_target_build_gn.py | 62 def _output_build_gn(deps_list, output_path, _test_check): argument 63 file_name = os.path.join(output_path, 'BUILD.gn') 136 output_path = os.path.join(args.root_path, 'out') 137 _output_build_gn(deps_list, output_path, _test_check)
|
/ohos5.0/base/update/packaging_tools/ |
H A D | code_yacc.py | 35 output_path = parse_params[1] variable 37 [gen_script_name], stdout=subprocess.PIPE, cwd=output_path)
|
/ohos5.0/foundation/multimodalinput/input/libudev/ |
H A D | BUILD.gn | 46 output_path = "multimodalinput/mmi_unit_out" 54 module_out_path = output_path 81 module_out_path = output_path
|
/ohos5.0/drivers/peripheral/usb/test/moduletest/ |
H A D | BUILD.gn | 23 output_path = "$root_out_dir/test/moduletest/hdf/usb" 26 output_dir = output_path 57 output_dir = output_path 88 output_dir = output_path 119 output_dir = output_path 141 output_dir = output_path
|
/ohos5.0/build/ohos/update/ |
H A D | check_abi_and_copy_deps.py | 184 output_path = parent_output 187 output_path = os.path.join(parent_output, "etc") 189 output_path = os.path.join(parent_output, "bin") 191 … output_path = os.path.join(parent_output, get_value_from_file("module_info", element, "type")) 192 return output_path
|