Home
last modified time | relevance | path

Searched refs:realPaths (Results 1 - 15 of 15) sorted by relevance

/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundlefileutil_fuzzer/
H A Dbundlefileutil_fuzzer.cpp32 std::vector<std::string> realPaths; in DoSomethingInterestingWithMyAPI() local
33 realPaths.push_back(realPath); in DoSomethingInterestingWithMyAPI()
35 fileUtil.CheckFilePath(bundlePaths, realPaths); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/verify/
H A Dverify_manager_proxy.cpp74 std::vector<std::string> realPaths; in RemoveFiles() local
75 if (!BundleFileUtil::CheckFilePath(abcPaths, realPaths)) { in RemoveFiles()
80 for (const auto &path : realPaths) { in RemoveFiles()
/foundation/bundlemanager/bundle_framework/common/utils/src/
H A Dbundle_file_util.cpp78 bool BundleFileUtil::CheckFilePath(const std::vector<std::string> &bundlePaths, std::vector<std::string> &realPaths) in CheckFilePath() argument
97 realPaths.emplace_back(realPath); in CheckFilePath()
100 if (!GetHapFilesFromBundlePath(bundlePath, realPaths)) { in CheckFilePath()
112 realPaths.emplace_back(realPath); in CheckFilePath()
/foundation/bundlemanager/bundle_framework/common/utils/include/
H A Dbundle_file_util.h27 static bool CheckFilePath(const std::vector<std::string> &bundlePaths, std::vector<std::string> &realPaths);
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/
H A Dbundle_installer_proxy.cpp374 std::vector<std::string> realPaths; in StreamInstall() local
375 if (!bundleFilePaths.empty() && !BundleFileUtil::CheckFilePath(bundleFilePaths, realPaths)) { in StreamInstall()
387 for (const auto &path : realPaths) { in StreamInstall()
396 if (!realPaths.empty() && !installParam.verifyCodeParams.empty() && in StreamInstall()
397 (realPaths.size() != installParam.verifyCodeParams.size())) { in StreamInstall()
416 realPaths.clear(); in StreamInstall()
418 if (!BundleFileUtil::CheckFilePath(sharedBundleDir, realPaths)) { in StreamInstall()
423 for (const auto &path : realPaths) { in StreamInstall()
/foundation/filemanagement/dfs_service/utils/cloud_disk/src/
H A Dcloud_file_utils.cpp236 char *realPaths = realpath(realPath.c_str(), resolvedPath); in LocalWriteOpen() local
237 if (realPaths == NULL) { in LocalWriteOpen()
241 int fd = open(realPaths, O_RDONLY); in LocalWriteOpen()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/quickfixdeployer_fuzzer/
H A Dquickfixdeployer_fuzzer.cpp98 std::vector<std::string> realPaths; in DoSomethingInterestingWithMyAPI() local
99 quickFixDeployer.ProcessBundleFilePaths(bundleFilePaths, realPaths); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dhmp_bundle_installer.cpp227 std::vector<std::string> realPaths; in ParseHapFiles() local
228 auto ret = BundleUtil::CheckFilePath(hapFilePathVec, realPaths); in ParseHapFiles()
235 for (auto realPath : realPaths) { in ParseHapFiles()
H A Dbundle_util.cpp99 ErrCode BundleUtil::CheckFilePath(const std::vector<std::string> &bundlePaths, std::vector<std::string> &realPaths) in CheckFilePath() argument
119 if ((s.st_mode & S_IFDIR) && !GetHapFilesFromBundlePath(bundlePath, realPaths)) { in CheckFilePath()
125 realPaths.emplace_back(realPath); in CheckFilePath()
139 realPaths.emplace_back(realPath); in CheckFilePath()
H A Dbundle_mgr_service_event_handler.cpp3062 std::vector<std::string> realPaths; in CheckAndParseHapFiles() local
3063 auto ret = BundleUtil::CheckFilePath(hapFilePathVec, realPaths); in CheckAndParseHapFiles()
3069 ret = bundleInstallChecker->CheckSysCap(realPaths); in CheckAndParseHapFiles()
3076 ret = bundleInstallChecker->CheckMultipleHapsSignInfo(realPaths, hapVerifyResults); in CheckAndParseHapFiles()
3089 realPaths, checkParam, hapVerifyResults, infos); in CheckAndParseHapFiles()
3120 std::vector<std::string> realPaths; in ParseHapFiles() local
3121 auto ret = BundleUtil::CheckFilePath(hapFilePathVec, realPaths); in ParseHapFiles()
3128 for (auto realPath : realPaths) { in ParseHapFiles()
/foundation/filemanagement/dfs_service/services/cloudfiledaemon/src/fuse_manager/
H A Dfuse_manager.cpp1039 char *realPaths = realpath(cachePath.c_str(), nullptr); in SaveCacheToFile() local
1040 if (realPaths == nullptr) { in SaveCacheToFile()
1044 int fd = open(realPaths, O_RDWR); in SaveCacheToFile()
1045 free(realPaths); in SaveCacheToFile()
1280 char *realPaths = realpath(cachePath.c_str(), nullptr); in ReadCacheFile() local
1281 if (realPaths == nullptr) { in ReadCacheFile()
1285 int fd = open(realPaths, O_RDONLY); in ReadCacheFile()
1286 free(realPaths); in ReadCacheFile()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_util.h49 * @param realPaths Indicates the real paths of HAP files.
52 static ErrCode CheckFilePath(const std::vector<std::string> &bundlePaths, std::vector<std::string> &realPaths);
/foundation/filemanagement/storage_service/services/storage_daemon/quota/
H A Dquota_manager.cpp435 const std::string &sandboxPathStr, std::vector<std::string> &realPaths, in ConvertSandboxRealPath()
448 realPaths.emplace_back(physicalPath); in ConvertSandboxRealPath()
454 realPaths.emplace_back(physicalPath); in ConvertSandboxRealPath()
470 realPaths.emplace_back(physicalPath); in ConvertSandboxRealPath()
434 ConvertSandboxRealPath(const uint32_t userId, const std::string &bundleName, const std::string &sandboxPathStr, std::vector<std::string> &realPaths, std::map<std::string, std::string>& pathMap) ConvertSandboxRealPath() argument
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_quick_fix_test/
H A Dbms_bundle_quick_fix_test.cpp1328 std::vector<std::string> realPaths; in HWTEST_F() local
1329 ErrCode ret = deployer->ProcessBundleFilePaths(paths, realPaths); in HWTEST_F()
1347 std::vector<std::string> realPaths; in HWTEST_F() local
1348 ErrCode ret = deployer->ProcessBundleFilePaths(paths, realPaths); in HWTEST_F()
1366 std::vector<std::string> realPaths; in HWTEST_F() local
1367 ErrCode ret = deployer->ProcessBundleFilePaths(paths, realPaths); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_manager_test/
H A Dbms_bundle_manager_test.cpp1395 std::vector<std::string> realPaths; in HWTEST_F() local
1397 bool res = BundleFileUtil::CheckFilePath(bundlePaths, realPaths); in HWTEST_F()

Completed in 33 milliseconds