Searched refs:appControlMgr (Results 1 - 10 of 10) sorted by relevance
/foundation/ability/ability_runtime/services/abilitymgr/src/interceptor/ |
H A D | control_interceptor.cpp | 81 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 D | ability_jump_interceptor.cpp | 114 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 D | disposed_rule_interceptor.cpp | 95 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 D | mock_bundle_manager.h | 112 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 D | mock_bundle_manager.h | 112 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 D | ability_util.h | 214 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 D | bundle_clone_installer.cpp | 305 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 D | mock_bundle_manager.h | 340 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 D | base_bundle_installer.cpp | 1626 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 D | acts_bms_kit_system_test.cpp | 7344 sptr<IAppControlMgr> appControlMgr = bundleMgrProxy->GetAppControlProxy(); in HWTEST_F() local 7345 EXPECT_NE(appControlMgr, nullptr); in HWTEST_F()
|
Completed in 31 milliseconds