• Home
  • Raw
  • Download

Lines Matching refs:srcPath

381                                      const std::string &srcPath, const std::string &sandboxPath,  in DoDlpAppMountStrategy()  argument
402 ret = mount(srcPath.c_str(), sandboxPath.c_str(), fsType.c_str(), mountFlags, options); in DoDlpAppMountStrategy()
404 "failed %{public}d", srcPath.c_str(), sandboxPath.c_str(), errno); in DoDlpAppMountStrategy()
418 const std::string &srcPath, const std::string &sandboxPath, in HandleSpecialAppMount() argument
431 return DoDlpAppMountStrategy(appProperty, srcPath, sandboxPath, fsType, mountFlags); in HandleSpecialAppMount()
545 … std::string srcPath = ConvertToRealPath(appProperty, mntPoint[g_srcPath].get<std::string>()); in DoAllMntPointsMount() local
553 …int ret = HandleSpecialAppMount(appProperty, srcPath, sandboxPath, mountConfig.fsType, mountFlags); in DoAllMntPointsMount()
555 … ret = DoAppSandboxMountOnce(srcPath.c_str(), sandboxPath.c_str(), mountConfig.fsTypePoint, in DoAllMntPointsMount()
1171 std::string srcPath = hapPath.substr(0, pathIndex); in SetOverlayAppSandboxProperty() local
1172 if (mountedSrcSet.find(srcPath) != mountedSrcSet.end()) { in SetOverlayAppSandboxProperty()
1173 … APPSPAWN_LOGV("%{public}s have mounted before, no need to mount twice.", srcPath.c_str()); in SetOverlayAppSandboxProperty()
1177 auto bundleNameIndex = srcPath.find_last_of(g_fileSeparator); in SetOverlayAppSandboxProperty()
1178 … string destPath = sandboxOverlayPath + srcPath.substr(bundleNameIndex + 1, srcPath.length()); in SetOverlayAppSandboxProperty()
1179 int32_t retMount = DoAppSandboxMountOnce(srcPath.c_str(), destPath.c_str(), in SetOverlayAppSandboxProperty()
1186 mountedSrcSet.emplace(srcPath); in SetOverlayAppSandboxProperty()
1199 string srcPath = g_bundleResourceSrcPath; in SetBundleResourceAppSandboxProperty() local
1202 srcPath.c_str(), destPath.c_str(), nullptr, BASIC_MOUNT_FLAGS, nullptr); in SetBundleResourceAppSandboxProperty()