Home
last modified time | relevance | path

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

/ohos5.0/base/notification/common_event_service/services/src/
H A Dcommon_event_sticky_manager.cpp178 auto it = commonEventRecords_.find(event); in FindStickyEventsLocked()
179 if (it != commonEventRecords_.end()) { in FindStickyEventsLocked()
189 auto it = commonEventRecords_.find(event); in GetStickyCommonEventLocked()
190 if (it != commonEventRecords_.end()) { in GetStickyCommonEventLocked()
212 commonEventRecords_[event] = record; in UpdateStickyEventLocked()
221 for (auto record : commonEventRecords_) { in GetStickyCommonEventRecords()
227 auto recordItem = commonEventRecords_.find(event); in GetStickyCommonEventRecords()
228 if (recordItem == commonEventRecords_.end()) { in GetStickyCommonEventRecords()
241 auto it = commonEventRecords_.find(event); in RemoveStickyCommonEvent()
242 if (it != commonEventRecords_.end()) { in RemoveStickyCommonEvent()
[all …]
/ohos5.0/base/notification/common_event_service/services/test/unittest/
H A Dcommon_event_sticky_test.cpp358 stickyManagerPtr->commonEventRecords_[STRING_EVENT] = recordPtr;
405 auto recordPtr = stickyManagerPtr->commonEventRecords_[STRING_EVENT];
425 auto recordPtr = stickyManagerPtr->commonEventRecords_[STRING_EVENT];
467 recordPtr = stickyManagerPtr->commonEventRecords_[STRING_EVENT];
556 stickyManagerPtr->commonEventRecords_[STRING_EVENT] = recordPtr;
H A Dcommon_event_subscriber_manager_test.cpp635 commonEventStickyManager->commonEventRecords_.emplace(event, comm); in HWTEST_F()
657 commonEventStickyManager->commonEventRecords_.emplace(event, comm); in HWTEST_F()
679 commonEventStickyManager->commonEventRecords_.emplace(event, comm); in HWTEST_F()
701 commonEventStickyManager->commonEventRecords_.emplace(event, comm); in HWTEST_F()
/ohos5.0/base/notification/common_event_service/services/include/
H A Dcommon_event_sticky_manager.h90 std::map<std::string, CommonEventRecordPtr> commonEventRecords_; variable