Lines Matching refs:srcPath
365 const std::string &srcPath, const std::string &sandboxPath, in DoDlpAppMountStrategy() argument
383 ret = mount(srcPath.c_str(), sandboxPath.c_str(), fsType.c_str(), mountFlags, options); in DoDlpAppMountStrategy()
385 "failed %{public}d", srcPath.c_str(), sandboxPath.c_str(), errno); in DoDlpAppMountStrategy()
399 const std::string &srcPath, const std::string &sandboxPath, in HandleSpecialAppMount() argument
410 return DoDlpAppMountStrategy(appProperty, srcPath, sandboxPath, fsType, mountFlags); in HandleSpecialAppMount()
458 … std::string srcPath = ConvertToRealPath(appProperty, mntPoint[g_srcPath].get<std::string>()); in DoAllMntPointsMount() local
467 int ret = HandleSpecialAppMount(appProperty, srcPath, sandboxPath, fsType, mountFlags); in DoAllMntPointsMount()
469 ret = DoAppSandboxMountOnce(srcPath.c_str(), sandboxPath.c_str(), fsTypePoint, in DoAllMntPointsMount()
1024 std::string srcPath = hapPath.substr(0, pathIndex); in SetOverlayAppSandboxProperty() local
1025 if (mountedSrcSet.find(srcPath) != mountedSrcSet.end()) { in SetOverlayAppSandboxProperty()
1026 … APPSPAWN_LOGV("%{public}s have mounted before, no need to mount twice.", srcPath.c_str()); in SetOverlayAppSandboxProperty()
1030 auto bundleNameIndex = srcPath.find_last_of(g_fileSeparator); in SetOverlayAppSandboxProperty()
1031 … string destPath = sandboxOverlayPath + srcPath.substr(bundleNameIndex + 1, srcPath.length()); in SetOverlayAppSandboxProperty()
1032 int32_t retMount = DoAppSandboxMountOnce(srcPath.c_str(), destPath.c_str(), in SetOverlayAppSandboxProperty()
1039 mountedSrcSet.emplace(srcPath); in SetOverlayAppSandboxProperty()