Home
last modified time | relevance | path

Searched refs:CheckAppSpawnMsgFlag (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/base/startup/appspawn/standard/
H A Dappspawn_manager.h178 int CheckAppSpawnMsgFlag(const AppSpawnMsgNode *message, uint32_t type, uint32_t index);
259 return CheckAppSpawnMsgFlag(property->message, TLV_MSG_FLAGS, index); in CheckAppMsgFlagsSet()
266 return CheckAppSpawnMsgFlag(property->message, TLV_PERMISSION, index); in CheckAppPermissionFlagSet()
H A Dappspawn_msgmgr.c63 int CheckAppSpawnMsgFlag(const AppSpawnMsgNode *message, uint32_t type, uint32_t index) in CheckAppSpawnMsgFlag() function
/ohos5.0/base/startup/appspawn/test/unittest/app_spawn_standard_test/
H A Dapp_spawn_appmgr_test.cpp758 ret = CheckAppSpawnMsgFlag(outMsg, inputType[i], j);
766 ret = CheckAppSpawnMsgFlag(outMsg, inputType[i], j);
774 ret = CheckAppSpawnMsgFlag(nullptr, inputType[i], j);
1074 EXPECT_EQ(CheckAppSpawnMsgFlag(outMsg, TLV_MSG_FLAGS, APP_FLAGS_DEVELOPER_MODE), 0);
1076 EXPECT_EQ(CheckAppSpawnMsgFlag(outMsg, TLV_MSG_FLAGS, APP_FLAGS_DEVELOPER_MODE), 1);
/ohos5.0/base/startup/appspawn/modules/sandbox/
H A Dsandbox_cfgvar.c176 …uint32_t flags = CheckAppSpawnMsgFlag(context->message, TLV_MSG_FLAGS, APP_FLAGS_CLONE_ENABLE) ? 1… in ReplaceVariableForpackageName()
177 …flags |= CheckAppSpawnMsgFlag(context->message, TLV_MSG_FLAGS, APP_FLAGS_EXTENSION_SANDBOX) ? 0x2 … in ReplaceVariableForpackageName()
H A Dsandbox_expand.c88 if (!CheckAppSpawnMsgFlag(context->message, TLV_MSG_FLAGS, APP_FLAGS_ISOLATED_SANDBOX)) { in MountAllGroup()
H A Dappspawn_sandbox.c48 return CheckAppSpawnMsgFlag(context->message, TLV_MSG_FLAGS, index); in CheckSpawningMsgFlagSet()
55 return CheckAppSpawnMsgFlag(context->message, TLV_PERMISSION, index); in CheckSpawningPermissionFlagSet()
H A Dsandbox_utils.cpp441 …uint32_t flags = CheckAppSpawnMsgFlag(appProperty->message, TLV_MSG_FLAGS, APP_FLAGS_ATOMIC_SERVIC… in ReplaceVariablePackageName()
443 … flags = (CheckAppSpawnMsgFlag(appProperty->message, TLV_MSG_FLAGS, APP_FLAGS_CLONE_ENABLE) && in ReplaceVariablePackageName()
445 …flags |= CheckAppSpawnMsgFlag(appProperty->message, TLV_MSG_FLAGS, APP_FLAGS_EXTENSION_SANDBOX) ? … in ReplaceVariablePackageName()
/ohos5.0/base/startup/appspawn/modules/common/
H A Dappspawn_adapter.cpp165 if (CheckAppSpawnMsgFlag(property->message, TLV_MSG_FLAGS, APP_FLAGS_ISOLATED_SANDBOX) != 0) { in SetSeccompFilter()