Home
last modified time | relevance | path

Searched refs:FreezeCommon (Results 1 - 13 of 13) sorted by relevance

/base/hiviewdfx/hiview/plugins/freeze_detector/
H A Dfreeze_common.cpp27 FreezeCommon::FreezeCommon() in FreezeCommon() function in OHOS::HiviewDFX::FreezeCommon
32 FreezeCommon::~FreezeCommon() in ~FreezeCommon()
37 bool FreezeCommon::Init() in Init()
43 bool FreezeCommon::IsFreezeEvent(const std::string& domain, const std::string& stringId) const in IsFreezeEvent()
49 bool FreezeCommon::IsApplicationEvent(const std::string& domain, const std::string& stringId) const in IsApplicationEvent()
54 bool FreezeCommon::IsSystemEvent(const std::string& domain, const std::string& stringId) const in IsSystemEvent()
59 bool FreezeCommon::IsSysWarningEvent(const std::string& domain, const std::string& stringId) const in IsSysWarningEvent()
64 bool FreezeCommon
[all...]
H A Dfreeze_detector_plugin.cpp47 freezeCommon_ = std::make_shared<FreezeCommon>(); in ReadyToLoad()
60 freezeCommon_ = std::make_shared<FreezeCommon>(); in OnLoad()
110 long pid = sysEvent.GetEventIntValue(FreezeCommon::EVENT_PID); in MakeWatchPoint()
112 long uid = sysEvent.GetEventIntValue(FreezeCommon::EVENT_UID); in MakeWatchPoint()
114 std::string packageName = sysEvent.GetEventValue(FreezeCommon::EVENT_PACKAGE_NAME); in MakeWatchPoint()
115 std::string processName = sysEvent.GetEventValue(FreezeCommon::EVENT_PROCESS_NAME); in MakeWatchPoint()
116 std::string hiteaceTime = sysEvent.GetEventValue(FreezeCommon::HIREACE_TIME); in MakeWatchPoint()
117 std::string sysrqTime = sysEvent.GetEventValue(FreezeCommon::SYSRQ_TIME); in MakeWatchPoint()
H A Dfreeze_common.h30 class FreezeCommon { class
39 FreezeCommon();
40 ~FreezeCommon();
H A Ddb_helper.h36 explicit DBHelper(std::shared_ptr<FreezeCommon> fc) : freezeCommon_(fc) {}; in DBHelper()
43 std::shared_ptr<FreezeCommon> freezeCommon_;
H A Ddb_helper.cpp38 std::string packageName = record->GetEventValue(FreezeCommon::EVENT_PACKAGE_NAME); in GetResultMap()
40 record->GetEventValue(FreezeCommon::EVENT_PROCESS_NAME) : packageName; in GetResultMap()
41 long pid = record->GetEventIntValue(FreezeCommon::EVENT_PID); in GetResultMap()
49 long uid = record->GetEventIntValue(FreezeCommon::EVENT_UID); in GetResultMap()
56 .InitProcessName(record->GetEventValue(FreezeCommon::EVENT_PROCESS_NAME)) in GetResultMap()
H A Dresolver.h33 explicit FreezeResolver(std::shared_ptr<FreezeCommon> fc) in FreezeResolver()
51 std::shared_ptr<FreezeCommon> freezeCommon_ = nullptr;
H A Dvendor.h34 explicit Vendor(std::shared_ptr<FreezeCommon> fc) : freezeCommon_(fc) {}; in Vendor()
59 std::shared_ptr<FreezeCommon> freezeCommon_ = nullptr;
H A Dfreeze_detector_plugin.h46 std::shared_ptr<FreezeCommon> freezeCommon_ = nullptr;
H A Dvendor.cpp146 info.sectionMaps[FreezeCommon::HIREACE_TIME] = watchPoint.GetHitraceTime(); in SendFaultLog()
147 info.sectionMaps[FreezeCommon::SYSRQ_TIME] = watchPoint.GetSysrqTime(); in SendFaultLog()
162 oss << FreezeCommon::EVENT_PID << std::string(COLON) << watchPoint.GetPid() << std::endl; in DumpEventInfo()
163 oss << FreezeCommon::EVENT_UID << std::string(COLON) << watchPoint.GetUid() << std::endl; in DumpEventInfo()
164 oss << FreezeCommon::EVENT_PACKAGE_NAME << std::string(COLON) << watchPoint.GetPackageName() << std::endl; in DumpEventInfo()
165 oss << FreezeCommon::EVENT_PROCESS_NAME << std::string(COLON) << watchPoint.GetProcessName() << std::endl; in DumpEventInfo()
/base/hiviewdfx/hiview/plugins/freeze_detector/test/unittest/common/
H A Dfreeze_detector_unittest.cpp87 auto freezeCommon = std::make_shared<FreezeCommon>(); in HWTEST_F()
98 auto freezeCommon = std::make_shared<FreezeCommon>(); in HWTEST_F()
111 auto freezeCommon = std::make_shared<FreezeCommon>(); in HWTEST_F()
126 auto freezeCommon = std::make_shared<FreezeCommon>(); in HWTEST_F()
146 auto freezeCommon = std::make_shared<FreezeCommon>(); in HWTEST_F()
164 auto freezeCommon = std::make_shared<FreezeCommon>(); in HWTEST_F()
183 auto freezeCommon = std::make_shared<FreezeCommon>(); in HWTEST_F()
235 auto freezeCommon = std::make_shared<FreezeCommon>(); in HWTEST_F()
252 auto freezeCommon = std::make_shared<FreezeCommon>(); in HWTEST_F()
281 auto freezeCommon = std::make_shared<FreezeCommon>(); in HWTEST_F()
[all...]
H A Dfreeze_detector_test.cpp481 * @tc.desc: FreezeCommon
487 auto freezeCommon = std::make_shared<FreezeCommon>(); in HWTEST_F()
/base/hiviewdfx/hiview/plugins/eventlogger/include/
H A Devent_logger.h65 std::shared_ptr<FreezeCommon> freezeCommon_ = nullptr;
/base/hiviewdfx/hiview/plugins/eventlogger/
H A Devent_logger.cpp925 FreezeCommon freezeCommon; in OnLoad()
927 HIVIEW_LOGE("FreezeCommon filed."); in OnLoad()
954 freezeCommon_ = std::make_shared<FreezeCommon>(); in OnLoad()

Completed in 7 milliseconds