Lines Matching refs:string

20 #include <string>
43 static std::set<std::string> GetMountPermissionNames();
44 static std::string GetExtraInfoByType(const AppSpawningCtx *appProperty, const std::string &type);
47 std::string optionsPoint;
48 std::string fsType;
49 std::string sandboxPath;
72 std::string &sandboxPackagePath);
73 static int32_t MountAllHsp(const AppSpawningCtx *appProperty, std::string &sandboxPackagePath);
74 static int32_t MountAllGroup(const AppSpawningCtx *appProperty, std::string &sandboxPackagePath);
75 static int32_t DoSandboxRootFolderCreateAdapt(std::string &sandboxPackagePath);
77 std::string &sandboxPackagePath);
78 static void DoSandboxChmod(nlohmann::json jsonConfig, std::string &sandboxRoot);
80 nlohmann::json &appConfig, const char *typeName, const std::string &section = "app-base");
82 static std::string ConvertToRealPath(const AppSpawningCtx *appProperty, std::string path);
83 static std::string ConvertToRealPathWithPermission(const AppSpawningCtx *appProperty, std::string path);
84 static std::string GetSbxPathByConfig(const AppSpawningCtx *appProperty, nlohmann::json &config);
87 static bool CheckBundleNameForPrivate(const std::string &bundleName);
89 static unsigned long GetMountFlagsFromConfig(const std::vector<std::string> &vec);
95 std::string &sandboxPackagePath);
97 std::string &sandboxPackagePath);
99 std::string &sandboxPackagePath);
101 std::string &sandboxPackagePath);
108 const char* permissionName, const std::string &section);
111 static int32_t SetSandboxProperty(AppSpawningCtx *appProperty, std::string &sandboxPackagePath);
112 static int32_t ChangeCurrentDir(std::string &sandboxPackagePath, const std::string &bundleName,
114 static int32_t GetMountPermissionFlags(const std::string permissionName);
117 static std::string GetSandboxFsType(nlohmann::json &config);
118 static std::string GetSandboxOptions(const AppSpawningCtx *appProperty, nlohmann::json &config);
119 static std::string GetSandboxPath(const AppSpawningCtx *appProperty, nlohmann::json &mntPoint,
120 const std::string &section, std::string sandboxRoot);
121 static void GetSandboxMountConfig(const AppSpawningCtx *appProperty, const std::string &section,
124 static void MountDevShmPath(std::string &sandboxPath);
131 static bool GetJsonObjFromJson(nlohmann::json &jsonObj, const std::string &jsonPath);
132 static bool GetStringFromJson(const nlohmann::json &json, const std::string &key, std::string &value);