Lines Matching defs:sysEvent
50 auto sysEvent = std::make_unique<SysEvent>("FaultLogDatabase", nullptr, rawData);
52 HIVIEW_LOGI("parse FaultLogInfo from %{public}s.", sysEvent->AsJsonStr().substr(0, FIRST_200_BYTES).c_str());
54 info.time = static_cast<int64_t>(std::atoll(sysEvent->GetEventValue("HAPPEN_TIME").c_str()));
56 info.time = sysEvent->GetEventIntValue("HAPPEN_TIME") != DEFAULT_INT_VALUE?
57 sysEvent->GetEventIntValue("HAPPEN_TIME") : sysEvent->GetEventIntValue("time_");
59 info.pid = sysEvent->GetEventIntValue("PID") != DEFAULT_INT_VALUE ?
60 sysEvent->GetEventIntValue("PID") : sysEvent->GetEventIntValue("pid_");
62 info.id = sysEvent->GetEventIntValue("UID") != DEFAULT_INT_VALUE ?
63 sysEvent->GetEventIntValue("UID") : sysEvent->GetEventIntValue("uid_");
64 info.faultLogType = std::atoi(sysEvent->GetEventValue("FAULT_TYPE").c_str());
65 info.module = sysEvent->GetEventValue("MODULE");
66 info.reason = sysEvent->GetEventValue("REASON");
67 info.summary = StringUtil::UnescapeJsonStringValue(sysEvent->GetEventValue("SUMMARY"));