Searched refs:SubscriberRecordPtr (Results 1 – 4 of 4) sorted by relevance
/base/notification/common_event_service/services/include/ |
D | common_event_subscriber_manager.h | 63 using SubscriberRecordPtr = std::shared_ptr<EventSubscriberRecord>; variable 66 using FrozenRecords = std::map<SubscriberRecordPtr, std::vector<EventRecordPtr>>; 101 std::vector<SubscriberRecordPtr> GetSubscriberRecords(const CommonEventRecord &eventRecord); 134 …void InsertFrozenEvents(const SubscriberRecordPtr &eventListener, const CommonEventRecord &eventRe… 160 …const std::string &title, const SubscriberRecordPtr &record, const std::string format, std::string… 172 …tSubscriberRecordLocked(const std::vector<std::string> &events, const SubscriberRecordPtr &record); 179 std::vector<SubscriberRecordPtr> &records); 182 const std::string &event, const int32_t &userId, std::vector<SubscriberRecordPtr> &records); 184 void RemoveFrozenEventsBySubscriber(const SubscriberRecordPtr &subscriberRecord); 193 std::map<std::string, std::multiset<SubscriberRecordPtr>> eventSubscribers_; [all …]
|
/base/notification/common_event_service/services/test/unittest/ |
D | common_event_subscriber_manager_test.cpp | 114 SubscriberRecordPtr record = nullptr; in HWTEST_F() 133 SubscriberRecordPtr record = std::make_shared<EventSubscriberRecord>(); in HWTEST_F() 153 SubscriberRecordPtr record = std::make_shared<EventSubscriberRecord>(); in HWTEST_F() 176 SubscriberRecordPtr record = std::make_shared<EventSubscriberRecord>(); in HWTEST_F() 210 SubscriberRecordPtr record = std::make_shared<EventSubscriberRecord>(); in HWTEST_F() 233 SubscriberRecordPtr record = nullptr; in HWTEST_F() 250 SubscriberRecordPtr record = std::make_shared<EventSubscriberRecord>(); in HWTEST_F() 253 std::multiset<SubscriberRecordPtr> mults; in HWTEST_F() 383 std::vector<SubscriberRecordPtr> records; in HWTEST_F() 401 std::vector<SubscriberRecordPtr> records; in HWTEST_F() [all …]
|
D | common_event_freeze_unit_test.cpp | 168 SubscriberRecordPtr eventSubscriberRecord = std::make_shared<EventSubscriberRecord>(); 218 SubscriberRecordPtr eventSubscriberRecord = std::make_shared<EventSubscriberRecord>(); 259 SubscriberRecordPtr eventSubscriberRecord = std::make_shared<EventSubscriberRecord>(); 302 SubscriberRecordPtr eventSubscriberRecord = std::make_shared<EventSubscriberRecord>(); 345 SubscriberRecordPtr eventSubscriberRecord = std::make_shared<EventSubscriberRecord>(); 388 SubscriberRecordPtr eventSubscriberRecord = std::make_shared<EventSubscriberRecord>(); 503 SubscriberRecordPtr eventSubscriberRecord = nullptr; 551 SubscriberRecordPtr eventSubscriberRecord = std::make_shared<EventSubscriberRecord>();
|
/base/notification/common_event_service/services/src/ |
D | common_event_subscriber_manager.cpp | 106 auto records = std::vector<SubscriberRecordPtr>(); in GetSubscriberRecords() 128 …const std::string &title, const SubscriberRecordPtr &record, const std::string format, std::string… in DumpDetailed() 216 std::vector<SubscriberRecordPtr> records; in DumpState() 242 const std::vector<std::string> &events, const SubscriberRecordPtr &record) in InsertSubscriberRecordLocked() 268 std::multiset<SubscriberRecordPtr> EventSubscribersPtr; in InsertSubscriberRecordLocked() 339 std::vector<SubscriberRecordPtr> &records) in GetSubscriberRecordsByWantLocked() 376 const std::string &event, const int32_t &userId, std::vector<SubscriberRecordPtr> &records) in GetSubscriberRecordsByEvent() 442 const SubscriberRecordPtr &subscriberRecord, const CommonEventRecord &eventRecord) in InsertFrozenEvents() 470 std::map<SubscriberRecordPtr, std::vector<EventRecordPtr>> frozenRecords; in InsertFrozenEvents() 478 std::map<SubscriberRecordPtr, std::vector<EventRecordPtr>> CommonEventSubscriberManager::GetFrozenE… in GetFrozenEvents() [all …]
|