Home
last modified time | relevance | path

Searched refs:subscribers_ (Results 1 – 4 of 4) sorted by relevance

/base/notification/common_event_service/services/src/
Dcommon_event_subscriber_manager.cpp118 for (auto it = subscribers_.begin(); it != subscribers_.end(); ++it) { in GetSubscriberRecord()
274 subscribers_.emplace_back(record); in InsertSubscriberRecordLocked()
289 for (auto it = subscribers_.begin(); it != subscribers_.end(); ++it) { in RemoveSubscriberRecordLocked()
294 subscribers_.erase(it); in RemoveSubscriberRecordLocked()
379 records = subscribers_; in GetSubscriberRecordsByEvent()
381 for (auto recordPtr : subscribers_) { in GetSubscriberRecordsByEvent()
411 for (auto recordPtr : subscribers_) { in UpdateFreezeInfo()
430 for (auto recordPtr : subscribers_) { in UpdateAllFreezeInfos()
/base/notification/common_event_service/services/test/unittest/
Dcommon_event_freeze_unit_test.cpp102 ASSERT_EQ(expectSize, commonEventSubscriberManager.subscribers_.size());
104 EXPECT_EQ(true, commonEventSubscriberManager.subscribers_[0]->isFreeze);
134 ASSERT_EQ(expectSize, commonEventSubscriberManager.subscribers_.size());
136 EXPECT_EQ(false, commonEventSubscriberManager.subscribers_[0]->isFreeze);
439 ASSERT_EQ(commonEventSubscriberManager.subscribers_.size(), expectSize);
441 EXPECT_EQ(commonEventSubscriberManager.subscribers_[0]->isFreeze, true);
469 ASSERT_EQ(commonEventSubscriberManager.subscribers_.size(), expectSize);
471 EXPECT_EQ(commonEventSubscriberManager.subscribers_[0]->isFreeze, false);
582 ASSERT_EQ(commonEventSubscriberManager.subscribers_.size(), expectSize);
Dcommon_event_subscriber_manager_test.cpp406 commonEventSubscriberManager->subscribers_.emplace_back(record); in HWTEST_F()
430 commonEventSubscriberManager->subscribers_.emplace_back(record); in HWTEST_F()
544 commonEventSubscriberManager->subscribers_.emplace_back(record); in HWTEST_F()
/base/notification/common_event_service/services/include/
Dcommon_event_subscriber_manager.h194 std::vector<SubscriberRecordPtr> subscribers_; variable