Home
last modified time | relevance | path

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

/ohos5.0/foundation/ability/ability_runtime/services/dataobsmgr/include/
H A Ddataobs_mgr_inner_ext.h47 struct DeathRecipientRef { struct
48DeathRecipientRef(sptr<IRemoteObject::DeathRecipient> deathRec) : deathRecipient(deathRec), ref(1)… in DeathRecipientRef() argument
54 … Entry(sptr<IDataAbilityObserver> obs, std::shared_ptr<DeathRecipientRef> deathRef, bool isDes) in Entry() argument
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;
/ohos5.0/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)).f… in AddObsDeathRecipient()
/ohos5.0/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);