Home
last modified time | relevance | path

Searched defs:sysEvent (Results 1 – 25 of 66) sorted by relevance

123

/base/hiviewdfx/hiview/base/test/unittest/common/
Dsys_event_test.cpp110 … std::shared_ptr<SysEvent> sysEvent = std::make_shared<SysEvent>("test", nullptr, sysEventCreator); variable
135 … std::shared_ptr<SysEvent> sysEvent = std::make_shared<SysEvent>("test", nullptr, sysEventCreator); variable
168 auto sysEvent = std::make_shared<SysEvent>("SysEventSource", nullptr, jsonStr); variable
211 auto sysEvent = std::make_shared<SysEvent>("SysEventSource", nullptr, jsonStr); variable
246 auto sysEvent = std::make_shared<SysEvent>("SysEventSource", nullptr, jsonStr); variable
274 auto sysEvent = std::make_shared<SysEvent>("SysEventSource", nullptr, jsonStr); variable
320 auto sysEvent = std::make_shared<SysEvent>("SysEventSource", nullptr, jsonStr); variable
361 auto sysEvent = std::make_shared<SysEvent>("SysEventSource", nullptr, jsonStr); variable
396 auto sysEvent = std::make_shared<SysEvent>("SysEventSource", nullptr, jsonStr); variable
426 auto sysEvent = std::make_shared<SysEvent>("SysEventSource", nullptr, GetOriginTestString()); variable
[all …]
/base/hiviewdfx/hisysevent/test/moduletest/common/
Dhisysevent_wrote_result_check_test.cpp75 void OnEvent(std::shared_ptr<HiSysEventRecord> sysEvent) final in OnEvent()
144 auto watcher = std::make_shared<Watcher>([val] (std::shared_ptr<HiSysEventRecord> sysEvent) { in __anon20f0049c0202()
165 auto watcher = std::make_shared<Watcher>([val] (std::shared_ptr<HiSysEventRecord> sysEvent) { in __anon20f0049c0302()
186 auto watcher = std::make_shared<Watcher>([val] (std::shared_ptr<HiSysEventRecord> sysEvent) { in __anon20f0049c0402()
207 auto watcher = std::make_shared<Watcher>([val] (std::shared_ptr<HiSysEventRecord> sysEvent) { in __anon20f0049c0502()
227 auto watcher = std::make_shared<Watcher>([val] (std::shared_ptr<HiSysEventRecord> sysEvent) { in __anon20f0049c0602()
252 auto watcher = std::make_shared<Watcher>([&val] (std::shared_ptr<HiSysEventRecord> sysEvent) { in __anon20f0049c0702()
278 auto watcher = std::make_shared<Watcher>([&val] (std::shared_ptr<HiSysEventRecord> sysEvent) { in __anon20f0049c0802()
304 auto watcher = std::make_shared<Watcher>([&val] (std::shared_ptr<HiSysEventRecord> sysEvent) { in __anon20f0049c0902()
330 auto watcher = std::make_shared<Watcher>([&val] (std::shared_ptr<HiSysEventRecord> sysEvent) { in __anon20f0049c0a02()
[all …]
/base/hiviewdfx/hiview/plugins/reliability/bbox_detectors/test/moduletest/
Dbbox_detector_module_test.cpp73 auto sysEvent = make_shared<SysEvent>("test", nullptr, sysEventCreator); variable
116 auto sysEvent = make_shared<SysEvent>("test", nullptr, sysEventCreator); variable
159 auto sysEvent = make_shared<SysEvent>("test", nullptr, sysEventCreator); variable
201 auto sysEvent = make_shared<SysEvent>("test", nullptr, sysEventCreator); variable
247 auto sysEvent = make_shared<SysEvent>("test", nullptr, sysEventCreator); variable
286 auto sysEvent = make_shared<SysEvent>("test", nullptr, sysEventCreator); variable
322 auto sysEvent = make_shared<SysEvent>("test", nullptr, sysEventCreator); variable
360 auto sysEvent = make_shared<SysEvent>("test", nullptr, sysEventCreator); variable
396 auto sysEvent = make_shared<SysEvent>("test", nullptr, sysEventCreator); variable
/base/hiviewdfx/hiview/plugins/crash_validator/
Dcrash_validator.cpp87 std::shared_ptr<SysEvent> sysEvent = Event::DownCastTo<SysEvent>(event); in Convert2SysEvent() local
153 void CrashValidator::AddEventToMap(int32_t pid, std::shared_ptr<SysEvent> sysEvent) in AddEventToMap()
185 static bool IsNormalExitEvent(std::shared_ptr<SysEvent> sysEvent) in IsNormalExitEvent()
208 std::shared_ptr<SysEvent> sysEvent = Convert2SysEvent(event); in OnEvent() local
253 void CrashValidator::ReportMatchEvent(std::string eventName, std::shared_ptr<SysEvent> sysEvent) in ReportMatchEvent()
282 void CrashValidator::ReportDisMatchEvent(std::shared_ptr<SysEvent> sysEvent) in ReportDisMatchEvent()
/base/hiviewdfx/hiview/plugins/sys_dispatcher/
Dsys_dispatcher.cpp41 void SysEventDispatcher::DispatchEvent(std::shared_ptr<SysEvent>& sysEvent) in DispatchEvent()
63 std::shared_ptr<SysEvent> sysEvent = Event::DownCastTo<SysEvent>(event); in Convert2SysEvent() local
72 auto sysEvent = Convert2SysEvent(event); in OnEvent() local
/base/hiviewdfx/hiview/plugins/faultlogger/service/fault_event/base/
Dfaultlog_event_base.cpp40 void FaultLogEventBase::UpdateSysEvent(SysEvent& sysEvent, FaultLogInfo& info) in UpdateSysEvent()
78 void FaultLogEventBase::FillCommonFaultLogInfo(SysEvent& sysEvent, FaultLogInfo& info) const in FillCommonFaultLogInfo()
104 void FaultLogEventBase::FillTimestampInfo(const SysEvent& sysEvent, FaultLogInfo& info) const in FillTimestampInfo() argument
121 auto sysEvent = std::static_pointer_cast<SysEvent>(event); in ProcessFaultLogEvent() local
Dfaultlog_event_base.h28 …virtual bool ReportToAppEvent(std::shared_ptr<SysEvent> sysEvent, const FaultLogInfo& info) const … in ReportToAppEvent()
30 virtual void FillSpecificFaultLogInfo(SysEvent& sysEvent, FaultLogInfo& info) const {} in FillSpecificFaultLogInfo()
/base/hiviewdfx/hiview/base/event_store/store/
Dsys_event_doc.cpp47 int SysEventDoc::Insert(const std::shared_ptr<SysEvent>& sysEvent) in Insert()
86 int SysEventDoc::InitWriter(const std::shared_ptr<SysEvent>& sysEvent) in InitWriter()
121 int SysEventDoc::UpdateCurFile(const std::shared_ptr<SysEvent>& sysEvent) in UpdateCurFile()
166 int SysEventDoc::CreateCurFile(const std::string& dir, const std::shared_ptr<SysEvent>& sysEvent) in CreateCurFile()
/base/hiviewdfx/hiview/plugins/faultlogger/service/fault_event/event/
Dfaultlog_cjerror.cpp23 bool FaultLogCjError::ReportToAppEvent(std::shared_ptr<SysEvent> sysEvent, const FaultLogInfo& info… in ReportToAppEvent()
42 void FaultLogCjError::FillSpecificFaultLogInfo(SysEvent& sysEvent, FaultLogInfo& info) const in FillSpecificFaultLogInfo()
Dfaultlog_jserror.cpp24 bool FaultLogJsError::ReportToAppEvent(std::shared_ptr<SysEvent> sysEvent, const FaultLogInfo& info… in ReportToAppEvent()
43 void FaultLogJsError::FillSpecificFaultLogInfo(SysEvent& sysEvent, FaultLogInfo& info) const in FillSpecificFaultLogInfo()
Dfaultlog_sanitizer.cpp58 bool FaultLogSanitizer::ReportToAppEvent(std::shared_ptr<SysEvent> sysEvent, const FaultLogInfo& in… in ReportToAppEvent()
106 void FaultLogSanitizer::FillSpecificFaultLogInfo(SysEvent& sysEvent, FaultLogInfo& info) const in FillSpecificFaultLogInfo()
/base/hiviewdfx/hiview/plugins/freeze_detector/test/unittest/common/
Dfreeze_detector_test.cpp51 auto sysEvent = std::make_shared<SysEvent>(name, nullptr, jsonStr); in makeEvent() local
180 auto sysEvent = std::make_shared<SysEvent>("FreezeDetectorProxyTest001", nullptr, jsonStr); variable
238 …auto sysEvent = makeEvent("FreezeDectorTest001", "AAFWK", "APP_INPUT_BLOCK", "FreezeDectorTest", l… variable
293 …auto sysEvent = makeEvent("FreezeDectorTest002", "GRAPHIC", "NO_DRAW", "FreezeDectorTest", logPath… variable
339 …auto sysEvent = makeEvent("FreezeDectorTest003", "ACE", "UI_BLOCK_6S", "FreezeDectorTest", logPath… variable
380 …auto sysEvent = makeEvent("FreezeDectorTest004", "AAFWK", "UI_BLOCK_3S", "FreezeDectorTest", logPa… variable
/base/hiviewdfx/hiview/base/event_store/utility/writer/
Dsys_event_doc_writer.cpp42 int SysEventDocWriter::Write(const std::shared_ptr<SysEvent>& sysEvent) in Write()
127 int SysEventDocWriter::GetContentSize(const std::shared_ptr<SysEvent>& sysEvent, uint32_t& contentS… in GetContentSize()
143 int SysEventDocWriter::WriteHeader(const std::shared_ptr<SysEvent>& sysEvent, uint32_t contentSize) in WriteHeader()
176 int SysEventDocWriter::WriteContent(const std::shared_ptr<SysEvent>& sysEvent, uint32_t contentSize) in WriteContent()
/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/test/unittest/common/
Devent_logger_catcher_test.cpp122 …std::shared_ptr<SysEvent> sysEvent = std::make_shared<SysEvent>("EventlogTask", nullptr, sysEventC… variable
151 …std::shared_ptr<SysEvent> sysEvent = std::make_shared<SysEvent>("EventlogTask", nullptr, sysEventC… variable
176 …std::shared_ptr<SysEvent> sysEvent = std::make_shared<SysEvent>("EventlogTask", nullptr, sysEventC… variable
266 …std::shared_ptr<SysEvent> sysEvent = std::make_shared<SysEvent>("EventlogTask", nullptr, sysEventC… variable
288 …std::shared_ptr<SysEvent> sysEvent = std::make_shared<SysEvent>("EventlogTask", nullptr, sysEventC… variable
336 …std::shared_ptr<SysEvent> sysEvent = std::make_shared<SysEvent>("EventlogTask", nullptr, sysEventC… variable
384 …std::shared_ptr<SysEvent> sysEvent = std::make_shared<SysEvent>("EventlogTask", nullptr, sysEventC… variable
429 …std::shared_ptr<SysEvent> sysEvent = std::make_shared<SysEvent>("EventlogTask", nullptr, sysEventC… variable
465 …std::shared_ptr<SysEvent> sysEvent = std::make_shared<SysEvent>("EventlogTask", nullptr, sysEventC… variable
491 …std::shared_ptr<SysEvent> sysEvent = std::make_shared<SysEvent>("EventlogTask", nullptr, sysEventC… variable
[all …]
/base/hiviewdfx/hiview/plugins/eventlogger/test/unittest/common/
Devent_logger_test.cpp116 std::shared_ptr<SysEvent> sysEvent = std::make_shared<SysEvent>(testName, variable
183 std::shared_ptr<SysEvent> sysEvent = std::make_shared<SysEvent>(testName, variable
220 std::shared_ptr<SysEvent> sysEvent = std::make_shared<SysEvent>(testName, variable
245 std::shared_ptr<SysEvent> sysEvent = std::make_shared<SysEvent>(testName, variable
276 std::shared_ptr<SysEvent> sysEvent = std::make_shared<SysEvent>(testName, variable
311 std::shared_ptr<SysEvent> sysEvent = std::make_shared<SysEvent>(testName, variable
336 std::shared_ptr<SysEvent> sysEvent = std::make_shared<SysEvent>(testName, variable
354 std::shared_ptr<SysEvent> sysEvent = std::make_shared<SysEvent>(testName, variable
384 std::shared_ptr<SysEvent> sysEvent = std::make_shared<SysEvent>(testName, variable
415 std::shared_ptr<SysEvent> sysEvent = std::make_shared<SysEvent>(testName, variable
[all …]
/base/hiviewdfx/hiview/base/event_store/test/unittest/common/
Dsys_event_repeat_test.cpp75 SysEvent sysEvent("test", nullptr, sysEventCreator); variable
106 SysEvent sysEvent("test", nullptr, sysEventCreator); variable
147 SysEvent sysEvent("test", nullptr, sysEventCreator); variable
Dsys_event_database_test.cpp61 … std::shared_ptr<SysEvent> sysEvent = std::make_shared<SysEvent>("test", nullptr, sysEventCreator); variable
/base/hiviewdfx/hiview/plugins/privacy_controller/
Dprivacy_controller.cpp55 bool PrivacyController::IsValidParam(std::shared_ptr<SysEvent>& sysEvent, in IsValidParam()
83 auto sysEvent = std::static_pointer_cast<SysEvent>(event); in OnEvent() local
/base/hiviewdfx/hisysevent/frameworks/native/
Dhisysevent_tool_listener.cpp30 void HiSysEventToolListener::OnEvent(std::shared_ptr<HiSysEventRecord> sysEvent) in OnEvent()
/base/hiviewdfx/hiview/plugins/performance/
DXperfPlugin.cpp121 SysEvent& sysEvent = static_cast<SysEvent&>(eventRef); in OnEventListeningCallback() local
145 void XperfPlugin::XperfDispatch(const SysEvent& sysEvent) in XperfDispatch()
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/
Dhisysevent_listener_c.cpp31 void HiSysEventListenerC::OnEvent(std::shared_ptr<OHOS::HiviewDFX::HiSysEventRecord> sysEvent) in OnEvent()
/base/powermgr/battery_statistics/test/unittest/include/servicetest/utils/
Dstats_service_write_event.h32 …std::shared_ptr<HiviewDFX::HiSysEventRecord> sysEvent = std::make_shared<HiviewDFX::HiSysEventReco… in StatsWriteHiSysEvent() local
/base/hiviewdfx/hiview/plugins/event_store/
Dsys_event_store.cpp115 std::shared_ptr<SysEvent> sysEvent = Event::DownCastTo<SysEvent>(event); in Convert2SysEvent() local
133 std::shared_ptr<SysEvent> sysEvent = Convert2SysEvent(event); in OnEvent() local
/base/hiviewdfx/hiview/plugins/usage_event_report/fold/
Dusage_fold_event_report.cpp39 auto sysEvent = Event::DownCastTo<SysEvent>(event); in ProcessEvent() local
/base/hiviewdfx/faultloggerd/tools/crash_validator/
Dcrash_validator.cpp64 void CrashValidator::OnEvent(std::shared_ptr<HiviewDFX::HiSysEventRecord> sysEvent) in OnEvent()
178 void CrashValidator::HandleCppCrashEvent(std::shared_ptr<HiviewDFX::HiSysEventRecord> sysEvent) in HandleCppCrashEvent()
198 void CrashValidator::HandleProcessExitEvent(std::shared_ptr<HiviewDFX::HiSysEventRecord> sysEvent) in HandleProcessExitEvent()

123