Home
last modified time | relevance | path

Searched refs:CheckFilePath (Results 1 - 25 of 31) sorted by relevance

12

/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_install_system_test/
H A Dbms_install_hap_so_test.cpp231 bool CheckFilePath(const std::string &checkFilePath) const;
335 bool BmsInstallHapSoTest::CheckFilePath(const std::string &checkFilePath) const in CheckFilePath() function in OHOS::AppExecFwk::BmsInstallHapSoTest
425 bool ret = CheckFilePath(CODE_ROOT_PATH + BUNDLE_NAME1 + LIBS); in HWTEST_F()
427 ret = CheckFilePath(CODE_ROOT_PATH + BUNDLE_NAME1 + MODULE_NAME + LIBS); in HWTEST_F()
449 bool ret = CheckFilePath(CODE_ROOT_PATH + BUNDLE_NAME2 + LIBS); in HWTEST_F()
451 ret = CheckFilePath(CODE_ROOT_PATH + BUNDLE_NAME2 + MODULE_NAME + LIBS); in HWTEST_F()
473 bool ret = CheckFilePath(CODE_ROOT_PATH + BUNDLE_NAME3 + LIBS); in HWTEST_F()
475 ret = CheckFilePath(CODE_ROOT_PATH + BUNDLE_NAME3 + MODULE_NAME + LIBS); in HWTEST_F()
497 bool ret = CheckFilePath(CODE_ROOT_PATH + BUNDLE_NAME4 + LIBS); in HWTEST_F()
499 ret = CheckFilePath(CODE_ROOT_PAT in HWTEST_F()
[all...]
H A Dbms_install_external_hsp_so_test.cpp132 bool CheckFilePath(const std::string &checkFilePath) const;
206 bool BmsInstallExternalHspSoTest::CheckFilePath(const std::string &checkFilePath) const in CheckFilePath() function in OHOS::AppExecFwk::BmsInstallExternalHspSoTest
263 bool ret = CheckFilePath(CODE_ROOT_PATH + BUNDLE_NAME_1 + VERSION + LIBS); in HWTEST_F()
265 ret = CheckFilePath(CODE_ROOT_PATH + BUNDLE_NAME_1 + VERSION + FEATURE_MODULE_NAME1 + LIBS); in HWTEST_F()
284 bool ret = CheckFilePath(CODE_ROOT_PATH + BUNDLE_NAME_1 + VERSION + LIBS); in HWTEST_F()
286 ret = CheckFilePath(CODE_ROOT_PATH + BUNDLE_NAME_1 + VERSION + FEATURE_MODULE_NAME2 + LIBS); in HWTEST_F()
305 bool ret = CheckFilePath(CODE_ROOT_PATH + BUNDLE_NAME_1 + VERSION + LIBS); in HWTEST_F()
307 ret = CheckFilePath(CODE_ROOT_PATH + BUNDLE_NAME_1 + VERSION + FEATURE_MODULE_NAME3 + LIBS); in HWTEST_F()
326 bool ret = CheckFilePath(CODE_ROOT_PATH + BUNDLE_NAME_1 + VERSION + LIBS); in HWTEST_F()
328 ret = CheckFilePath(CODE_ROOT_PAT in HWTEST_F()
[all...]
H A Dbms_install_system_test.cpp149 bool CheckFilePath(const std::string &checkFilePath) const;
331 bool BmsInstallSystemTest::CheckFilePath(const std::string &checkFilePath) const in CheckFilePath() function in OHOS::AppExecFwk::BmsInstallSystemTest
346 EXPECT_TRUE(CheckFilePath(CODE_ROOT_PATH + bundleName + "/" + modulePackage + "/config.json")); in CheckInstallIsSuccess()
349 EXPECT_TRUE(CheckFilePath(DATA_ROOT_PATH + bundleName + "/cache")); in CheckInstallIsSuccess()
350 EXPECT_TRUE(CheckFilePath(DATA_ROOT_PATH + bundleName + "/files")); in CheckInstallIsSuccess()
351 EXPECT_TRUE(CheckFilePath(DATA_ROOT_PATH + bundleName + "/sharedPreference")); in CheckInstallIsSuccess()
352 EXPECT_TRUE(CheckFilePath(DATA_ROOT_PATH + bundleName + "/database")); in CheckInstallIsSuccess()
355 EXPECT_TRUE(CheckFilePath(strDataPath + "shared")); in CheckInstallIsSuccess()
356 EXPECT_TRUE(CheckFilePath(strDataPath + abilityName)); in CheckInstallIsSuccess()
357 EXPECT_TRUE(CheckFilePath(strDataPat in CheckInstallIsSuccess()
[all...]
/foundation/bundlemanager/bundle_framework/common/utils/include/
H A Dbundle_file_util.h26 static bool CheckFilePath(const std::string &bundlePath, std::string &realPath);
27 static bool CheckFilePath(const std::vector<std::string> &bundlePaths, std::vector<std::string> &realPaths);
/foundation/bundlemanager/bundle_framework/common/utils/src/
H A Dbundle_file_util.cpp48 bool BundleFileUtil::CheckFilePath(const std::string &bundlePath, std::string &realPath) in CheckFilePath() function in OHOS::AppExecFwk::BundleFileUtil
78 bool BundleFileUtil::CheckFilePath(const std::vector<std::string> &bundlePaths, std::vector<std::string> &realPaths) in CheckFilePath() function in OHOS::AppExecFwk::BundleFileUtil
95 if (CheckFilePath(bundlePaths.front(), realPath)) { in CheckFilePath()
109 if (!CheckFilePath(bundlePath, realPath)) { in CheckFilePath()
187 if (!CheckFilePath(hapFilePath, realPath)) { in GetHapFilesFromBundlePath()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundlefileutil_fuzzer/
H A Dbundlefileutil_fuzzer.cpp34 fileUtil.CheckFilePath(bundlePath, realPath); in DoSomethingInterestingWithMyAPI()
35 fileUtil.CheckFilePath(bundlePaths, realPaths); in DoSomethingInterestingWithMyAPI()
/foundation/communication/netstack/frameworks/native/tls_socket/include/
H A Dtls_utils.h29 bool CheckFilePath(const std::string &fileName, std::string &realPath);
/foundation/communication/netstack/frameworks/native/tls_socket/src/
H A Dtls_utils.cpp33 bool CheckFilePath(const std::string &fileName, std::string &realPath) in CheckFilePath() function
H A Dtls_key.cpp172 if (!CheckFilePath(fileName, realPath)) { in DecodeDer()
253 if (!CheckFilePath(fileName, realPath)) { in DecodePem()
H A Dtls_certificate.cpp158 if (!CheckFilePath(data, realPath)) { in CertificateFromDer()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_util.h45 static ErrCode CheckFilePath(const std::string &bundlePath, std::string &realPath);
52 static ErrCode CheckFilePath(const std::vector<std::string> &bundlePaths, std::vector<std::string> &realPaths);
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/verify/
H A Dverify_manager_proxy.cpp75 if (!BundleFileUtil::CheckFilePath(abcPaths, realPaths)) { in RemoveFiles()
76 APP_LOGE("RemoveFiles CheckFilePath failed"); in RemoveFiles()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/
H A Dbundle_installer_proxy.cpp375 if (!bundleFilePaths.empty() && !BundleFileUtil::CheckFilePath(bundleFilePaths, realPaths)) { in StreamInstall()
418 if (!BundleFileUtil::CheckFilePath(sharedBundleDir, realPaths)) { in StreamInstall()
618 if (param.first.empty() || !BundleFileUtil::CheckFilePath(param.second, realPath)) { in CopySignatureFileToService()
619 LOG_E(BMS_TAG_INSTALLER, "CheckFilePath signature file dir %{public}s failed", param.second.c_str()); in CopySignatureFileToService()
646 if (param.first.empty() || !BundleFileUtil::CheckFilePath(param.second, realPath)) { in CopyPgoFileToService()
647 LOG_W(BMS_TAG_INSTALLER, "CheckFilePath pgo file path %{public}s failed", param.second.c_str()); in CopyPgoFileToService()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_util.cpp71 ErrCode BundleUtil::CheckFilePath(const std::string &bundlePath, std::string &realPath) in CheckFilePath() function in OHOS::AppExecFwk::BundleUtil
99 ErrCode BundleUtil::CheckFilePath(const std::vector<std::string> &bundlePaths, std::vector<std::string> &realPaths) in CheckFilePath() function in OHOS::AppExecFwk::BundleUtil
124 if ((s.st_mode & S_IFREG) && (ret = CheckFilePath(bundlePaths.front(), realPath)) == ERR_OK) { in CheckFilePath()
135 ret = CheckFilePath(bundlePath, realPath); in CheckFilePath()
257 if (CheckFilePath(hapFilePath, realPath) != ERR_OK) { in GetHapFilesFromBundlePath()
H A Dhmp_bundle_installer.cpp228 auto ret = BundleUtil::CheckFilePath(hapFilePathVec, realPaths); in ParseHapFiles()
/foundation/communication/netmanager_base/services/netmanagernative/src/manager/
H A Dinterface_manager.cpp66 bool CheckFilePath(const std::string &fileName, std::string &realPath) in CheckFilePath() function
91 if (!CheckFilePath(mtuPath, realPath)) { in GetMtu()
/foundation/communication/netmanager_base/services/netstatsmanager/src/
H A Dnet_stats_database_helper.cpp40 bool CheckFilePath(const std::string &fileName) in CheckFilePath() function
59 if (!CheckFilePath(path)) { in NetStatsDatabaseHelper()
/foundation/communication/netmanager_base/services/netpolicymanager/src/core/
H A Dnet_policy_file.cpp29 bool CheckFilePath(const std::string &fileName, std::string &realPath) in CheckFilePath() function
63 if (!CheckFilePath(fileName, realPath)) { in ReadFile()
/foundation/communication/netmanager_base/services/netsyscontroller/src/
H A Dmock_netsys_native_client.cpp60 bool CheckFilePath(const std::string &fileName, std::string &realPath) in CheckFilePath() function
235 if (!CheckFilePath(trafficPath, realPath)) { in GetInterfaceTrafficByType()
/foundation/communication/netstack/frameworks/native/http/http_client/
H A Dhttp_client_task.cpp56 bool CheckFilePath(const std::string &fileName, std::string &realPath) in CheckFilePath() function
267 if (!CheckFilePath(filePath_, realPath)) { in SetUploadOptions()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/extend_resource/
H A Dextend_resource_manager_proxy.cpp304 if (!BundleFileUtil::CheckFilePath(sourceFiles, filePaths)) { in CopyFiles()
305 APP_LOGE("CopyFiles CheckFilePath failed"); in CopyFiles()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/quick_fix/
H A Dquick_fix_manager_proxy.cpp219 if (!BundleFileUtil::CheckFilePath(sourceFiles, hqfFilePaths)) { in CopyFiles()
220 LOG_E(BMS_TAG_DEFAULT, "CopyFiles CheckFilePath failed"); in CopyFiles()
/foundation/communication/netstack/frameworks/js/napi/websocket/websocket_exec/src/
H A Dwebsocket_exec.cpp693 static bool CheckFilePath(std::string &path) in CheckFilePath() function
707 if (!CheckFilePath(context->caPath_)) { in FillCaPath()
722 if (!CheckFilePath(context->clientCert_) || !realpath(context->clientKey_.Data(), realKeyPath)) { in FillCaPath()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/shared/
H A Dinner_shared_bundle_installer.cpp53 result = BundleUtil::CheckFilePath({sharedBundlePath_}, inBundlePaths); in ParseFiles()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/app_service_fwk/
H A Dapp_service_fwk_installer.cpp383 ErrCode result = BundleUtil::CheckFilePath(hspPaths, checkedHspPaths); in CheckAndParseFiles()

Completed in 230 milliseconds

12