Searched refs:FreezeCommon (Results 1 – 14 of 14) sorted by relevance
/ohos5.0/base/hiviewdfx/hiview/plugins/freeze_detector/ |
H A D | freeze_common.cpp | 27 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() 93 bool FreezeCommon::IsSystemResult(const FreezeResult& result) const in IsSystemResult() 98 bool FreezeCommon::IsApplicationResult(const FreezeResult& result) const in IsApplicationResult() 103 bool FreezeCommon::IsSysWarningResult(const FreezeResult& result) const in IsSysWarningResult() 108 bool FreezeCommon::IsBetaVersion() const in IsBetaVersion() 113 std::set<std::string> FreezeCommon::GetPrincipalStringIds() const in GetPrincipalStringIds() 142 void FreezeCommon::WriteStartInfoToFd(int fd, const std::string& msg) in WriteStartInfoToFd() [all …]
|
H A D | vendor.cpp | 119 info.summary += FreezeCommon::DISPLAY_POWER_INFO + disPlayPowerInfo; in SendFaultLog() 121 info.sectionMaps[FreezeCommon::HIREACE_TIME] = watchPoint.GetHitraceTime(); in SendFaultLog() 122 info.sectionMaps[FreezeCommon::SYSRQ_TIME] = watchPoint.GetSysrqTime(); in SendFaultLog() 123 info.sectionMaps[FreezeCommon::FORE_GROUND] = watchPoint.GetForeGround(); in SendFaultLog() 133 oss << FreezeCommon::EVENT_DOMAIN << FreezeCommon::COLON << watchPoint.GetDomain() << std::endl; in DumpEventInfo() 134 …oss << FreezeCommon::EVENT_STRINGID << FreezeCommon::COLON << watchPoint.GetStringId() << std::end… in DumpEventInfo() 135 oss << FreezeCommon::EVENT_TIMESTAMP << FreezeCommon::COLON << in DumpEventInfo() 138 oss << FreezeCommon::EVENT_PID << FreezeCommon::COLON << watchPoint.GetPid() << std::endl; in DumpEventInfo() 139 oss << FreezeCommon::EVENT_UID << FreezeCommon::COLON << watchPoint.GetUid() << std::endl; in DumpEventInfo() 140 …oss << FreezeCommon::EVENT_PACKAGE_NAME << FreezeCommon::COLON << watchPoint.GetPackageName() << s… in DumpEventInfo() [all …]
|
H A D | freeze_detector_plugin.cpp | 43 freezeCommon_ = std::make_shared<FreezeCommon>(); in ReadyToLoad() 56 freezeCommon_ = std::make_shared<FreezeCommon>(); in OnLoad() 106 long pid = sysEvent.GetEventIntValue(FreezeCommon::EVENT_PID); in MakeWatchPoint() 108 long uid = sysEvent.GetEventIntValue(FreezeCommon::EVENT_UID); in MakeWatchPoint() 110 std::string packageName = sysEvent.GetEventValue(FreezeCommon::EVENT_PACKAGE_NAME); in MakeWatchPoint() 111 std::string processName = sysEvent.GetEventValue(FreezeCommon::EVENT_PROCESS_NAME); in MakeWatchPoint() 112 std::string hiteaceTime = sysEvent.GetEventValue(FreezeCommon::HIREACE_TIME); in MakeWatchPoint() 113 std::string sysrqTime = sysEvent.GetEventValue(FreezeCommon::SYSRQ_TIME); in MakeWatchPoint()
|
H A D | db_helper.cpp | 35 std::string packageName = record->GetEventValue(FreezeCommon::EVENT_PACKAGE_NAME); in GetResultMap() 37 record->GetEventValue(FreezeCommon::EVENT_PROCESS_NAME) : packageName; in GetResultMap() 38 long pid = record->GetEventIntValue(FreezeCommon::EVENT_PID); in GetResultMap() 46 long uid = record->GetEventIntValue(FreezeCommon::EVENT_UID); in GetResultMap() 53 .InitProcessName(record->GetEventValue(FreezeCommon::EVENT_PROCESS_NAME)) in GetResultMap() 54 ….InitMsg(StringUtil::ReplaceStr(record->GetEventValue(FreezeCommon::EVENT_MSG), "\\n", "\n")).Buil… in GetResultMap()
|
H A D | freeze_common.h | 30 class FreezeCommon { 51 FreezeCommon(); 52 ~FreezeCommon();
|
H A D | db_helper.h | 36 explicit DBHelper(std::shared_ptr<FreezeCommon> fc) : freezeCommon_(fc) {}; in DBHelper() 43 std::shared_ptr<FreezeCommon> freezeCommon_;
|
H A D | resolver.h | 33 explicit FreezeResolver(std::shared_ptr<FreezeCommon> fc) in FreezeResolver() 57 std::shared_ptr<FreezeCommon> freezeCommon_ = nullptr;
|
H A D | vendor.h | 34 explicit Vendor(std::shared_ptr<FreezeCommon> fc) : freezeCommon_(fc) {}; in Vendor() 80 std::shared_ptr<FreezeCommon> freezeCommon_ = nullptr;
|
H A D | freeze_detector_plugin.h | 49 std::shared_ptr<FreezeCommon> freezeCommon_ = nullptr;
|
/ohos5.0/base/hiviewdfx/hiview/plugins/freeze_detector/test/unittest/common/ |
H A D | freeze_detector_unittest.cpp | 87 auto freezeCommon = std::make_shared<FreezeCommon>(); 98 auto freezeCommon = std::make_shared<FreezeCommon>(); 111 auto freezeCommon = std::make_shared<FreezeCommon>(); 126 auto freezeCommon = std::make_shared<FreezeCommon>(); 146 auto freezeCommon = std::make_shared<FreezeCommon>(); 164 auto freezeCommon = std::make_shared<FreezeCommon>(); 183 auto freezeCommon = std::make_shared<FreezeCommon>(); 235 auto freezeCommon = std::make_shared<FreezeCommon>(); 252 auto freezeCommon = std::make_shared<FreezeCommon>(); 281 auto freezeCommon = std::make_shared<FreezeCommon>(); [all …]
|
H A D | freeze_detector_test.cpp | 471 auto freezeCommon = std::make_shared<FreezeCommon>();
|
/ohos5.0/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/ |
H A D | event_log_task.cpp | 134 FreezeCommon::WriteStartInfoToFd(dupedFd, "start time: "); in StartCompose() 139 FreezeCommon::WriteEndInfoToFd(dupedFd, "end time: "); in StartCompose() 496 FreezeCommon::WriteStartInfoToFd(fd, "start collect hotInfo: "); in GetThermalInfo() 500 FreezeCommon::WriteEndInfoToFd(fd, "\nend collect hotInfo: "); in GetThermalInfo()
|
/ohos5.0/base/hiviewdfx/hiview/plugins/eventlogger/include/ |
H A D | event_logger.h | 100 std::shared_ptr<FreezeCommon> freezeCommon_ = nullptr;
|
/ohos5.0/base/hiviewdfx/hiview/plugins/eventlogger/ |
H A D | event_logger.cpp | 278 FreezeCommon::WriteStartInfoToFd(fd, "start collect meminfo: "); in CollectMemInfo() 286 FreezeCommon::WriteEndInfoToFd(fd, "\nend collect meminfo: "); in CollectMemInfo() 898 FreezeCommon freezeCommon; in OnLoad() 927 freezeCommon_ = std::make_shared<FreezeCommon>(); in OnLoad()
|