Home
last modified time | relevance | path

Searched refs:MountAllGroup (Results 1 - 6 of 6) sorted by relevance

/base/startup/appspawn/test/unittest/app_spawn_standard_test/
H A Dapp_spawn_sandbox_new_mount_test.cpp248 int ret = MountAllGroup(nullptr, nullptr); in HWTEST_F()
263 ret = MountAllGroup(context, nullptr); in HWTEST_F()
265 ret = MountAllGroup(nullptr, config1); in HWTEST_F()
267 ret = MountAllGroup(context, config1); in HWTEST_F()
278 ret = MountAllGroup(context, config2); // gid count != dataGroupId in HWTEST_F()
289 ret = MountAllGroup(context, config3); // dir count != dataGroupId in HWTEST_F()
305 int ret = MountAllGroup(context, config1); // dataGroupIds is null in HWTEST_F()
314 ret = MountAllGroup(context, config2); // dataGroupIds is not Array in HWTEST_F()
331 int ret = MountAllGroup(context, config1); // gid is null in HWTEST_F()
341 ret = MountAllGroup(contex in HWTEST_F()
[all...]
H A Dapp_spawn_sandbox_test.cpp1172 int ret = OHOS::AppSpawn::SandboxUtils::MountAllGroup(appProperty, sandboxPrefix); in HWTEST_F()
/base/startup/appspawn/test/mock/
H A Dapp_spawn_stub.h64 int MountAllGroup(const SandboxContext *context, const cJSON *groups);
/base/startup/appspawn/modules/sandbox/
H A Dsandbox_utils.h74 static int32_t MountAllGroup(const AppSpawningCtx *appProperty, std::string &sandboxPackagePath);
H A Dsandbox_expand.c84 APPSPAWN_STATIC int MountAllGroup(const SandboxContext *context, const cJSON *groups) in MountAllGroup() function
90 APPSPAWN_LOGV("MountAllGroup falsg is isolated"); in MountAllGroup()
98 return -1, "MountAllGroup: invalid dataGroupIds"); in MountAllGroup()
99 APPSPAWN_CHECK(gids != NULL && cJSON_IsArray(gids), return -1, "MountAllGroup: invalid gids"); in MountAllGroup()
100 APPSPAWN_CHECK(dirs != NULL && cJSON_IsArray(dirs), return -1, "MountAllGroup: invalid dirs"); in MountAllGroup()
102 APPSPAWN_CHECK(count == cJSON_GetArraySize(gids), return -1, "MountAllGroup: sizes are not same"); in MountAllGroup()
103 APPSPAWN_CHECK(count == cJSON_GetArraySize(dirs), return -1, "MountAllGroup: sizes are not same"); in MountAllGroup()
105 APPSPAWN_LOGI("MountAllGroup: app: %{public}s, count: %{public}d", context->bundleName, count); in MountAllGroup()
108 APPSPAWN_CHECK(dirJson != NULL && cJSON_IsString(dirJson), return -1, "MountAllGroup: invalid dirJson"); in MountAllGroup()
110 APPSPAWN_CHECK(!CheckPath(libPhysicalPath), return -1, "MountAllGroup in MountAllGroup()
[all...]
H A Dsandbox_utils.cpp1193 ret = MountAllGroup(appProperty, sandboxPackagePath); in SetCommonAppSandboxProperty()
1282 int32_t SandboxUtils::MountAllGroup(const AppSpawningCtx *appProperty, std::string &sandboxPackagePath) in MountAllGroup() function in OHOS::SandboxUtils
1293 "MountAllGroup: json parse failed"); in MountAllGroup()
1299 && dataGroupIds.size() == dirs.size(), return -1, "MountAllGroup: value is not arrary or sizes are not same"); in MountAllGroup()
1300 APPSPAWN_LOGI("MountAllGroup: app = %{public}s, cnt = %{public}lu", in MountAllGroup()
1305 return -1, "MountAllGroup: element type error"); in MountAllGroup()
1308 APPSPAWN_CHECK(!CheckPath(libPhysicalPath), return -1, "MountAllGroup: path error"); in MountAllGroup()
1311 APPSPAWN_CHECK(lastPathSplitPos != std::string::npos, return -1, "MountAllGroup: path error"); in MountAllGroup()

Completed in 8 milliseconds