Lines Matching defs:event
35 bool DailyController::CheckThreshold(std::shared_ptr<SysEvent> event)
37 if (event == nullptr) {
38 HIVIEW_LOGW("event is null");
47 // check the threshold of event
48 auto cacheKey = std::make_pair(event->domain_, event->eventName_);
49 int32_t threshold = GetThreshold(cacheKey, event->eventType_);
141 HIVIEW_LOGW("failed to query event info from db, count=%{public}d", eventInfo.count);
149 // check the first time the event crosses the threshold
153 HIVIEW_LOGI("event first exceeds threshold, domain=%{public}s, name=%{public}s",