Searched refs:events_ (Results 1 – 4 of 4) sorted by relevance
28 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 …]
78 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::InnerEventPool144 InnerEventPool::InnerEventPool() : poolLock_(), events_() in InnerEventPool()148 events_.reserve(MAX_BUFFER_POOL_SIZE); in InnerEventPool()155 events_.clear(); in ~InnerEventPool()
217 std::vector<std::string> events_; variable
284 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 …]