Home
last modified time | relevance | path

Searched refs:death_ (Results 1 - 5 of 5) sorted by relevance

/base/notification/common_event_service/services/src/
H A Dcommon_event_subscriber_manager.cpp38 : death_(sptr<IRemoteObject::DeathRecipient>(new (std::nothrow) SubscriberDeathRecipient())) in CommonEventSubscriberManager()
81 if (death_ != nullptr) { in InsertSubscriber()
82 commonEventListener->AddDeathRecipient(death_); in InsertSubscriber()
333 if (death_ != nullptr) { in RemoveSubscriberRecordLocked()
334 commonEventListener->RemoveDeathRecipient(death_); in RemoveSubscriberRecordLocked()
/base/notification/common_event_service/services/include/
H A Dcommon_event_subscriber_manager.h246 sptr<IRemoteObject::DeathRecipient> death_; member in OHOS::EventFwk::CommonEventSubscriberManager
/base/notification/common_event_service/services/test/unittest/
H A Dcommon_event_unsubscribe_unit_test.cpp162 * @tc.desc: When the death_ is not null, verify RemoveSubscriber fail.
186 commonEventSubscriberManager.death_ = nullptr; in HWTEST_F()
H A Dcommon_event_subscriber_manager_test.cpp85 * @tc.desc: test RemoveSubscriber function and death_ is nullptr.
97 commonEventSubscriberManager.death_ = nullptr; in HWTEST_F()
/base/notification/common_event_service/frameworks/native/test/unittest/
H A Dcommon_event_unsubscribe_test.cpp283 * CaseDescription: When the death_ is not null,
293 DelayedSingleton<CommonEventSubscriberManager>::GetInstance()->death_ = nullptr; in HWTEST_F()

Completed in 4 milliseconds