Home
last modified time | relevance | path

Searched refs:GlobalConstant (Results 1 - 22 of 22) sorted by relevance

/foundation/ability/ability_runtime/services/abilitymgr/include/utils/
H A Ddlp_utils.h53 if (abilityRecord->GetAppIndex() <= AbilityRuntime::GlobalConstant::MAX_APP_CLONE_INDEX) { in DlpAccessOtherAppsCheck()
78 if (dlpIndex <= AbilityRuntime::GlobalConstant::MAX_APP_CLONE_INDEX && dlpIndex != 0) { in OtherAppsAccessDlpCheck()
85 abilityRecord->GetAppIndex() > AbilityRuntime::GlobalConstant::MAX_APP_CLONE_INDEX) { in OtherAppsAccessDlpCheck()
/foundation/ability/ability_runtime/utils/server/startup/src/
H A Dstartup_util.cpp34 if (appIndex > GlobalConstant::MAX_APP_CLONE_INDEX) { in GetAppIndex()
39 if (appIndex < 0 || appIndex > GlobalConstant::MAX_APP_CLONE_INDEX) { in GetAppIndex()
/foundation/ability/ability_runtime/utils/global/constant/
H A Dglobal_constant.h20 namespace GlobalConstant { namespace
57 } // namespace GlobalConstant
/foundation/ability/ability_runtime/services/abilitymgr/src/utils/
H A Dstart_ability_utils.cpp44 if (abilityRecord && abilityRecord->GetAppIndex() > AbilityRuntime::GlobalConstant::MAX_APP_CLONE_INDEX && in GetAppIndex()
179 appIndex < AbilityRuntime::GlobalConstant::MAX_APP_CLONE_INDEX) { in StartAbilityInfoWrap()
204 if (appIndex > 0 && appIndex <= AbilityRuntime::GlobalConstant::MAX_APP_CLONE_INDEX) { in CreateStartAbilityInfo()
256 if (appIndex > 0 && appIndex <= AbilityRuntime::GlobalConstant::MAX_APP_CLONE_INDEX) { in CreateStartExtensionInfo()
H A Dability_permission_util.cpp125 (appIndex != 0 && appIndex <= AbilityRuntime::GlobalConstant::MAX_APP_CLONE_INDEX)) { in CheckMultiInstanceAndAppClone()
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Ddlp_state_item.cpp56 if (!record || record->GetAppIndex() <= AbilityRuntime::GlobalConstant::MAX_APP_CLONE_INDEX) { in HandleDlpConnectionState()
H A Dconnection_state_manager.cpp490 if (dlpAbility->GetAppIndex() <= AbilityRuntime::GlobalConstant::MAX_APP_CLONE_INDEX) { in HandleDlpAbilityInner()
H A Dability_auto_startup_service.cpp457 } else if (appIndex <= GlobalConstant::MAX_APP_CLONE_INDEX) { in GetBundleInfo()
H A Dability_record.cpp60 using namespace OHOS::AbilityRuntime::GlobalConstant;
1874 bool isSandboxApp = appIndex_ > AbilityRuntime::GlobalConstant::MAX_APP_CLONE_INDEX ? true : false; in SendResultToCallers()
3249 if (caller && caller->appIndex_ > AbilityRuntime::GlobalConstant::MAX_APP_CLONE_INDEX) { in GrantUriPermission()
H A Dimplicit_start_processor.cpp536 if (appIndexes.size() > AbilityRuntime::GlobalConstant::MAX_APP_CLONE_INDEX) { in GenerateAbilityRequestByAppIndexes()
H A Dability_manager_service.cpp6239 if (abilityRecord && abilityRecord->GetAppIndex() > AbilityRuntime::GlobalConstant::MAX_APP_CLONE_INDEX && in GenerateAbilityRequest()
6337 if (abilityRecord && abilityRecord->GetAppIndex() > AbilityRuntime::GlobalConstant::MAX_APP_CLONE_INDEX && in GenerateExtensionAbilityRequest()
7027 if (info.appCloneIndex > 0 && info.appCloneIndex <= AbilityRuntime::GlobalConstant::MAX_APP_CLONE_INDEX) { in RetryStartAutoStartupApps()
9151 GlobalConstant::PREPARE_TERMINATE_TIMEOUT_TIME); in PrepareTerminateAbility()
10927 if (appIndex >= 0 && appIndex < AbilityRuntime::GlobalConstant::MAX_APP_CLONE_INDEX) { in SetTargetCloneIndexInSameBundle()
/foundation/ability/ability_runtime/services/appmgr/include/utils/
H A Dappspawn_util.h64 applicationInfo.appIndex <= AbilityRuntime::GlobalConstant::MAX_APP_CLONE_INDEX) { in BuildStartFlags()
/foundation/ability/ability_runtime/frameworks/js/napi/ability_auto_startup_callback/
H A Djs_ability_auto_startup_manager_utils.cpp132 if (info.appCloneIndex >= 0 && info.appCloneIndex < GlobalConstant::MAX_APP_CLONE_INDEX) { in CreateJsAutoStartupInfo()
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_bundle_manager_helper/
H A Dbundle_mgr_helper.cpp102 if (bundleName.empty() || appIndex <= AbilityRuntime::GlobalConstant::MAX_APP_CLONE_INDEX) { in UninstallSandboxApp()
133 if (bundleName.empty() || appIndex <= AbilityRuntime::GlobalConstant::MAX_APP_CLONE_INDEX) { in GetSandboxBundleInfo()
151 if (appIndex <= AbilityRuntime::GlobalConstant::MAX_APP_CLONE_INDEX) { in GetSandboxAbilityInfo()
172 if (appIndex <= AbilityRuntime::GlobalConstant::MAX_APP_CLONE_INDEX) { in GetSandboxExtAbilityInfos()
190 if (appIndex <= AbilityRuntime::GlobalConstant::MAX_APP_CLONE_INDEX) { in GetSandboxHapModuleInfo()
600 } else if (appIndex <= AbilityRuntime::GlobalConstant::MAX_APP_CLONE_INDEX) { in GetApplicationInfoWithAppIndex()
/foundation/ability/ability_runtime/services/abilitymgr/src/interceptor/
H A Ddisposed_rule_interceptor.cpp104 if (appIndex > 0 && appIndex <= AbilityRuntime::GlobalConstant::MAX_APP_CLONE_INDEX) { in CheckControl()
/foundation/ability/ability_runtime/services/uripermmgr/src/
H A Duri_permission_utils.cpp265 if (appIndex <= AbilityRuntime::GlobalConstant::MAX_APP_CLONE_INDEX) { in GetTokenIdByBundleName()
/foundation/ability/ability_runtime/services/abilitymgr/src/mission/
H A Dmission_list_manager.cpp696 if (dlpIndex > AbilityRuntime::GlobalConstant::MAX_APP_CLONE_INDEX) { in BuildInnerMissionInfo()
1897 if ((abilityRecord->GetAppIndex() > AbilityRuntime::GlobalConstant::MAX_APP_CLONE_INDEX) || in CompleteTerminateAndUpdateMission()
2119 auto isPrivate = abilityRecord->GetAppIndex() > AbilityRuntime::GlobalConstant::MAX_APP_CLONE_INDEX; in UpdateSnapShot()
2306 snapshot.isPrivate = (abilityRecord->GetAppIndex() > AbilityRuntime::GlobalConstant::MAX_APP_CLONE_INDEX); in UpdateMissionSnapshot()
2841 if ((ability->GetAppIndex() > AbilityRuntime::GlobalConstant::MAX_APP_CLONE_INDEX) || in HandleAbilityDiedByDefault()
3770 (abilityRecord->GetAppIndex() > AbilityRuntime::GlobalConstant::MAX_APP_CLONE_INDEX); in GetMissionSnapshot()
/foundation/ability/ability_runtime/services/appmgr/src/
H A Dapp_mgr_service.cpp361 if (appCloneIndex < 0 || appCloneIndex > AbilityRuntime::GlobalConstant::MAX_APP_CLONE_INDEX) { in ClearUpApplicationData()
462 if (appRunningRecord && appRunningRecord->GetAppIndex() > AbilityRuntime::GlobalConstant::MAX_APP_CLONE_INDEX) { in JudgeSandboxByPid()
H A Dapp_mgr_service_inner.cpp681 auto timeOut = AbilityRuntime::GlobalConstant::GetLoadTimeOutBase() * in AfterLoadAbility()
973 } else if (appIndex <= AbilityRuntime::GlobalConstant::MAX_APP_CLONE_INDEX) { in GetBundleAndHapInfo()
986 if (appIndex <= AbilityRuntime::GlobalConstant::MAX_APP_CLONE_INDEX) { in GetBundleAndHapInfo()
6127 if (appCloneIndex < 0 || appCloneIndex > AbilityRuntime::GlobalConstant::MAX_APP_CLONE_INDEX) { in NotifyAppFaultBySA()
/foundation/ability/ability_runtime/frameworks/native/appkit/app/
H A Dmain_thread.cpp1203 if (appIndex > AbilityRuntime::GlobalConstant::MAX_APP_CLONE_INDEX) { in GetBundleForLaunchApplication()
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_inner_second_test/
H A Dapp_mgr_service_inner_second_test.cpp2305 want.SetParam(AppspawnUtil::DLP_PARAMS_INDEX, AbilityRuntime::GlobalConstant::MAX_APP_CLONE_INDEX + 1); in HWTEST_F()
/foundation/ability/ability_runtime/services/abilitymgr/src/scene_board/
H A Dui_ability_lifecycle_manager.cpp2115 GlobalConstant::PREPARE_TERMINATE_TIMEOUT_TIME)); in PrepareTerminateAbility()

Completed in 69 milliseconds