Home
last modified time | relevance | path

Searched refs:bundle_path (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/build/hb/resolver/
H A Dindep_build_args_resolver.py66 bundle_path = ComponentUtil.search_bundle_file(target_arg.arg_value)
69 if not bundle_path:
72 build_executor.regist_flag('path', bundle_path)
74 part_name, bundle_path = ComponentUtil.get_component(os.getcwd())
77 build_executor.regist_flag('path', bundle_path)
84 bundle_path = ComponentUtil.search_bundle_file(arg.get("argDefault"))
85 if not bundle_path:
88 build_executor.regist_flag('path', bundle_path)
/ohos5.0/build/indep_configs/scripts/
H A Drefactor_hpm_bundle_json.py44 def _scan_dir_to_get_info(bundle_path): argument
47 for entry in os.scandir(bundle_path):
75 bundle_path = os.path.join(hpmcache_path, part_path[1:], 'bundle.json')
76 bundle_json = utils.get_json(bundle_path)
79 _out_bundle_json(bundle_json, bundle_path)
H A Dgenerate_components.py66 bundle_path = (hpm_cache_path +
68 return bundle_path
212 bundle_path = _get_bundle_path(hpm_cache_path, dependences_json, part_name)
213 bundle_json = utils.get_json(bundle_path)
/ohos5.0/base/security/code_signature/services/key_enable/src/
H A Dprofile_utils.rs435 let bundle_path = match profile_type { in create_bundle_path() localVariable
447 Ok(bundle_path) in create_bundle_path()
457 let bundle_path = create_bundle_path(&_bundle_name, profile_type)?; in enable_key_in_profile_internal() localVariable
458 info!(LOG_LABEL, "create bundle_path path {}!", @public(bundle_path)); in enable_key_in_profile_internal()
459 if !file_exists(&bundle_path) && create_file_path(&bundle_path).is_err() { in enable_key_in_profile_internal()
463 if change_default_mode_directory(&bundle_path).is_err() { in enable_key_in_profile_internal()
467 let filename = fmt_store_path(&bundle_path, PROFILE_STORE_TAIL); in enable_key_in_profile_internal()
488 let bundle_path = fmt_store_path(prefix, bundle_name); in process_remove_bundle() localVariable
490 if !file_exists(&bundle_path) { in process_remove_bundle()
494 let filename = fmt_store_path(&bundle_path, PROFILE_STORE_TAIL); in process_remove_bundle()
[all …]
/ohos5.0/build/hb/util/
H A Dcomponent_util.py46 found_bundle_file, bundle_path = _recurrent_search_bundle_file(path)
48 data = IoUtil.read_json_file(bundle_path)
55 found_bundle_file, bundle_path = _recurrent_search_bundle_file(path)
57 data = IoUtil.read_json_file(bundle_path)
58 return data['component']['name'], os.path.dirname(bundle_path)
/ohos5.0/build/tools/component_tools/static_check/bundle_check/
H A Dget_subsystem_with_component.py52 bundle_path = j.strip()
53 with open(bundle_path, 'rb') as bundle_file:
63 "Unknow. Please check %s" % bundle_path
64 ErrorInfo.g_component_path_empty.append(bundle_path)
H A Dbundle_json_check.py48 bundle_path = bundle_json_path.strip()
49 bundle = BundleJson(bundle_path)
63 item['path'] = bundle_path
/ohos5.0/base/web/webview/interfaces/kits/cj/src/
H A Dwebview_ffi.cpp67 const std::string& bundle_path = ctx->GetBundleCodeDir(); in FfiOHOSWebviewCtlInitializeWebEngine() local
68 NWebHelper::Instance().SetBundlePath(bundle_path); in FfiOHOSWebviewCtlInitializeWebEngine()
73 init web engine done, bundle_path: %{public}s", bundle_path.c_str()); in FfiOHOSWebviewCtlInitializeWebEngine()