Home
last modified time | relevance | path

Searched refs:mountConfig (Results 1 - 3 of 3) sorted by relevance

/base/startup/appspawn/test/unittest/app_spawn_standard_test/
H A Dapp_spawn_sandbox_test.cpp1277 OHOS::AppSpawn::SandboxUtils::SandboxMountConfig mountConfig; in HWTEST_F() local
1280 OHOS::AppSpawn::SandboxUtils::GetSandboxMountConfig(appProperty, section, j_secondConfig, mountConfig); in HWTEST_F()
1281 int ret = strcmp(mountConfig.fsType.c_str(), "sharefs"); in HWTEST_F()
1311 OHOS::AppSpawn::SandboxUtils::SandboxMountConfig mountConfig; in HWTEST_F() local
1314 OHOS::AppSpawn::SandboxUtils::GetSandboxMountConfig(appProperty, section, j_secondConfig, mountConfig); in HWTEST_F()
1315 int ret = strcmp(mountConfig.fsType.c_str(), "sharefs"); in HWTEST_F()
/base/startup/appspawn/modules/sandbox/
H A Dsandbox_utils.cpp751 nlohmann::json &mntPoint, SandboxMountConfig &mountConfig) in GetSandboxMountConfig()
754 mountConfig.optionsPoint = GetSandboxOptions(appProperty, mntPoint); in GetSandboxMountConfig()
755 mountConfig.fsType = GetSandboxFsType(mntPoint); in GetSandboxMountConfig()
757 mountConfig.fsType = (mntPoint.find(g_fsType) != mntPoint.end()) ? mntPoint[g_fsType].get<std::string>() : ""; in GetSandboxMountConfig()
758 mountConfig.optionsPoint = ""; in GetSandboxMountConfig()
810 SandboxMountConfig mountConfig = {0}; in DoAllMntPointsMount() local
811 GetSandboxMountConfig(appProperty, section, mntPoint, mountConfig); in DoAllMntPointsMount()
816 int ret = HandleSpecialAppMount(appProperty, srcPath, sandboxPath, mountConfig.fsType, mountFlags); in DoAllMntPointsMount()
818 ret = DoAppSandboxMountOnce(srcPath.c_str(), sandboxPath.c_str(), mountConfig.fsType.c_str(), in DoAllMntPointsMount()
819 mountFlags, mountConfig in DoAllMntPointsMount()
750 GetSandboxMountConfig(const AppSpawningCtx *appProperty, const std::string &section, nlohmann::json &mntPoint, SandboxMountConfig &mountConfig) GetSandboxMountConfig() argument
[all...]
H A Dsandbox_utils.h122 nlohmann::json &mntPoint,SandboxMountConfig &mountConfig);

Completed in 6 milliseconds