Home
last modified time | relevance | path

Searched refs:exists (Results 1 - 25 of 49) sorted by relevance

12

/base/update/packaging_tools/test/
H A Dtest_build_update.py53 if not os.path.exists("./output_test"):
79 if not os.path.exists("./output_test"):
106 if not os.path.exists("./output_test"):
132 if not os.path.exists("./output_test"):
156 if not os.path.exists("./output_test"):
182 if not os.path.exists("./output_test"):
185 if os.path.exists(output):
292 if not os.path.exists("./output_test"):
303 pkg_re = os.path.exists(output)
317 if not os.path.exists("
[all...]
H A Dtest_utils.py72 self.assertEqual((type(check_re[0]), os.path.exists(check_re[1])),
93 if os.path.exists("./updater_specified_config_repeats.xml"):
106 clear_re = os.path.exists('test.file')
125 if os.path.exists(VERSION_MBN_PATH):
141 if os.path.exists(VERSION_MBN_PATH):
143 if os.path.exists(BOARD_LIST_PATH):
158 if os.path.exists("./partition_file_conversion_failed.xml"):
H A Dcreate_package_data.py91 if not os.path.exists(package_name_path):
117 if not os.path.exists(updater_config_path):
195 if os.path.exists("./%s" % package_name):
197 if os.path.exists("./%s.zip" % package_name):
199 if os.path.exists("./partition_file.xml"):
201 if os.path.exists("./rsa_private_key2048.pem"):
H A Dtest_update_package.py123 if os.path.exists(VERSION_MBN_PATH):
125 if os.path.exists(BOARD_LIST_PATH):
H A Dtest_script_generator.py121 if os.path.exists(file_path):
/base/startup/init/scripts/
H A Dparam_cfg_to_code.py148 if not os.path.exists(out_dir):
154 if not os.path.exists(source):
160 if os.path.exists(dst):
/base/update/packaging_tools/
H A Dbuild_module_package.py126 the update package path exists.
131 if os.path.exists(arg):
396 if os.path.exists(img_file_path):
403 if os.path.exists(pub_key_file_path):
412 if not os.path.exists(align_package):
419 if os.path.exists(signed_package):
431 if os.path.exists(align_package):
433 if os.path.exists(unsigned_package):
H A Dupdate_package.py354 if not os.path.exists(update_exe_path):
380 if os.path.exists(signed_package):
506 if os.path.exists(update_package_path):
511 if os.path.exists(update_package_path):
535 if not os.path.exists(file_path):
H A Dutils.py284 if os.path.exists(mbn_path):
298 if os.path.exists(xml_path):
373 if os.path.exists(xml_path):
566 if make_dir_path is not None and os.path.exists(make_dir_path):
570 os.path.exists(update_package_file_path):
585 if not os.path.exists(file_path):
H A Dbuild_update.py97 if arg is not None and not os.path.exists(arg):
121 the update package path exists.
126 if os.path.exists(arg):
153 the update package path exists.
341 if os.path.exists(xml_path):
482 if not os.path.exists(image_path):
629 if not os.path.exists(each_src_map_path):
632 if not os.path.exists(each_tgt_map_path):
/base/hiviewdfx/hiview/build/
H A Dcopy_plugin_config.py23 if not os.path.exists(dest_dir):
H A Dgen_plugin_build.py30 if not os.path.exists(input_file):
43 if not os.path.exists(file_dir):
59 if not os.path.exists(gn_path):
/base/update/updater/services/script/
H A Dgenerate_yacc.py32 if not os.path.exists(yacc_path):
/base/security/asset/services/db_key_operator/src/
H A Dlib.rs40 match secret_key.exists() { in generate_secret_key_if_needed()
44 match secret_key.exists() { in generate_secret_key_if_needed()
94 /// Check whether the database key exists.
99 /// Read db key cipher and decrypt if the db key cipher file exists, generate db_key if not.
/base/security/asset/services/crypto_manager/src/
H A Dsecret_key.rs99 if key.exists()? { in get_existing_key_alias()
100 logi!("[INFO][{access_type}]-typed secret key with v3 alias exists."); in get_existing_key_alias()
111 if key.exists()? { in get_existing_key_alias()
112 logi!("[INFO][{access_type}]-typed secret key with v2 alias exists."); in get_existing_key_alias()
124 if key.exists()? { in get_existing_key_alias()
125 logi!("[INFO][{access_type}]-typed secret key with v1 alias exists."); in get_existing_key_alias()
181 loge!("[FATAL]Can not determine whether [{access_type}]-typed secret key exists, err is {}", e); in rename_key_alias()
218 /// Check whether the secret key exists.
219 pub fn exists(&self) -> Result<bool> { in exists() functions
/base/hiviewdfx/hidumper/test/scripts/testModule/
H A Dutils.py30 assert os.path.exists(filePath), f"The file {filePath} does not exist."
40 assert os.path.exists(zipFilePath), f"The file {zipFilePath} does not exist."
/base/update/updater/services/ui/view/component/
H A Dimg_view_adapter.cpp111 if (Fs::exists(dir_)) { in GetRealImgPath()
124 if (!Fs::exists(newPath)) { in GetRealImgPath()
/base/security/selinux_adapter/scripts/
H A Dbuild_contexts.py170 if os.path.exists(contexts_file + ".bin"):
242 if os.path.exists(contexts_file + ".bin"):
302 if (os.path.exists(path)):
305 print("following path not exists!! {}".format(path))
H A Dbuild_policy_api.py308 if (os.path.exists(path)):
311 print("following path not exists!! {}".format(path))
389 if not os.path.exists(output_path):
425 if not os.path.exists(output_path):
431 if not os.path.exists(compatible_dir):
549 if not os.path.exists(output_path):
H A Dbuild_ignore_cfg.py48 if os.path.exists(path):
51 raise Exception(f"following path not exists!! {path}")
/base/security/code_signature/services/key_enable/src/
H A Dfile_utils.rs75 Path::new(file_path).exists() in file_exists()
/base/web/webview/ohos_interface/ohos_glue/scripts/
H A Dsystem_util.py61 return os.path.exists(name)
/base/global/timezone/tool/update_tool/
H A Ddownload_iana.py101 if not os.path.exists(download_path):
/base/security/selinux_adapter/scripts/selinux_check/
H A Dselinux_check_main.py62 if (os.path.exists(path)):
65 print("following path not exists {}".format(path))
/base/notification/distributed_notification_service/services/ans/src/common/
H A Daes_gcm_helper.cpp96 if (std::filesystem::exists(keyPath)) { in GenerateKey()
113 if (!std::filesystem::exists(keyPath.parent_path())) { in GenerateKey()

Completed in 15 milliseconds

12