Home
last modified time | relevance | path

Searched refs:CheckAppSpawnMsgFlag (Results 1 - 9 of 9) sorted by relevance

/base/startup/appspawn/standard/
H A Dappspawn_manager.h178 int CheckAppSpawnMsgFlag(const AppSpawnMsgNode *message, uint32_t type, uint32_t index);
253 return CheckAppSpawnMsgFlag(property->message, TLV_MSG_FLAGS, index); in CheckAppMsgFlagsSet()
260 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
/base/startup/appspawn/modules/sandbox/
H A Dsandbox_adapter.cpp49 if (CheckAppSpawnMsgFlag(context->message, TLV_MSG_FLAGS, APP_FLAGS_DEBUGGABLE)) { in MakeAtomicServiceDir()
H A Dsandbox_cfgvar.c169 if (CheckAppSpawnMsgFlag(context->message, TLV_MSG_FLAGS, APP_FLAGS_ATOMIC_SERVICE)) { in ReplaceVariableForpackageName()
172 flags |= (CheckAppSpawnMsgFlag(context->message, TLV_MSG_FLAGS, APP_FLAGS_CLONE_ENABLE) && in ReplaceVariableForpackageName()
174 flags |= CheckAppSpawnMsgFlag(context->message, TLV_MSG_FLAGS, APP_FLAGS_EXTENSION_SANDBOX) in ReplaceVariableForpackageName()
H A Dsandbox_expand.c89 if (CheckAppSpawnMsgFlag(context->message, TLV_MSG_FLAGS, APP_FLAGS_ISOLATED_SANDBOX)) { in MountAllGroup()
H A Dsandbox_utils.cpp434 uint32_t flags = CheckAppSpawnMsgFlag(appProperty->message, TLV_MSG_FLAGS, APP_FLAGS_ATOMIC_SERVICE) ? 0x4 : 0; in ReplaceVariablePackageName()
436 flags = (CheckAppSpawnMsgFlag(appProperty->message, TLV_MSG_FLAGS, APP_FLAGS_CLONE_ENABLE) && in ReplaceVariablePackageName()
438 flags |= CheckAppSpawnMsgFlag(appProperty->message, TLV_MSG_FLAGS, APP_FLAGS_EXTENSION_SANDBOX) ? 0x2 : 0; in ReplaceVariablePackageName()
H A Dappspawn_sandbox.c60 return CheckAppSpawnMsgFlag(context->message, TLV_MSG_FLAGS, index); in CheckSpawningMsgFlagSet()
67 return CheckAppSpawnMsgFlag(context->message, TLV_PERMISSION, index); in CheckSpawningPermissionFlagSet()
/base/startup/appspawn/modules/common/
H A Dappspawn_adapter.cpp193 if (CheckAppSpawnMsgFlag(property->message, TLV_MSG_FLAGS, APP_FLAGS_ISOLATED_SANDBOX) != 0) { in SetSeccompFilter()
/base/startup/appspawn/test/unittest/app_spawn_standard_test/
H A Dapp_spawn_appmgr_test.cpp763 ret = CheckAppSpawnMsgFlag(outMsg, inputType[i], j); in HWTEST_F()
771 ret = CheckAppSpawnMsgFlag(outMsg, inputType[i], j); in HWTEST_F()
779 ret = CheckAppSpawnMsgFlag(nullptr, inputType[i], j); in HWTEST_F()
1088 EXPECT_EQ(CheckAppSpawnMsgFlag(outMsg, TLV_MSG_FLAGS, APP_FLAGS_DEVELOPER_MODE), 0); in HWTEST_F()
1090 EXPECT_EQ(CheckAppSpawnMsgFlag(outMsg, TLV_MSG_FLAGS, APP_FLAGS_DEVELOPER_MODE), 1); in HWTEST_F()

Completed in 11 milliseconds