Searched refs:sandboxSwitch (Results 1 - 6 of 6) sorted by relevance
/base/startup/appspawn/modules/sandbox/ |
H A D | appspawn_sandbox.h | 149 uint32_t sandboxSwitch : 1; // "sandbox-switch": "ON", member 212 uint32_t sandboxSwitch : 1; member
|
H A D | appspawn_sandbox.c | 167 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 D | sandbox_manager.c | 197 section->sandboxSwitch = 0; in InitSandboxSection() 258 APPSPAPWN_DUMP(" sandboxSwitch %{public}s", section->sandboxSwitch ? "true" : "false"); in DumpSandboxSection()
|
H A D | sandbox_load.c | 408 section->sandboxSwitch = GetBoolValueFromJsonObj(configs, "sandbox-switch", true); in ParseBaseConfig()
|
/base/startup/appspawn/test/unittest/app_spawn_standard_test/ |
H A D | app_spawn_sandbox_new_test.cpp | 332 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 D | app_spawn_sandbox_new_mount_test.cpp | 88 context->sandboxSwitch = 1;
in TestGetSandboxContext()
|
Completed in 11 milliseconds