/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_install_system_test/ |
H A D | bms_install_hap_so_test.cpp | 231 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 D | bms_install_external_hsp_so_test.cpp | 132 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 D | bms_install_system_test.cpp | 149 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 D | bundle_file_util.h | 26 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 D | bundle_file_util.cpp | 48 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 D | bundlefileutil_fuzzer.cpp | 34 fileUtil.CheckFilePath(bundlePath, realPath); in DoSomethingInterestingWithMyAPI() 35 fileUtil.CheckFilePath(bundlePaths, realPaths); in DoSomethingInterestingWithMyAPI()
|
/foundation/communication/netstack/frameworks/native/tls_socket/include/ |
H A D | tls_utils.h | 29 bool CheckFilePath(const std::string &fileName, std::string &realPath);
|
/foundation/communication/netstack/frameworks/native/tls_socket/src/ |
H A D | tls_utils.cpp | 33 bool CheckFilePath(const std::string &fileName, std::string &realPath) in CheckFilePath() function
|
H A D | tls_key.cpp | 172 if (!CheckFilePath(fileName, realPath)) { in DecodeDer() 253 if (!CheckFilePath(fileName, realPath)) { in DecodePem()
|
H A D | tls_certificate.cpp | 158 if (!CheckFilePath(data, realPath)) { in CertificateFromDer()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | bundle_util.h | 45 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 D | verify_manager_proxy.cpp | 75 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 D | bundle_installer_proxy.cpp | 375 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 D | bundle_util.cpp | 71 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 D | hmp_bundle_installer.cpp | 228 auto ret = BundleUtil::CheckFilePath(hapFilePathVec, realPaths); in ParseHapFiles()
|
/foundation/communication/netmanager_base/services/netmanagernative/src/manager/ |
H A D | interface_manager.cpp | 66 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 D | net_stats_database_helper.cpp | 40 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 D | net_policy_file.cpp | 29 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 D | mock_netsys_native_client.cpp | 60 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 D | http_client_task.cpp | 56 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 D | extend_resource_manager_proxy.cpp | 304 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 D | quick_fix_manager_proxy.cpp | 219 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 D | websocket_exec.cpp | 693 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 D | inner_shared_bundle_installer.cpp | 53 result = BundleUtil::CheckFilePath({sharedBundlePath_}, inBundlePaths); in ParseFiles()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/app_service_fwk/ |
H A D | app_service_fwk_installer.cpp | 383 ErrCode result = BundleUtil::CheckFilePath(hspPaths, checkedHspPaths); in CheckAndParseFiles()
|