/base/hiviewdfx/hiview/test/plugins/examples/event_processor_example4/ |
D | event_processor_example4.cpp | 65 if (GetHiviewContext() != nullptr) { in OnEvent() 67 GetHiviewContext()->PostUnorderedEvent(shared_from_this(), event); in OnEvent() 69 GetHiviewContext()->RequestUnloadPlugin(shared_from_this()); in OnEvent() 78 if (GetHiviewContext() != nullptr) { in OnEvent() 80 …GetHiviewContext()->PostUnorderedEvent(shared_from_this(), Event::Repack<Event, Event>(event, fals… in OnEvent() 83 if (GetHiviewContext() != nullptr) { in OnEvent() 84 … GetHiviewContext()->SetHiviewProperty("EPE4_OnEvent", "received : " + event->eventName_, true); in OnEvent() 103 GetHiviewContext()->SetHiviewProperty("EPE4_Listening", "received : " + msg.eventName_, true); in OnEventListeningCallback()
|
/base/hiviewdfx/hiview/test/plugins/examples/event_processor_example1/ |
D | event_processor_example1.cpp | 66 if (GetHiviewContext() != nullptr) { in OnEvent() 67 … GetHiviewContext()->SetHiviewProperty("EPE1_OnEvent", "received : " + event->eventName_, true); in OnEvent() 79 if (GetHiviewContext() != nullptr) { in HandleEvent() 81 GetHiviewContext()->PostUnorderedEvent(shared_from_this(), event); in HandleEvent()
|
/base/hiviewdfx/hiview/test/plugins/examples/event_processor_example2/ |
D | event_processor_example2.cpp | 69 if (GetHiviewContext() != nullptr) { in OnEvent() 70 … GetHiviewContext()->SetHiviewProperty("EPE2_OnEvent", "received : " + event->eventName_, true); in OnEvent() 82 GetHiviewContext()->RegisterUnorderedEventListener(ptr); in OnLoad() 93 GetHiviewContext()->SetHiviewProperty("EPE2_Listening", "received : " + msg.eventName_, true); in OnUnorderedEvent()
|
/base/hiviewdfx/hiview/test/plugins/examples/dynamic_load_plugin_example/ |
D | dynamic_load_plugin_example.cpp | 39 GetHiviewContext()->RegisterUnorderedEventListener(ptr); in OnLoad() 54 GetHiviewContext()->RequestUnloadPlugin(shared_from_this()); in OnUnorderedEvent() 58 GetHiviewContext()->SetHiviewProperty("DPE_Listening", "received : " + msg.eventName_, true); in OnUnorderedEvent()
|
/base/hiviewdfx/hiview/plugins/sys_dispatcher/ |
D | sys_dispatcher.cpp | 33 this->GetHiviewContext()->PostUnorderedEvent(shared_from_this(), event); in OnLoad() 36 SysEventServiceAdapter::SetWorkLoop(this->GetHiviewContext()->GetSharedWorkLoop()); in OnLoad() 47 …auto dispatchList = GetHiviewContext()->GetDisPatcherInfo(sysEvent->eventType_, sysEvent->eventNam… in DispatchEvent()
|
/base/hiviewdfx/hiview/test/plugins/examples_bundle/bundle_plugin_example2/ |
D | bundle_plugin_example2.cpp | 47 GetHiviewContext()->SetHiviewProperty("BE2_OnEvent", "received : " + event->eventName_, true); in OnEvent() 54 GetHiviewContext()->AppendPluginToPipeline(GetName(), "NormalPipeline"); in OnLoad()
|
/base/hiviewdfx/hiview/test/plugins/examples/event_processor_example3/ |
D | event_processor_example3.cpp | 59 if (GetHiviewContext() != nullptr) { in OnEvent() 60 … GetHiviewContext()->SetHiviewProperty("EPE3_OnEvent", "received : " + event->eventName_, true); in OnEvent()
|
/base/hiviewdfx/hiview/base/ |
D | plugin_proxy.cpp | 92 if (plugin_ == nullptr && GetHiviewContext() != nullptr) { in LoadPluginIfNeed() 93 plugin_ = GetHiviewContext()->InstancePluginByProxy(shared_from_this()); in LoadPluginIfNeed()
|
D | pipeline.cpp | 121 if (caller == nullptr || event == nullptr || caller->GetHiviewContext() == nullptr) { in FillPipelineInfo() 125 auto seq = caller->GetHiviewContext()->GetPipelineSequenceByName(pipelineName); in FillPipelineInfo()
|
/base/hiviewdfx/hiview/test/plugins/examples_bundle/bundle_plugin_example1/ |
D | bundle_plugin_example1.cpp | 46 GetHiviewContext()->SetHiviewProperty("BE1_OnEvent", "received : " + event->eventName_, true); in OnEvent()
|
/base/hiviewdfx/hiview/test/plugins/examples_bundle/bundle_plugin_example3/ |
D | bundle_plugin_example3.cpp | 65 GetHiviewContext()->SetHiviewProperty("BE3_Listening", "received : " + msg.eventName_, true); in OnEventListeningCallback()
|
/base/hiviewdfx/hiview/plugins/sysevent_source/ |
D | sysevent_source.cpp | 69 std::shared_ptr<EventLoop> looper = GetHiviewContext()->GetSharedWorkLoop(); in OnLoad()
|
/base/hiviewdfx/hiview/plugins/usage_event_report/ |
D | usage_event_report.cpp | 78 if (auto context = GetHiviewContext(); context != nullptr) { in Init()
|
/base/hiviewdfx/hiview/ |
D | hiview_zh.md | 79 HiviewContext* GetHiviewContext(); 354 平台提供的功能在插件中可以通过调用GetHiviewContext()获得平台接口上下文。平台提供的主要的功能接口如下:
|
/base/hiviewdfx/hiview/plugins/faultlogger/service/ |
D | faultlogger.cpp | 402 mgr_ = std::make_unique<FaultLogManager>(GetHiviewContext()->GetSharedWorkLoop()); in OnLoad() 410 auto eventloop = GetHiviewContext()->GetSharedWorkLoop(); in OnLoad()
|
/base/hiviewdfx/hiview/base/include/ |
D | plugin.h | 116 HiviewContext* GetHiviewContext() in GetHiviewContext() function
|
/base/hiviewdfx/hiview/plugins/eventlogger/ |
D | event_logger.cpp | 474 auto context = GetHiviewContext(); in OnLoad() 528 auto context = GetHiviewContext(); in CreateAndPublishEvent()
|