Home
last modified time | relevance | path

Searched refs:DeathRecipientRef (Results 1 - 3 of 3) sorted by relevance

/foundation/ability/ability_runtime/services/dataobsmgr/include/
H A Ddataobs_mgr_inner_ext.h47 struct DeathRecipientRef { struct in OHOS::AAFwk::DataObsMgrInnerExt
48 DeathRecipientRef(sptr<IRemoteObject::DeathRecipient> deathRec) : deathRecipient(deathRec), ref(1) {} in DeathRecipientRef() function
54 Entry(sptr<IDataAbilityObserver> obs, std::shared_ptr<DeathRecipientRef> deathRef, bool isDes) in Entry()
59 std::shared_ptr<DeathRecipientRef> deathRecipientRef;
82 std::shared_ptr<DeathRecipientRef> AddObsDeathRecipient(const sptr<IRemoteObject> &dataObserver);
89 std::map<sptr<IRemoteObject>, std::shared_ptr<DeathRecipientRef>> obsRecipientRefs;
/foundation/ability/ability_runtime/services/dataobsmgr/src/
H A Ddataobs_mgr_inner_ext.cpp114 std::shared_ptr<DataObsMgrInnerExt::DeathRecipientRef> DataObsMgrInnerExt::AddObsDeathRecipient( in AddObsDeathRecipient()
133 it = obsRecipientRefs.emplace(dataObserver, std::make_shared<DeathRecipientRef>(deathRecipient)).first; in AddObsDeathRecipient()
/foundation/ability/ability_runtime/test/unittest/dataobs_mgr_inner_ext_test/
H A Ddataobs_mgr_inner_ext_test.cpp702 auto deathRecipientRef = std::make_shared<DataObsMgrInnerExt::DeathRecipientRef>(nullptr); in HWTEST_F()

Completed in 3 milliseconds