Home
last modified time | relevance | path

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

/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/src/interceptor/
H A Dcontrol_interceptor.cpp81 auto appControlMgr = bundleMgrHelper->GetAppControlProxy(); in CheckControl() local
82 if (appControlMgr == nullptr) { in CheckControl()
92 auto ret = appControlMgr->GetAppRunningControlRule(bundleName, userId, controlRule); in CheckControl()
H A Dability_jump_interceptor.cpp114 auto appControlMgr = bundleMgrHelper->GetAppControlProxy(); in CheckControl() local
115 if (appControlMgr == nullptr) { in CheckControl()
120 if (IN_PROCESS_CALL(appControlMgr->GetAppJumpControlRule(callerBundleName, targetBundleName, in CheckControl()
H A Ddisposed_rule_interceptor.cpp95 auto appControlMgr = bundleMgrHelper->GetAppControlProxy(); in CheckControl() local
96 if (appControlMgr == nullptr) { in CheckControl()
105 ret = IN_PROCESS_CALL(appControlMgr->GetAbilityRunningControlRule(bundleName, in CheckControl()
108 ret = IN_PROCESS_CALL(appControlMgr->GetAbilityRunningControlRule(bundleName, in CheckControl()
/ohos5.0/foundation/ability/ability_runtime/test/unittest/free_install_manager_test/
H A Dmock_bundle_manager.h112 sptr<IAppControlMgr> appControlMgr = new (std::nothrow) AppControlProxy(nullptr); in GetAppControlProxy() local
113 return appControlMgr; in GetAppControlProxy()
/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/include/
H A Dability_util.h214 auto appControlMgr = bundleMgrHelper->GetAppControlProxy(); in AddAbilityJumpRuleToBms() local
215 if (appControlMgr == nullptr) { in AddAbilityJumpRuleToBms()
219 … int ret = IN_PROCESS_CALL(appControlMgr->ConfirmAppJumpControlRule(callerPkg, targetPkg, userId)); in AddAbilityJumpRuleToBms()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/clone/
H A Dbundle_clone_installer.cpp312 …std::shared_ptr<AppControlManager> appControlMgr = DelayedSingleton<AppControlManager>::GetInstanc… in ProcessCloneBundleUninstall() local
313 if (appControlMgr != nullptr) { in ProcessCloneBundleUninstall()
315 appControlMgr->DeleteAllDisposedRuleByBundle(info, appIndex, userId); in ProcessCloneBundleUninstall()
/ohos5.0/foundation/ability/ability_runtime/test/mock/services_abilitymgr_test/libs/appexecfwk_core/include/bundlemgr/
H A Dmock_bundle_manager.h340 sptr<IAppControlMgr> appControlMgr = new (std::nothrow) AppControlProxy(nullptr); in GetAppControlProxy() local
341 return appControlMgr; in GetAppControlProxy()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbase_bundle_installer.cpp1633 …std::shared_ptr<AppControlManager> appControlMgr = DelayedSingleton<AppControlManager>::GetInstanc… in ProcessBundleUninstall() local
1634 if (appControlMgr != nullptr) { in ProcessBundleUninstall()
1636 appControlMgr->DeleteAllDisposedRuleByBundle(oldInfo, Constants::MAIN_APP_INDEX, userId_); in ProcessBundleUninstall()
6039 …std::shared_ptr<AppControlManager> appControlMgr = DelayedSingleton<AppControlManager>::GetInstanc… in SetDisposedRuleWhenBundleUpdateStart() local
6040 if (appControlMgr == nullptr) { in SetDisposedRuleWhenBundleUpdateStart()
6045 appControlMgr->SetDisposedRuleOnlyForBms(oldBundleInfo.GetAppId()); in SetDisposedRuleWhenBundleUpdateStart()
6058 …std::shared_ptr<AppControlManager> appControlMgr = DelayedSingleton<AppControlManager>::GetInstanc… in DeleteDisposedRuleWhenBundleUpdateEnd() local
6059 if (appControlMgr == nullptr) { in DeleteDisposedRuleWhenBundleUpdateEnd()
6064 appControlMgr->DeleteDisposedRuleOnlyForBms(oldBundleInfo.GetAppId()); in DeleteDisposedRuleWhenBundleUpdateEnd()
/ohos5.0/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/acts_bms_kit_system_test/
H A Dacts_bms_kit_system_test.cpp7292 sptr<IAppControlMgr> appControlMgr = bundleMgrProxy->GetAppControlProxy(); variable
7293 EXPECT_NE(appControlMgr, nullptr);