/ohos5.0/base/hiviewdfx/hiview/plugins/performance/ |
H A D | EvtParser.h | 241 evt.appPid = static_cast<int32_t>(sysEvent.GetEventIntValue(KEY_APP_PID)); in ConvertToXperfEvent() 245 evt.eventTime = static_cast<uint64_t>(sysEvent.GetEventIntValue(TIMER)); in ConvertToXperfEvent() 246 evt.inputTime = static_cast<uint64_t>(sysEvent.GetEventIntValue(INPUT_TIME)); in ConvertToXperfEvent() 247 evt.renderTime = static_cast<uint64_t>(sysEvent.GetEventIntValue(RENDER_TIME)); in ConvertToXperfEvent() 249 evt.e2eLatency = static_cast<uint64_t>(sysEvent.GetEventIntValue(E2E_LATENCY)); in ConvertToXperfEvent() 268 evt.appUid = static_cast<int32_t>(sysEvent.GetEventIntValue(KEY_APP_UID)); in ConvertToXperfEvent() 272 evt.exitPid = static_cast<int32_t>(sysEvent.GetEventIntValue(KEY_EXIT_PID)); in ConvertToXperfEvent() 294 = static_cast<int32_t>(sysEvent.GetEventIntValue(TOTAL_MISSED_FRAMES)); in ConvertToXperfAnimatorEvent() 296 = static_cast<int32_t>(sysEvent.GetEventIntValue(MAX_SEQ_MISSED_FRAMES)); in ConvertToXperfAnimatorEvent() 299 = static_cast<int32_t>(sysEvent.GetEventIntValue(AVERAGE_FRAMETIME)); in ConvertToXperfAnimatorEvent() [all …]
|
/ohos5.0/base/hiviewdfx/hiview/plugins/crash_validator/ |
H A D | crash_validator.cpp | 142 int64_t happendTime = sysEvent->GetEventIntValue("time_"); in AddEventToMap() 149 (cppCrashEvents_[pid]->GetEventIntValue("time_") - happendTime > 0)) { in AddEventToMap() 164 int32_t status = sysEvent->GetEventIntValue("STATUS"); in IsNormalExitEvent() 192 int32_t pid = sysEvent->GetEventIntValue("PID"); in OnEvent() 194 sysEvent->GetEventIntValue("ERROR_CODE") == CRASH_DUMP_LOCAL_REPORT) { in OnEvent() 216 int32_t status = sysEvent->GetEventIntValue("STATUS"); in OnEvent() 248 "PID", sysEvent->GetEventIntValue("PID"), in ReportMatchEvent() 249 "UID", sysEvent->GetEventIntValue("UID"), in ReportMatchEvent() 250 "HAPPEN_TIME", sysEvent->GetEventIntValue("HAPPEN_TIME"), in ReportMatchEvent() 266 "PID", sysEvent->GetEventIntValue("PID"), in ReportDisMatchEvent() [all …]
|
/ohos5.0/base/hiviewdfx/hiview/plugins/faultlogger/service/ |
H A D | faultlog_database.cpp | 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()
|
/ohos5.0/base/hiviewdfx/hiview/base/test/unittest/common/ |
H A D | sys_event_test.cpp | 172 dest = sysEvent->GetEventIntValue("INT_VAL2"); 174 dest = sysEvent->GetEventIntValue("INT_VAL3"); 176 dest = sysEvent->GetEventIntValue("INT_VAL4"); 178 dest = sysEvent->GetEventIntValue("UINT_VAL1"); 180 dest = sysEvent->GetEventIntValue("UINT_VAL2"); 182 dest = sysEvent->GetEventIntValue("UINT_VAL3"); 278 dest = sysEvent->GetEventIntValue("type_"); 280 dest = sysEvent->GetEventIntValue("time_"); 282 dest = sysEvent->GetEventIntValue("tz_"); 284 dest = sysEvent->GetEventIntValue("pid_"); [all …]
|
/ohos5.0/base/hiviewdfx/hiview/plugins/eventlogger/ |
H A D | event_logger.cpp | 91 long pid = sysEvent->GetEventIntValue("PID"); in GetEventPid() 166 int32_t pid = static_cast<int32_t>(event->GetEventIntValue("PID")); in GetFile() 188 long pid = event->GetEventIntValue("PID") ? event->GetEventIntValue("PID") : event->GetPid(); in StartFfrtDump() 311 long pid = event->GetEventIntValue("PID") ? event->GetEventIntValue("PID") : event->GetPid(); in SaveDbToFile() 312 long uid = event->GetEventIntValue("UID") ? event->GetEventIntValue("UID") : event->GetUid(); in SaveDbToFile() 330 event->GetEventIntValue("UID"), event->happenTime_); in StartLogCollect() 486 long pid = event->GetEventIntValue("PID"); in WriteCommonHead() 489 long uid = event->GetEventIntValue("UID"); in WriteCommonHead() 492 if (event->GetEventIntValue("TID")) { in WriteCommonHead() 708 … long pid = event->GetEventIntValue("PID") ? event->GetEventIntValue("PID") : event->GetPid(); in GetFailedDumpStackMsg() [all …]
|
/ohos5.0/base/hiviewdfx/hiview/plugins/freeze_detector/ |
H A D | db_helper.cpp | 38 long pid = record->GetEventIntValue(FreezeCommon::EVENT_PID); in GetResultMap() 46 long uid = record->GetEventIntValue(FreezeCommon::EVENT_UID); in GetResultMap()
|
H A D | freeze_detector_plugin.cpp | 106 long pid = sysEvent.GetEventIntValue(FreezeCommon::EVENT_PID); in MakeWatchPoint() 108 long uid = sysEvent.GetEventIntValue(FreezeCommon::EVENT_UID); in MakeWatchPoint()
|
/ohos5.0/base/hiviewdfx/hiview/plugins/unified_collector/app_trace/ |
H A D | app_trace_context.cpp | 183 if (sysEvent.GetEventIntValue(UCollectUtil::SYS_EVENT_PARAM_JANK_LEVEL) < in PublishStackEvent() 194 eventJson[UCollectUtil::APP_EVENT_PARAM_BEGIN_TIME] = sysEvent.GetEventIntValue( in PublishStackEvent() 196 eventJson[UCollectUtil::APP_EVENT_PARAM_END_TIME] = sysEvent.GetEventIntValue( in PublishStackEvent()
|
/ohos5.0/base/hiviewdfx/hiview/plugins/unified_collector/test/unittest/common/mock/ |
H A D | mock_function_jumble.cpp | 71 int64_t SysEvent::GetEventIntValue(const std::string& key) in GetEventIntValue() function in OHOS::HiviewDFX::SysEvent
|
/ohos5.0/base/hiviewdfx/hiview/plugins/reliability/leak_detectors/ |
H A D | fault_detector_manager.cpp | 135 …kDetector::GetInstance().ProcessUserEvent(processName, eventMsg, sysEvent.GetEventIntValue("PID")); in OnEventListeningCallback()
|
/ohos5.0/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/ |
H A D | event_log_task.cpp | 52 int pid = event_->GetEventIntValue("PID"); in EventLogTask() 474 int32_t eventId = event_->GetEventIntValue("INPUT_ID"); in InputHilogCapture() 489 int32_t remotePid = event_->GetEventIntValue("REMOTE_PID"); in RemoteStackCapture()
|
/ohos5.0/base/hiviewdfx/hiview/plugins/freeze_detector/test/unittest/common/ |
H A D | freeze_detector_test.cpp | 242 uint64_t time = sysEvent->GetEventIntValue("time_"); 293 uint64_t time = sysEvent->GetEventIntValue("time_");
|
/ohos5.0/base/hiviewdfx/hiview/plugins/usage_event_report/cache/ |
H A D | fold_event_cacher.cpp | 221 int nextFoldStatus = event->GetEventIntValue(FoldStateChangeEventSpace::KEY_OF_NEXT_STATUS); in ProcessSceenStatusChangedEvent() 224 int nextMode = event->GetEventIntValue(VhModeChangeEventSpace::KEY_OF_MODE); in ProcessSceenStatusChangedEvent()
|
/ohos5.0/base/hiviewdfx/hiview/plugins/unified_collector/ |
H A D | unified_collector.cpp | 85 int32_t procGroup = sysEvent.GetEventIntValue("PROCESS_NEWGROUP"); in GetProcessStateByGroup() 270 int32_t procId = sysEvent.GetEventIntValue("APP_PID"); in OnEventListeningCallback()
|
/ohos5.0/base/hiviewdfx/hiview/base/include/ |
H A D | sys_event.h | 92 int64_t GetEventIntValue(const std::string& key);
|
/ohos5.0/base/hiviewdfx/hiview/base/ |
H A D | sys_event.cpp | 301 int64_t SysEvent::GetEventIntValue(const std::string& key) in GetEventIntValue() function in OHOS::HiviewDFX::SysEvent
|
H A D | libhiviewbase.map | 60 …"OHOS::HiviewDFX::SysEvent::GetEventIntValue(std::__h::basic_string<char, std::__h::char_traits<ch…
|