Home
last modified time | relevance | path

Searched refs:appControlMgr (Results 1 - 10 of 10) sorted by relevance

/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()
83 TAG_LOGE(AAFwkTag::ABILITYMGR, "null appControlMgr"); 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()
116 TAG_LOGE(AAFwkTag::ABILITYMGR, "null appControlMgr"); 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()
97 TAG_LOGE(AAFwkTag::ABILITYMGR, "null appControlMgr"); in CheckControl()
105 ret = IN_PROCESS_CALL(appControlMgr->GetAbilityRunningControlRule(bundleName, in CheckControl()
108 ret = IN_PROCESS_CALL(appControlMgr->GetAbilityRunningControlRule(bundleName, in CheckControl()
/foundation/ability/ability_runtime/test/unittest/free_install_observer_manager_test/
H A Dmock_bundle_manager.h112 sptr<IAppControlMgr> appControlMgr = new (std::nothrow) AppControlProxy(nullptr); in GetAppControlProxy() local
113 return appControlMgr; in GetAppControlProxy()
/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()
/foundation/ability/ability_runtime/services/abilitymgr/include/utils/
H A Dability_util.h214 auto appControlMgr = bundleMgrHelper->GetAppControlProxy(); in AddAbilityJumpRuleToBms() local
215 if (appControlMgr == nullptr) { in AddAbilityJumpRuleToBms()
216 TAG_LOGE(AAFwkTag::ABILITYMGR, "Get appControlMgr failed"); in AddAbilityJumpRuleToBms()
219 int ret = IN_PROCESS_CALL(appControlMgr->ConfirmAppJumpControlRule(callerPkg, targetPkg, userId)); in AddAbilityJumpRuleToBms()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/clone/
H A Dbundle_clone_installer.cpp305 std::shared_ptr<AppControlManager> appControlMgr = DelayedSingleton<AppControlManager>::GetInstance(); in ProcessCloneBundleUninstall() local
306 if (appControlMgr != nullptr) { in ProcessCloneBundleUninstall()
308 appControlMgr->DeleteAllDisposedRuleByBundle(info, appIndex, userId); in ProcessCloneBundleUninstall()
/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()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbase_bundle_installer.cpp1626 std::shared_ptr<AppControlManager> appControlMgr = DelayedSingleton<AppControlManager>::GetInstance(); in ProcessBundleUninstall() local
1627 if (appControlMgr != nullptr) { in ProcessBundleUninstall()
1629 appControlMgr->DeleteAllDisposedRuleByBundle(oldInfo, Constants::MAIN_APP_INDEX, userId_); in ProcessBundleUninstall()
6237 std::shared_ptr<AppControlManager> appControlMgr = DelayedSingleton<AppControlManager>::GetInstance(); in SetDisposedRuleWhenBundleUpdateStart() local
6238 if (appControlMgr == nullptr) { in SetDisposedRuleWhenBundleUpdateStart()
6239 LOG_E(BMS_TAG_INSTALLER, "appControlMgr is nullptr, when -n :%{public}s install start", in SetDisposedRuleWhenBundleUpdateStart()
6243 appControlMgr->SetDisposedRuleOnlyForBms(oldBundleInfo.GetAppId()); in SetDisposedRuleWhenBundleUpdateStart()
6256 std::shared_ptr<AppControlManager> appControlMgr = DelayedSingleton<AppControlManager>::GetInstance(); in DeleteDisposedRuleWhenBundleUpdateEnd() local
6257 if (appControlMgr == nullptr) { in DeleteDisposedRuleWhenBundleUpdateEnd()
6258 LOG_E(BMS_TAG_INSTALLER, "appControlMgr i in DeleteDisposedRuleWhenBundleUpdateEnd()
[all...]
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/acts_bms_kit_system_test/
H A Dacts_bms_kit_system_test.cpp7344 sptr<IAppControlMgr> appControlMgr = bundleMgrProxy->GetAppControlProxy(); in HWTEST_F() local
7345 EXPECT_NE(appControlMgr, nullptr); in HWTEST_F()

Completed in 31 milliseconds