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