/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundlefileutil_fuzzer/ |
H A D | bundlefileutil_fuzzer.cpp | 32 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 D | verify_manager_proxy.cpp | 74 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 D | bundle_file_util.cpp | 78 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 D | bundle_file_util.h | 27 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 D | bundle_installer_proxy.cpp | 374 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 D | cloud_file_utils.cpp | 236 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 D | quickfixdeployer_fuzzer.cpp | 98 std::vector<std::string> realPaths; in DoSomethingInterestingWithMyAPI() local 99 quickFixDeployer.ProcessBundleFilePaths(bundleFilePaths, realPaths); in DoSomethingInterestingWithMyAPI()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | hmp_bundle_installer.cpp | 227 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 D | bundle_util.cpp | 99 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 D | bundle_mgr_service_event_handler.cpp | 3062 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 D | fuse_manager.cpp | 1039 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 D | bundle_util.h | 49 * @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 D | quota_manager.cpp | 435 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 D | bms_bundle_quick_fix_test.cpp | 1328 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 D | bms_bundle_manager_test.cpp | 1395 std::vector<std::string> realPaths; in HWTEST_F() local 1397 bool res = BundleFileUtil::CheckFilePath(bundlePaths, realPaths); in HWTEST_F()
|