Searched refs:topSandboxSwitch (Results 1 - 5 of 5) sorted by relevance
/base/startup/appspawn/modules/sandbox/ |
H A D | sandbox_manager.c | 455 sandbox->topSandboxSwitch = 0; in CreateAppSpawnSandbox() 457 sandbox->topSandboxSwitch = 0; in CreateAppSpawnSandbox() 474 APPSPAPWN_DUMP("Sandbox topSandboxSwitch: %{public}s", sandbox->topSandboxSwitch ? "true" : "false"); in DumpAppSpawnSandboxCfg()
|
H A D | appspawn_sandbox.h | 188 uint32_t topSandboxSwitch : 1; // "top-sandbox-switch": "ON", member
|
H A D | appspawn_sandbox.c | 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_load.c | 604 sandbox->topSandboxSwitch = GetBoolValueFromJsonObj(json, "top-sandbox-switch", true); in ParseGlobalSandboxConfig()
|
/base/startup/appspawn/test/unittest/app_spawn_standard_test/ |
H A D | app_spawn_sandbox_new_test.cpp | 942 ASSERT_EQ(sandbox->topSandboxSwitch == 1, 1); in HWTEST_F() 990 ASSERT_EQ(sandbox->topSandboxSwitch == 0, 1); // not set in HWTEST_F() 1037 ASSERT_EQ(sandbox->topSandboxSwitch == 1, 1); // not set, default value 1 in HWTEST_F() 1085 ASSERT_EQ(sandbox->topSandboxSwitch == 0, 1); // not set in HWTEST_F()
|
Completed in 10 milliseconds