Home
last modified time | relevance | path

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

/base/notification/common_event_service/frameworks/native/src/
Dmatching_skills.cpp28 events_ = matchingSkills.events_; in MatchingSkills()
72 auto it = std::find(events_.cbegin(), events_.cend(), event); in AddEvent()
73 if (it == events_.cend()) { in AddEvent()
74 events_.emplace_back(event); in AddEvent()
80 return events_.size(); in CountEvent()
86 if (index >= 0 && index < events_.size()) { in GetEvent()
87 event = events_[index]; in GetEvent()
94 return events_; in GetEvents()
99 auto it = std::find(events_.cbegin(), events_.cend(), event); in RemoveEvent()
100 if (it != events_.cend()) { in RemoveEvent()
[all …]
/base/notification/eventhandler/frameworks/eventhandler/src/
Dinner_event.cpp78 if (!events_.empty()) { in Get()
79 auto event = std::move(events_.back()); in Get()
80 events_.pop_back(); in Get()
129 if (events_.size() < MAX_BUFFER_POOL_SIZE) { in Put()
130 events_.push_back(std::move(event)); in Put()
137 std::vector<InnerEvent::Pointer> events_; member in OHOS::AppExecFwk::InnerEventPool
144 InnerEventPool::InnerEventPool() : poolLock_(), events_() in InnerEventPool()
148 events_.reserve(MAX_BUFFER_POOL_SIZE); in InnerEventPool()
155 events_.clear(); in ~InnerEventPool()
/base/notification/common_event_service/interfaces/inner_api/
Dmatching_skills.h217 std::vector<std::string> events_; variable
/base/notification/distributed_notification_service/frameworks/test/moduletest/
Dans_fw_module_test.cpp284 events_.push_back(event); in OnConnected()
290 events_.push_back(event); in OnDisconnected()
298 events_.push_back(event); in OnUpdate()
304 events_.push_back(event); in OnDoNotDisturbDateChange()
312 events_.push_back(event); in OnEnabledNotificationChanged()
320 events_.push_back(event); in OnCanceled()
326 events_.push_back(event); in OnConsumed()
335 events_.push_back(event); in OnConsumed()
341 return events_; in GetEvents()
347 events_.clear(); in ClearEvents()
[all …]