Home
last modified time | relevance | path

Searched refs:libPhysicalPath (Results 1 – 3 of 3) sorted by relevance

/base/startup/appspawn/modules/sandbox/
Dsandbox_expand.c78 static inline char *GetLastPath(const char *libPhysicalPath) in GetLastPath() argument
80 char *tmp = GetLastStr(libPhysicalPath, "/"); in GetLastPath()
103 const char *libPhysicalPath = cJSON_GetStringValue(dirJson); in MountAllGroup() local
104 APPSPAWN_CHECK(!CheckPath(libPhysicalPath), return -1, "MountAllGroup: path error"); in MountAllGroup()
106 char *dataGroupUuid = GetLastPath(libPhysicalPath); in MountAllGroup()
110 …APPSPAWN_LOGV("MountAllGroup src: '%{public}s' =>'%{public}s'", libPhysicalPath, context->buffer[0… in MountAllGroup()
113 …MountArg mountArg = {libPhysicalPath, context->buffer[0].buffer, NULL, MS_REC | MS_BIND, NULL, MS_… in MountAllGroup()
Dsandbox_utils.cpp1106 …std::string libPhysicalPath = g_physicalAppInstallPath + libBundleName + "/" + libVersion + "/" + … in MountAllHsp() local
1108 …ret = DoAppSandboxMountOnce(libPhysicalPath.c_str(), mntPath.c_str(), "", BASIC_MOUNT_FLAGS, nullp… in MountAllHsp()
1156 std::string libPhysicalPath = dirs[i]; in MountAllGroup() local
1157 APPSPAWN_CHECK(!CheckPath(libPhysicalPath), return -1, "MountAllGroup: path error"); in MountAllGroup()
1159 size_t lastPathSplitPos = libPhysicalPath.find_last_of(g_fileSeparator); in MountAllGroup()
1162 std::string dataGroupUuid = libPhysicalPath.substr(lastPathSplitPos + 1); in MountAllGroup()
1164 …ret = DoAppSandboxMountOnce(libPhysicalPath.c_str(), mntPath.c_str(), "", BASIC_MOUNT_FLAGS, nullp… in MountAllGroup()
/base/startup/appspawn/util/src/
Dsandbox_utils.cpp1023 …std::string libPhysicalPath = g_physicalAppInstallPath + libBundleName + "/" + libVersion + "/" + … in MountAllHsp() local
1025 …ret = DoAppSandboxMountOnce(libPhysicalPath.c_str(), mntPath.c_str(), "", BASIC_MOUNT_FLAGS, nullp… in MountAllHsp()
1073 std::string libPhysicalPath = dirs[i]; in MountAllGroup() local
1074 APPSPAWN_CHECK(!CheckPath(libPhysicalPath), return -1, "MountAllGroup: path error"); in MountAllGroup()
1076 size_t lastPathSplitPos = libPhysicalPath.find_last_of(g_fileSeparator); in MountAllGroup()
1079 std::string dataGroupUuid = libPhysicalPath.substr(lastPathSplitPos + 1); in MountAllGroup()
1081 …ret = DoAppSandboxMountOnce(libPhysicalPath.c_str(), mntPath.c_str(), "", BASIC_MOUNT_FLAGS, nullp… in MountAllGroup()