Home
last modified time | relevance | path

Searched refs:IoUtil (Results 1 – 19 of 19) sorted by relevance

/ohos5.0/build/hb/services/
H A Dpreloader.py22 from util.io_util import IoUtil
151 IoUtil.dump_json_file(self._outputs.syscap_json, parts_syscap_info)
180 IoUtil.dump_json_file(
209 IoUtil.dump_json_file(self._outputs.parts_json, parts_info)
243 IoUtil.dump_json_file(
255 IoUtil.dump_json_file(
267 IoUtil.dump_json_file(
274 IoUtil.dump_json_file(
288 subsystem_info = IoUtil.read_json_file(
304 allow_info = IoUtil.read_json_file(allow_info_file)
[all …]
H A Dninja.py26 from util.io_util import IoUtil
50 ninja_env_allowlist = IoUtil.read_json_file(
H A Dhdc.py32 from util.io_util import IoUtil
88 bundle_info = IoUtil.read_json_file(bundle_file)
H A Dhpm.py31 from util.io_util import IoUtil
H A Dgn.py32 from util.io_util import IoUtil
/ohos5.0/build/hb/util/
H A Dcomponent_util.py24 from util.io_util import IoUtil
48 data = IoUtil.read_json_file(bundle_path)
57 data = IoUtil.read_json_file(bundle_path)
83 target_info = IoUtil.read_file(
119 return IoUtil.read_json_file(COMPONENTS_PATH_DIR)
127 data = IoUtil.read_json_file(bundle_json)
129 IoUtil.dump_json_file(COMPONENTS_PATH_DIR, bundles_path)
H A Dproduct_util.py22 from util.io_util import IoUtil
49 info = IoUtil.read_json_file(config_path)
100 info = IoUtil.read_json_file(config_path)
121 info = IoUtil.read_json_file(config_path)
142 info = IoUtil.read_json_file(config_path)
157 info = IoUtil.read_json_file(product_json)
203 files = [os.path.join(config.root_path, file) for file in IoUtil.read_json_file(
213 _info = IoUtil.read_json_file(_file)
231 files = [os.path.join(config.root_path, file) for file in IoUtil.read_json_file(
241 _info = IoUtil.read_json_file(_file)
[all …]
H A Dlog_util.py26 from util.io_util import IoUtil
95 status_file = IoUtil.read_json_file(STATUS_FILE)
H A Dio_util.py29 class IoUtil(metaclass=NoInstance): class
/ohos5.0/build/hb/containers/
H A Dstatus.py24 from util.io_util import IoUtil
72 if IoUtil.read_json_file(ROOT_CONFIG_FILE).get('out_path') is not None:
73 _log_path = os.path.join(IoUtil.read_json_file(
H A Darg.py50 from util.io_util import IoUtil
322 IoUtil.dump_json_file(args_file_path, args_file)
369 IoUtil.copy_file(src=default_file_path, dst=args_file_path)
370 return IoUtil.read_json_file(args_file_path)
/ohos5.0/build/hb/resources/
H A Dconfig.py29 from util.io_util import IoUtil
35 IoUtil.copy_file(BUILD_CONFIG_FILE, ROOT_CONFIG_FILE)
320 tools_path = IoUtil.read_json_file(
370 config_content = IoUtil.read_json_file(self.config_json)
372 IoUtil.dump_json_file(self.config_json, config_content)
376 config_content = IoUtil.read_json_file(self.config_json)
/ohos5.0/build/hb/util/preloader/
H A Dpreloader_process_data.py21 from util.io_util import IoUtil
298 device_info = IoUtil.read_json_file(device_config_file)
364 return IoUtil.read_json_file(system_base_config_file)
370 _info = IoUtil.read_json_file(_file)
379 _info = IoUtil.read_json_file(os.path.join(
409 config = IoUtil.read_json_file(self._config_file)
/ohos5.0/build/hb/util/prebuild/
H A Dpatch_process.py19 from util.io_util import IoUtil
54 patch_cfg_dict = IoUtil.read_yaml_file(patch_cfg)
/ohos5.0/build/hb/resolver/
H A Denv_args_resolver.py30 from util.io_util import IoUtil
61 json_data = IoUtil.read_json_file(config_json)
H A Dbuild_args_resolver.py36 from util.io_util import IoUtil
129 default_build_args = IoUtil.read_json_file(DEFAULT_BUILD_ARGS)
143 default_build_args = IoUtil.read_json_file(DEFAULT_BUILD_ARGS)
157 default_build_args = IoUtil.read_json_file(DEFAULT_BUILD_ARGS)
180 parts_data = IoUtil.read_json_file(parts_file)
/ohos5.0/build/ohos/packages/
H A Dfs_process.py29 from hb.util.io_util import IoUtil
222 fs_cfg_list = IoUtil.read_yaml_file(fs_cfg_path)
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Decs_serializer.cpp99 struct IoUtil { struct
559 const IoUtil::CompatibilityInfo info { VERSION_MAJOR, VERSION_MINOR, type }; in WriteEntityCollection()
560 if (!IoUtil::WriteCompatibilityInfo(jsonOut, info)) { in WriteEntityCollection()
851 const auto minor = IoUtil::CompatibilityRange::IGNORE_VERSION; in ReadEntityCollection()
853 const IoUtil::CompatibilityRange validVersions[] { in ReadEntityCollection()
858 auto result = IoUtil::CheckCompatibility(jsonIn, validVersions); in ReadEntityCollection()
H A Dasset_loader.cpp48 struct IoUtil { struct
372 if (IoUtil::LoadTextFile(resolvedFile, textIn, fileManager_)) { in LoadJsonEntityCollection()