Searched refs:appControlMgr (Results 1 – 9 of 9) sorted by relevance
/ohos5.0/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() 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() 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() 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 D | mock_bundle_manager.h | 112 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 D | ability_util.h | 214 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 D | bundle_clone_installer.cpp | 312 …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 D | mock_bundle_manager.h | 340 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 D | base_bundle_installer.cpp | 1633 …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 D | acts_bms_kit_system_test.cpp | 7292 sptr<IAppControlMgr> appControlMgr = bundleMgrProxy->GetAppControlProxy(); variable 7293 EXPECT_NE(appControlMgr, nullptr);
|