Searched refs:HiviewGlobal (Results 1 – 14 of 14) sorted by relevance
/base/hiviewdfx/hiview/base/ |
D | hiview_global.cpp | 20 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 …]
|
D | event.cpp | 78 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()
|
D | libhiviewbase.map | 6 "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/ |
D | hiview_global.h | 26 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/ |
D | running_status_logger_test.cpp | 48 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/ |
D | event_dispatcher_test.cpp | 111 HiviewGlobal::CreateInstance(context); in SetUp() 112 ASSERT_NE(HiviewGlobal::GetInstance(), nullptr); in SetUp() 117 HiviewGlobal::ReleaseInstance(); in TearDown()
|
/base/hiviewdfx/hiview/base/event_store/ |
D | sys_event_dao.cpp | 88 HiviewGlobal::GetInstance()->PostUnorderedEvent(sysEvent); in Update() 168 std::string workPath = HiviewGlobal::GetInstance()->GetHiViewDirectory( in GetDataDir()
|
/base/hiviewdfx/hiview/core/ |
D | platform_monitor.cpp | 270 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()
|
D | hiview_platform.cpp | 84 HiviewGlobal::ReleaseInstance(); in ~HiviewPlatform() 146 HiviewGlobal::CreateInstance(static_cast<HiviewContext&>(*this)); in InitEnvironment()
|
/base/hiviewdfx/hiview/plugins/eventservice/ |
D | sys_event_service.cpp | 50 … HiviewGlobal::GetInstance()->GetHiViewDirectory(HiviewContext::DirectoryType::CONFIG_DIRECTORY); in OnLoad()
|
D | event_json_parser.cpp | 358 std::string workPath = HiviewGlobal::GetInstance()->GetHiViewDirectory( in EventJsonParser()
|
/base/hiviewdfx/hiview/base/running_status_logger/ |
D | running_status_logger.cpp | 74 std::string workPath = HiviewGlobal::GetInstance()->GetHiViewDirectory( in GetLogDir()
|
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/test/unittest/common/ |
D | sys_event_service_ohos_test.cpp | 564 HiviewGlobal::CreateInstance(hiviewTestContext); 595 HiviewGlobal::CreateInstance(hiviewTestContext); 735 HiviewGlobal::CreateInstance(hiviewTestContext); 768 HiviewGlobal::CreateInstance(hiviewTestContext);
|
/base/hiviewdfx/hiview/plugins/eventservice/test/unittest/common/ |
D | event_service_action_test.cpp | 68 … HiviewGlobal::GetInstance()->GetHiViewDirectory(HiviewContext::DirectoryType::CONFIG_DIRECTORY);
|