/ohos5.0/base/startup/appspawn/test/unittest/app_spawn_standard_test/ |
H A D | app_spawn_sandboxmgr_test.cpp | 56 AppSpawnSandboxCfg *sandbox = GetAppSpawnSandbox(mgr); variable 86 AppSpawnSandboxCfg *sandbox = CreateAppSpawnSandbox(); variable 108 AppSpawnSandboxCfg *sandbox = CreateAppSpawnSandbox(); variable 139 AppSpawnSandboxCfg *sandbox = CreateAppSpawnSandbox(); variable 186 AppSpawnSandboxCfg *sandbox = CreateAppSpawnSandbox(); variable 223 AppSpawnSandboxCfg *sandbox = CreateAppSpawnSandbox(); variable 249 AppSpawnSandboxCfg *sandbox = CreateAppSpawnSandbox(); variable 291 AppSpawnSandboxCfg *sandbox = CreateAppSpawnSandbox(); variable 326 AppSpawnSandboxCfg *sandbox = CreateAppSpawnSandbox(); variable 357 AppSpawnSandboxCfg *sandbox = CreateAppSpawnSandbox(); variable [all …]
|
H A D | app_spawn_sandbox_new_test.cpp | 679 AppSpawnSandboxCfg *sandbox = nullptr; variable 727 AppSpawnSandboxCfg *sandbox = nullptr; variable 767 AppSpawnSandboxCfg *sandbox = nullptr; variable 809 AppSpawnSandboxCfg *sandbox = nullptr; variable 851 AppSpawnSandboxCfg *sandbox = nullptr; variable 910 AppSpawnSandboxCfg *sandbox = nullptr; variable 931 AppSpawnSandboxCfg *sandbox = nullptr; variable 977 AppSpawnSandboxCfg *sandbox = nullptr; variable 1025 AppSpawnSandboxCfg *sandbox = nullptr; variable 1074 AppSpawnSandboxCfg *sandbox = nullptr; variable [all …]
|
/ohos5.0/base/startup/appspawn/modules/sandbox/ |
H A D | appspawn_sandbox.c | 109 static int BuildRootPath(char *buffer, uint32_t bufferLen, const AppSpawnSandboxCfg *sandbox, uid_t… in BuildRootPath() 178 const AppSpawnSandboxCfg *sandbox, const AppSpawningCtx *property, int nwebspawn) in InitSandboxContext() 553 const AppSpawnSandboxCfg *sandbox, const SandboxSection *section, uint32_t op) in MountSandboxConfig() 583 static int SetExpandSandboxConfig(const SandboxContext *context, const AppSpawnSandboxCfg *sandbox) in SetExpandSandboxConfig() 709 const SandboxContext *context, const AppSpawnSandboxCfg *sandbox, bool remountProc) in SandboxRootFolderCreateNoShare() 761 static int SetSandboxMounted(const AppSpawnSandboxCfg *sandbox, const char *name, char *rootPath) in SetSandboxMounted() 787 int UnmountDepPaths(const AppSpawnSandboxCfg *sandbox, uid_t uid) in UnmountDepPaths() 807 int UnmountSandboxConfigs(const AppSpawnSandboxCfg *sandbox, uid_t uid, const char *name) in UnmountSandboxConfigs() 884 int StagedMountPreUnShare(const SandboxContext *context, const AppSpawnSandboxCfg *sandbox) in StagedMountPreUnShare() 930 static int SetAppVariableConfig(const SandboxContext *context, const AppSpawnSandboxCfg *sandbox) in SetAppVariableConfig() [all …]
|
H A D | sandbox_load.c | 244 static int ParseMountPathsConfig(AppSpawnSandboxCfg *sandbox, in ParseMountPathsConfig() 306 static int ParseGidTableConfig(AppSpawnSandboxCfg *sandbox, const cJSON *configs, SandboxSection *s… in ParseGidTableConfig() 398 static int ParseBaseConfig(AppSpawnSandboxCfg *sandbox, SandboxSection *section, const cJSON *confi… in ParseBaseConfig() 457 static int ParseSpawnFlagsConfig(AppSpawnSandboxCfg *sandbox, const char *name, const cJSON *flagsC… in ParseSpawnFlagsConfig() 497 static SandboxNameGroupNode *ParseNameGroup(AppSpawnSandboxCfg *sandbox, const cJSON *groupConfig) in ParseNameGroup() 535 static int ParseNameGroupsConfig(AppSpawnSandboxCfg *sandbox, const cJSON *root) in ParseNameGroupsConfig() 560 static int ParseConditionalConfig(AppSpawnSandboxCfg *sandbox, const cJSON *configs, const char *co… in ParseConditionalConfig() 561 int (*parseConfig)(AppSpawnSandboxCfg *sandbox, const char *name, const cJSON *configs)) in ParseConditionalConfig() 584 static int ParseGlobalSandboxConfig(AppSpawnSandboxCfg *sandbox, const cJSON *root) in ParseGlobalSandboxConfig() 609 AppSpawnSandboxCfg *sandbox = context->sandboxCfg; in ParseAppSandboxConfig() local [all …]
|
H A D | sandbox_manager.c | 363 void DeleteAppSpawnSandbox(AppSpawnSandboxCfg *sandbox) in DeleteAppSpawnSandbox() 419 AppSpawnSandboxCfg *sandbox = (AppSpawnSandboxCfg *)data; in DumpSandbox() local 431 AppSpawnSandboxCfg *sandbox = ListEntry(data, AppSpawnSandboxCfg, extData); in FreeAppSpawnSandbox() local 439 AppSpawnSandboxCfg *sandbox = (AppSpawnSandboxCfg *)calloc(1, sizeof(AppSpawnSandboxCfg)); in CreateAppSpawnSandbox() local 469 void DumpAppSpawnSandboxCfg(AppSpawnSandboxCfg *sandbox) in DumpAppSpawnSandboxCfg() 487 AppSpawnSandboxCfg *sandbox = GetAppSpawnSandbox(content); in PreLoadSandboxCfg() local 507 AppSpawnSandboxCfg *sandbox = GetAppSpawnSandbox(content); in SandboxHandleServerExit() local 539 static int AppendPermissionGid(const AppSpawnSandboxCfg *sandbox, AppSpawningCtx *property) in AppendPermissionGid() 585 AppSpawnSandboxCfg *sandbox = GetAppSpawnSandbox(content); in SpawnPrepareSandboxCfg() local 606 AppSpawnSandboxCfg *sandbox = GetAppSpawnSandbox(content); in SandboxUnmountPath() local
|
/ohos5.0/base/startup/init/services/sandbox/ |
H A D | sandbox.c | 89 sandbox_t *sandbox; member 224 static int AddMountInfoToSandbox(sandbox_t *sandbox, cJSON *item, const char *type) in AddMountInfoToSandbox() 267 static int AddSymbolLinksToSandbox(sandbox_t *sandbox, cJSON *item, const char *type) in AddSymbolLinksToSandbox() 287 static int GetSandboxInfo(sandbox_t *sandbox, cJSON *root, const char *itemName) in GetSandboxInfo() 316 static int ParseSandboxConfig(cJSON *root, sandbox_t *sandbox) in ParseSandboxConfig() 371 static void ParseInitSandboxConfigPath(sandbox_t *sandbox, const char *sandboxConfig, const char *n… in ParseInitSandboxConfigPath() 385 static void InitSandbox(sandbox_t *sandbox, const char *sandboxConfig, const char *name) in InitSandbox() 465 static bool IsValidSandbox(sandbox_t *sandbox) in IsValidSandbox() 542 sandbox_t *sandbox = map->sandbox; in PrepareSandbox() local 602 sandbox_t *sandbox = map->sandbox; in DestroySandbox() local [all …]
|
/ohos5.0/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/test/unittest/common/ |
H A D | data_share_test.cpp | 150 std::string sandbox = DataShareUtil::GetSandBoxPathByUid(uid); variable
|
/ohos5.0/base/startup/init/test/unittest/init/ |
H A D | sandbox_unittest.cpp | 45 int RestartSandbox(const char *sandbox) in RestartSandbox()
|
/ohos5.0/base/startup/init/services/init/standard/ |
H A D | init_cmds.c | 558 const char *sandbox = ctx->argv[0]; in DoMkSandbox() local
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/property/ |
H A D | rs_properties_test.cpp | 863 Vector2f sandbox{1.0f, 1.0f}; variable
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/ |
H A D | rs_render_node.cpp | 1484 if (auto sandbox = properties.GetSandBox(); sandbox.has_value() && sharedTransitionParam_) { in UpdateDrawRect() local 1797 const auto& sandbox = GetRenderProperties().GetSandBox(); in MapAndUpdateChildrenRect() local
|