Home
last modified time | relevance | path

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

/base/startup/appspawn/modules/sandbox/
H A Dappspawn_sandbox.h149 uint32_t sandboxSwitch : 1; // "sandbox-switch": "ON", member
212 uint32_t sandboxSwitch : 1; member
H A Dappspawn_sandbox.c167 context->sandboxSwitch = 1; in GetSandboxContext()
201 context->sandboxSwitch = 1; in InitSandboxContext()
715 if (context->sandboxSwitch && sandbox->topSandboxSwitch) { in MountSandboxConfig()
885 APPSPAWN_LOGV("topSandboxSwitch %{public}d sandboxSwitch: %{public}d sandboxShared: %{public}d \n", in SandboxRootFolderCreate()
886 sandbox->topSandboxSwitch, context->sandboxSwitch, context->sandboxShared); in SandboxRootFolderCreate()
889 if (sandbox->topSandboxSwitch == 0 || context->sandboxSwitch == 0) { in SandboxRootFolderCreate()
H A Dsandbox_manager.c197 section->sandboxSwitch = 0; in InitSandboxSection()
258 APPSPAPWN_DUMP(" sandboxSwitch %{public}s", section->sandboxSwitch ? "true" : "false"); in DumpSandboxSection()
H A Dsandbox_load.c408 section->sandboxSwitch = GetBoolValueFromJsonObj(configs, "sandbox-switch", true); in ParseBaseConfig()
/base/startup/appspawn/test/unittest/app_spawn_standard_test/
H A Dapp_spawn_sandbox_new_test.cpp332 context->sandboxSwitch = 1; in TestGetSandboxContext()
998 ASSERT_EQ((sandboxNode->section.sandboxShared == 1) && (sandboxNode->section.sandboxSwitch == 1), 1); in HWTEST_F()
1094 ASSERT_EQ((sandboxNode->section.sandboxShared == 0) && (sandboxNode->section.sandboxSwitch == 1), 1); in HWTEST_F()
1131 ASSERT_EQ((sandboxNode->section.sandboxShared == 0) && (sandboxNode->section.sandboxSwitch == 1), 1); in HWTEST_F()
H A Dapp_spawn_sandbox_new_mount_test.cpp88 context->sandboxSwitch = 1; in TestGetSandboxContext()

Completed in 11 milliseconds