Home
last modified time | relevance | path

Searched refs:flagIndex (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/base/startup/appspawn/interfaces/innerkits/client/
H A Dappspawn_msg.c406 int AppSpawnReqMsgSetAppFlag(AppSpawnReqMsgHandle reqHandle, AppFlagsIndex flagIndex) in AppSpawnReqMsgSetAppFlag() argument
411 APPSPAWN_CHECK(flagIndex < MAX_FLAGS_INDEX, return APPSPAWN_ARG_INVALID, in AppSpawnReqMsgSetAppFlag()
412 "Invalid msg app flags %{public}d", flagIndex); in AppSpawnReqMsgSetAppFlag()
414 (flagIndex == APP_FLAGS_UBSAN_ENABLED || flagIndex == APP_FLAGS_ASANENABLED || in AppSpawnReqMsgSetAppFlag()
415 flagIndex == APP_FLAGS_TSAN_ENABLED || flagIndex == APP_FLAGS_HWASAN_ENABLED || in AppSpawnReqMsgSetAppFlag()
416 (flagIndex == APP_FLAGS_COLD_BOOT && CheckEnabled("startup.appspawn.cold.boot", "true")))) { in AppSpawnReqMsgSetAppFlag()
420 return SetAppSpawnMsgFlags(reqNode->msgFlags, flagIndex); in AppSpawnReqMsgSetAppFlag()
/ohos5.0/foundation/ability/ability_runtime/services/appmgr/src/
H A Dapp_spawn_client.cpp207 int flagIndex = 0; in SetStartFlags() local
210 ret = AppSpawnReqMsgSetAppFlag(reqHandle, static_cast<AppFlagsIndex>(flagIndex)); in SetStartFlags()
212 … TAG_LOGE(AAFwkTag::APPMGR, "SetFlagIdx %{public}d failed, ret: %{public}d", flagIndex, ret); in SetStartFlags()
217 flagIndex++; in SetStartFlags()
/ohos5.0/base/startup/appspawn/modules/sandbox/
H A Dsandbox_load.c459 uint32_t flagIndex = GetFlagIndexFromJson(flagsConfig); in ParseSpawnFlagsConfig() local
460 APPSPAWN_LOGV("Parse spawn-flags config %{public}s flagIndex %{public}u", name, flagIndex); in ParseSpawnFlagsConfig()
466 node->flagIndex = flagIndex; in ParseSpawnFlagsConfig()
H A Dappspawn_sandbox.h150 uint32_t flagIndex; member
H A Dappspawn_sandbox.c627 … if (sandboxNode->flagIndex == 0 || !CheckSpawningMsgFlagSet(context, sandboxNode->flagIndex)) { in SetSandboxSpawnFlagsConfig()
/ohos5.0/base/startup/appspawn/interfaces/innerkits/include/
H A Dappspawn.h189 int AppSpawnReqMsgSetAppFlag(AppSpawnReqMsgHandle reqHandle, AppFlagsIndex flagIndex);
/ohos5.0/base/startup/appspawn/test/fuzztest/appspawnclient_fuzzer/
H A Dappspawnclient_fuzzer.cpp146 AppFlagsIndex flagIndex = static_cast<AppFlagsIndex>(size); in FuzzAppSpawnReqMsgSetAppFlag() local
147 (void)AppSpawnReqMsgSetAppFlag(reqHandle, flagIndex); in FuzzAppSpawnReqMsgSetAppFlag()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/
H A Ddistributeddb_relational_ver_p2p_sync_test.cpp660 SecurityOption SelectSecurityOption(int &labelIndex, int &flagIndex, in SelectSecurityOption() argument
664 …if (labelIndex >= static_cast<int>(labelList.size()) || flagIndex >= static_cast<int>(flagList.siz… in SelectSecurityOption()
668 option.securityFlag = flagList[flagIndex]; in SelectSecurityOption()
672 flagIndex++; in SelectSecurityOption()
677 bool SelectSecurityEnd(int flagIndex, const std::vector<SecurityFlag> &flagList) in SelectSecurityEnd() argument
679 return flagIndex >= static_cast<int>(flagList.size()); in SelectSecurityEnd()
/ohos5.0/base/startup/appspawn/test/unittest/app_spawn_standard_test/
H A Dapp_spawn_sandbox_new_test.cpp1092 ASSERT_EQ(sandboxNode->flagIndex == APP_FLAGS_BACKUP_EXTENSION, 1);