Home
last modified time | relevance | path

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

/ohos5.0/foundation/systemabilitymgr/samgr/services/samgr/native/source/collect/
H A Dcommon_event_collect.cpp83 if (commonEventNames_.empty()) { in OnStart()
109 commonEventNames_.insert(event.name); in InitCommonEventState()
120 commonEventNames_.insert(condition.name); in InitCommonEventState()
165 for (auto& commonEventName : commonEventNames_) { in AddSkillsEvent()
180 commonEventNames_.erase(eventName); in CleanFailedEventLocked()
498 auto iter = commonEventNames_.find(eventName); in AddCommonEventName()
499 if (iter != commonEventNames_.end()) { in AddCommonEventName()
503 commonEventNames_.insert(eventName); in AddCommonEventName()
525 auto iter = commonEventNames_.find(event.name); in RemoveUnusedEvent()
526 if (iter != commonEventNames_.end()) { in RemoveUnusedEvent()
[all …]
/ohos5.0/foundation/systemabilitymgr/samgr/services/samgr/native/test/unittest/src/
H A Dcommon_event_collect_test.cpp82 commonEventCollect->commonEventNames_.insert("test");
305 commonEventCollect->commonEventNames_.insert("usual.event.SCREEN_ON");
308 EXPECT_EQ(commonEventCollect->commonEventNames_.size(), 0);
444 EXPECT_EQ(commonEventCollect->commonEventNames_.size(), 1);
471 EXPECT_EQ(commonEventCollect->commonEventNames_.size(), 2);
/ohos5.0/foundation/systemabilitymgr/samgr/services/samgr/native/include/collect/
H A Dcommon_event_collect.h69 std::set<std::string> commonEventNames_; variable