Home
last modified time | relevance | path

Searched refs:HiviewGlobal (Results 1 – 14 of 14) sorted by relevance

/base/hiviewdfx/hiview/base/
Dhiview_global.cpp20 std::unique_ptr<HiviewGlobal>& GetOrSetGlobalReference(std::unique_ptr<HiviewGlobal> ref, bool stat… in GetOrSetGlobalReference()
22 static std::unique_ptr<HiviewGlobal> globalRef = nullptr; in GetOrSetGlobalReference()
32 void HiviewGlobal::CreateInstance(HiviewContext& context) in CreateInstance()
34 auto globalRef = std::make_unique<HiviewGlobal>(context); in CreateInstance()
38 void HiviewGlobal::ReleaseInstance() in ReleaseInstance()
43 std::unique_ptr<HiviewGlobal>& HiviewGlobal::GetInstance() in GetInstance()
48 std::string HiviewGlobal::GetHiViewDirectory(HiviewContext::DirectoryType type) const in GetHiViewDirectory()
53 std::string HiviewGlobal::GetHiviewProperty(const std::string& key, const std::string& defaultValue) in GetHiviewProperty()
58 bool HiviewGlobal::SetHiviewProperty(const std::string& key, const std::string& value, bool forceUp… in SetHiviewProperty()
63 void HiviewGlobal::PostAsyncEventToTarget(const std::string &targetPlugin, std::shared_ptr<Event> e… in PostAsyncEventToTarget()
[all …]
Devent.cpp78 auto& context = HiviewGlobal::GetInstance(); in AddListenerInfo()
90 auto& context = HiviewGlobal::GetInstance(); in AddListenerInfo()
100 auto& context = HiviewGlobal::GetInstance(); in GetListenerInfo()
109 auto& context = HiviewGlobal::GetInstance(); in AddListenerInfo()
121 auto& context = HiviewGlobal::GetInstance(); in AddListenerInfo()
131 auto& context = HiviewGlobal::GetInstance(); in GetListenerInfo()
Dlibhiviewbase.map6 "OHOS::HiviewDFX::HiviewGlobal::ReleaseInstance()";
8 "OHOS::HiviewDFX::HiviewGlobal::CreateInstance(OHOS::HiviewDFX::HiviewContext&)";
46 "OHOS::HiviewDFX::HiviewGlobal::GetInstance()";
47 …"OHOS::HiviewDFX::HiviewGlobal::PostSyncEventToTarget(std::__h::basic_string<char, std::__h::char_…
88 …"OHOS::HiviewDFX::HiviewGlobal::GetHiViewDirectory(OHOS::HiviewDFX::HiviewContext::DirectoryType) …
111 … "OHOS::HiviewDFX::HiviewGlobal::PostUnorderedEvent(std::__h::shared_ptr<OHOS::HiviewDFX::Event>)";
195 …"OHOS::HiviewDFX::HiviewGlobal::PostSyncEventToTarget(std::__1::basic_string<char, std::__1::char_…
221 … "OHOS::HiviewDFX::HiviewGlobal::PostUnorderedEvent(std::__1::shared_ptr<OHOS::HiviewDFX::Event>)";
/base/hiviewdfx/hiview/base/include/
Dhiview_global.h26 class DllExport HiviewGlobal {
28 explicit HiviewGlobal(HiviewContext& context) : context_(context) {} in HiviewGlobal() function
29 ~HiviewGlobal() {}; in ~HiviewGlobal()
33 static std::unique_ptr<HiviewGlobal>& GetInstance();
/base/hiviewdfx/hiview/base/running_status_logger/test/unittest/common/
Drunning_status_logger_test.cpp48 std::string workPath = HiviewGlobal::GetInstance()->GetHiViewDirectory( in GetLogDir()
111 HiviewGlobal::CreateInstance(hiviewTestContext);
139 HiviewGlobal::CreateInstance(hiviewTestContext);
172 HiviewGlobal::CreateInstance(hiviewTestContext);
204 HiviewGlobal::CreateInstance(hiviewTestContext);
249 HiviewGlobal::CreateInstance(hiviewTestContext);
/base/hiviewdfx/hiview/base/test/unittest/common/
Devent_dispatcher_test.cpp111 HiviewGlobal::CreateInstance(context); in SetUp()
112 ASSERT_NE(HiviewGlobal::GetInstance(), nullptr); in SetUp()
117 HiviewGlobal::ReleaseInstance(); in TearDown()
/base/hiviewdfx/hiview/base/event_store/
Dsys_event_dao.cpp88 HiviewGlobal::GetInstance()->PostUnorderedEvent(sysEvent); in Update()
168 std::string workPath = HiviewGlobal::GetInstance()->GetHiViewDirectory( in GetDataDir()
/base/hiviewdfx/hiview/core/
Dplatform_monitor.cpp270 HiviewGlobal::GetInstance()->PostSyncEventToTarget(EVENT_SERVICE_PLUGIN, sysEvent); in ReportCycleProfile()
368 HiviewGlobal::GetInstance()->PostSyncEventToTarget(EVENT_SERVICE_PLUGIN, sysEvent); in ReportBreakProfile()
379 HiviewGlobal::GetInstance()->PostSyncEventToTarget(EVENT_SERVICE_PLUGIN, sysEvent); in ReportRecoverProfile()
Dhiview_platform.cpp84 HiviewGlobal::ReleaseInstance(); in ~HiviewPlatform()
146 HiviewGlobal::CreateInstance(static_cast<HiviewContext&>(*this)); in InitEnvironment()
/base/hiviewdfx/hiview/plugins/eventservice/
Dsys_event_service.cpp50HiviewGlobal::GetInstance()->GetHiViewDirectory(HiviewContext::DirectoryType::CONFIG_DIRECTORY); in OnLoad()
Devent_json_parser.cpp358 std::string workPath = HiviewGlobal::GetInstance()->GetHiViewDirectory( in EventJsonParser()
/base/hiviewdfx/hiview/base/running_status_logger/
Drunning_status_logger.cpp74 std::string workPath = HiviewGlobal::GetInstance()->GetHiViewDirectory( in GetLogDir()
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/test/unittest/common/
Dsys_event_service_ohos_test.cpp564 HiviewGlobal::CreateInstance(hiviewTestContext);
595 HiviewGlobal::CreateInstance(hiviewTestContext);
735 HiviewGlobal::CreateInstance(hiviewTestContext);
768 HiviewGlobal::CreateInstance(hiviewTestContext);
/base/hiviewdfx/hiview/plugins/eventservice/test/unittest/common/
Devent_service_action_test.cpp68HiviewGlobal::GetInstance()->GetHiViewDirectory(HiviewContext::DirectoryType::CONFIG_DIRECTORY);