Home
last modified time | relevance | path

Searched refs:realPaths (Results 1 – 19 of 19) sorted by relevance

/ohos5.0/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()
/ohos5.0/base/customization/enterprise_device_management/services/edm_plugin/src/
H A Dinstall_plugin.cpp123 std::vector<std::string> realPaths; in OnSetPolicy() local
124 ErrCode initRet = InstallParamInit(param, reply, installParam, realPaths); in OnSetPolicy()
148 ErrCode ret = iBundleInstaller->StreamInstall(realPaths, installParam, callback); in OnSetPolicy()
174 AppExecFwk::InstallParam &installParam, std::vector<std::string> &realPaths) in InstallParamInit() argument
190 realPaths.emplace_back(realPath); in InstallParamInit()
/ohos5.0/base/customization/enterprise_device_management/test/unittest/interface/inner_api/proxy/
H A Dbundle_manager_proxy_test.cpp290 std::vector<std::string> realPaths; variable
292 ErrCode ret = bundleManagerProxy->WriteFileToStream(admin, hapFilePath, realPaths, errMessage);
306 std::vector<std::string> realPaths; variable
311 ErrCode ret = bundleManagerProxy->WriteFileToStream(admin, hapFilePath, realPaths, errMessage);
324 std::vector<std::string> realPaths; variable
329 ErrCode ret = bundleManagerProxy->WriteFileToStream(admin, hapFilePath, realPaths, errMessage);
404 std::vector<std::string> realPaths; variable
406 ErrCode ret = bundleManagerProxy->WriteFileToInner(reply, hapFilePaths, realPaths, retMsg);
422 std::vector<std::string> realPaths; variable
424 ErrCode ret = bundleManagerProxy->WriteFileToInner(reply, hapFilePaths, realPaths, retMsg);
/ohos5.0/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()
/ohos5.0/foundation/bundlemanager/bundle_framework/common/utils/src/
H A Dbundle_file_util.cpp78 …il::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()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/
H A Dbundle_installer_proxy.cpp379 std::vector<std::string> realPaths; in StreamInstall() local
380 if (!bundleFilePaths.empty() && !BundleFileUtil::CheckFilePath(bundleFilePaths, realPaths)) { in StreamInstall()
385 …eStreamInstaller> streamInstaller = CreateStreamInstaller(installParam, statusReceiver, realPaths); in StreamInstall()
393 for (const auto &path : realPaths) { in StreamInstall()
403 if (!realPaths.empty() && !installParam.verifyCodeParams.empty() && in StreamInstall()
404 (realPaths.size() != installParam.verifyCodeParams.size())) { in StreamInstall()
423 realPaths.clear(); in StreamInstall()
425 if (!BundleFileUtil::CheckFilePath(sharedBundleDir, realPaths)) { in StreamInstall()
430 for (const auto &path : realPaths) { in StreamInstall()
/ohos5.0/base/customization/enterprise_device_management/test/fuzztest/installplugin_fuzzer/
H A Dinstall_plugin_fuzzer.cpp57 std::vector<std::string> realPaths = { path }; in LLVMFuzzerTestOneInput() local
58 parcel.WriteStringVector(realPaths); in LLVMFuzzerTestOneInput()
/ohos5.0/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()
/ohos5.0/base/customization/enterprise_device_management/interfaces/inner_api/bundle_manager/src/
H A Dbundle_manager_proxy.cpp179 std::vector<std::string> realPaths; in Install() local
181 ErrCode res = WriteFileToStream(admin, hapFilePath, realPaths, errMessage); in Install()
195 data.WriteStringVector(realPaths); in Install()
/ohos5.0/base/customization/enterprise_device_management/services/edm_plugin/include/
H A Dinstall_plugin.h39 std::vector<std::string> &realPaths);
/ohos5.0/foundation/bundlemanager/bundle_framework/common/utils/include/
H A Dbundle_file_util.h27 …ol CheckFilePath(const std::vector<std::string> &bundlePaths, std::vector<std::string> &realPaths);
/ohos5.0/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()
/ohos5.0/foundation/filemanagement/dfs_service/services/cloudfiledaemon/src/fuse_manager/
H A Dfuse_manager.cpp1041 char *realPaths = realpath(cachePath.c_str(), nullptr); in SaveCacheToFile() local
1042 if (realPaths == nullptr) { in SaveCacheToFile()
1046 int fd = open(realPaths, O_RDWR); in SaveCacheToFile()
1047 free(realPaths); in SaveCacheToFile()
1281 char *realPaths = realpath(cachePath.c_str(), nullptr); in ReadCacheFile() local
1282 if (realPaths == nullptr) { in ReadCacheFile()
1286 int fd = open(realPaths, O_RDONLY); in ReadCacheFile()
1287 free(realPaths); in ReadCacheFile()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/quota/
H A Dquota_manager.cpp431 const std::string &sandboxPathStr, std::vector<std::string> &realPaths, in ConvertSandboxRealPath() argument
444 realPaths.emplace_back(physicalPath); in ConvertSandboxRealPath()
450 realPaths.emplace_back(physicalPath); in ConvertSandboxRealPath()
467 realPaths.emplace_back(physicalPath); in ConvertSandboxRealPath()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_util.cpp99 …il::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.cpp2454 std::vector<std::string> realPaths; in CheckAndParseHapFiles() local
2455 auto ret = BundleUtil::CheckFilePath(hapFilePathVec, realPaths); in CheckAndParseHapFiles()
2461 ret = bundleInstallChecker->CheckSysCap(realPaths); in CheckAndParseHapFiles()
2468 ret = bundleInstallChecker->CheckMultipleHapsSignInfo(realPaths, hapVerifyResults, true); in CheckAndParseHapFiles()
2481 realPaths, checkParam, hapVerifyResults, infos); in CheckAndParseHapFiles()
2512 std::vector<std::string> realPaths; in ParseHapFiles() local
2513 auto ret = BundleUtil::CheckFilePath(hapFilePathVec, realPaths); in ParseHapFiles()
2520 for (auto realPath : realPaths) { in ParseHapFiles()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_util.h52 …de CheckFilePath(const std::vector<std::string> &bundlePaths, std::vector<std::string> &realPaths);
/ohos5.0/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; variable
1329 ErrCode ret = deployer->ProcessBundleFilePaths(paths, realPaths);
1347 std::vector<std::string> realPaths; variable
1348 ErrCode ret = deployer->ProcessBundleFilePaths(paths, realPaths);
1366 std::vector<std::string> realPaths; variable
1367 ErrCode ret = deployer->ProcessBundleFilePaths(paths, realPaths);
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_manager_test/
H A Dbms_bundle_manager_test.cpp1396 std::vector<std::string> realPaths; variable
1398 bool res = BundleFileUtil::CheckFilePath(bundlePaths, realPaths);