Home
last modified time | relevance | path

Searched refs:abilityMgr_ (Results 1 - 4 of 4) sorted by relevance

/base/notification/common_event_service/services/src/
H A Dability_manager_helper.cpp49 int32_t result = abilityMgr_->ConnectAbility(want, connection, callerToken, userId); in ConnectAbility()
59 if (abilityMgr_ == nullptr) { in GetAbilityMgrProxy()
73 abilityMgr_ = iface_cast<AAFwk::IAbilityManager>(remoteObject); in GetAbilityMgrProxy()
74 if ((abilityMgr_ == nullptr) || (abilityMgr_->AsObject() == nullptr)) { in GetAbilityMgrProxy()
84 if (!abilityMgr_->AsObject()->AddDeathRecipient(deathRecipient_)) { in GetAbilityMgrProxy()
97 if ((abilityMgr_ != nullptr) && (abilityMgr_->AsObject() != nullptr)) { in Clear()
98 abilityMgr_->AsObject()->RemoveDeathRecipient(deathRecipient_); in Clear()
100 abilityMgr_ in Clear()
[all...]
/base/notification/common_event_service/services/include/
H A Dability_manager_helper.h73 sptr<AAFwk::IAbilityManager> abilityMgr_; member in OHOS::EventFwk::AbilityManagerHelper
/base/notification/common_event_service/services/test/unittest/
H A Dability_manager_helper_test.cpp534 * @tc.desc: test GetAbilityMgrProxy function and abilityMgr_ is not nullptr.
541 abilityManagerHelper.abilityMgr_ = new (std::nothrow) TestAbilityMgr(); in HWTEST_F()
548 * @tc.desc: test GetAbilityMgrProxy function and abilityMgr_ is nullptr.
555 abilityManagerHelper.abilityMgr_ = nullptr; in HWTEST_F()
569 abilityManagerHelper.abilityMgr_ = nullptr; in HWTEST_F()
580 * @tc.desc: test Clear function and abilityMgr_ is nullptr.
588 abilityManagerHelper->abilityMgr_ = nullptr; in HWTEST_F()
595 * @tc.desc: test Clear function and abilityMgr_ is not nullptr.
604 abilityManagerHelper->abilityMgr_ = iface_cast<AAFwk::IAbilityManager>(remoteObject); in HWTEST_F()
H A Dcommon_event_subscribe_unit_test.cpp935 abilityManagerHelper.abilityMgr_ = new (std::nothrow) TestAbilityMgr(); in HWTEST_F()
958 abilityManagerHelper.abilityMgr_ = new (std::nothrow) TestAbilityMgr(); in HWTEST_F()

Completed in 3 milliseconds