Lines Matching refs:AppfreezeManager

65 std::shared_ptr<AppfreezeManager> AppfreezeManager::instance_ = nullptr;
66 ffrt::mutex AppfreezeManager::singletonMutex_;
67 ffrt::mutex AppfreezeManager::freezeMutex_;
68 ffrt::mutex AppfreezeManager::catchStackMutex_;
69 std::map<int, std::string> AppfreezeManager::catchStackMap_;
70 ffrt::mutex AppfreezeManager::freezeFilterMutex_;
72 AppfreezeManager::AppfreezeManager() in AppfreezeManager() function in OHOS::AppExecFwk::AppfreezeManager
77 AppfreezeManager::~AppfreezeManager() in ~AppfreezeManager()
81 std::shared_ptr<AppfreezeManager> AppfreezeManager::GetInstance() in GetInstance()
86 instance_ = std::make_shared<AppfreezeManager>(); in GetInstance()
92 void AppfreezeManager::DestroyInstance() in DestroyInstance()
101 uint64_t AppfreezeManager::GetMilliseconds() in GetMilliseconds()
108 bool AppfreezeManager::IsHandleAppfreeze(const std::string& bundleName) in IsHandleAppfreeze()
116 int AppfreezeManager::AppfreezeHandle(const FaultData& faultData, const AppfreezeManager::AppInfo& … in AppfreezeHandle()
135 void AppfreezeManager::CollectFreezeSysMemory(std::string& memoryContent) in CollectFreezeSysMemory()
144 int AppfreezeManager::AppfreezeHandleWithStack(const FaultData& faultData, const AppfreezeManager::… in AppfreezeHandleWithStack()
164 if (AppExecFwk::AppfreezeManager::GetInstance()->IsNeedIgnoreFreezeEvent(appInfo.pid)) { in AppfreezeHandleWithStack()
198 std::string AppfreezeManager::WriteToFile(const std::string& fileName, std::string& content) in WriteToFile()
225 int AppfreezeManager::LifecycleTimeoutHandle(const ParamInfo& info, FreezeUtil::LifecycleFlow flow) in LifecycleTimeoutHandle()
227 if (info.typeId != AppfreezeManager::TypeAttribute::CRITICAL_TIMEOUT) { in LifecycleTimeoutHandle()
257 int AppfreezeManager::AcquireStack(const FaultData& faultData, in AcquireStack()
258 const AppfreezeManager::AppInfo& appInfo, const std::string& memoryContent) in AcquireStack()
299 int AppfreezeManager::NotifyANR(const FaultData& faultData, const AppfreezeManager::AppInfo& appInf… in NotifyANR()
329 std::map<int, std::set<int>> AppfreezeManager::BinderParser(std::ifstream& fin, std::string& stack, in BinderParser()
357 std::map<int, std::set<int>> AppfreezeManager::BinderLineParser(std::ifstream& fin, std::string& st… in BinderLineParser()
412 std::vector<std::string> AppfreezeManager::GetFileToList(std::string line) const in GetFileToList()
424 std::set<int> AppfreezeManager::GetBinderPeerPids(std::string& stack, int pid, std::set<int>& async… in GetBinderPeerPids()
456 void AppfreezeManager::ParseBinderPids(const std::map<int, std::set<int>>& binderInfo, in ParseBinderPids()
472 void AppfreezeManager::DeleteStack(int pid) in DeleteStack()
481 void AppfreezeManager::FindStackByPid(std::string& ret, int pid) const in FindStackByPid()
490 std::string AppfreezeManager::CatchJsonStacktrace(int pid, const std::string& faultType) const in CatchJsonStacktrace()
513 std::string AppfreezeManager::CatcherStacktrace(int pid) const in CatcherStacktrace()
527 bool AppfreezeManager::IsProcessDebug(int32_t pid, std::string processName) in IsProcessDebug()
554 int64_t AppfreezeManager::GetFreezeCurrentTime() in GetFreezeCurrentTime()
563 void AppfreezeManager::SetFreezeState(int32_t pid, int state) in SetFreezeState()
578 int AppfreezeManager::GetFreezeState(int32_t pid) in GetFreezeState()
588 int64_t AppfreezeManager::GetFreezeTime(int32_t pid) in GetFreezeTime()
598 void AppfreezeManager::ClearOldInfo() in ClearOldInfo()
612 bool AppfreezeManager::IsNeedIgnoreFreezeEvent(int32_t pid) in IsNeedIgnoreFreezeEvent()
639 bool AppfreezeManager::CancelAppFreezeDetect(int32_t pid, const std::string& bundleName) in CancelAppFreezeDetect()
652 void AppfreezeManager::RemoveDeathProcess(std::string bundleName) in RemoveDeathProcess()
663 void AppfreezeManager::ResetAppfreezeState(int32_t pid, const std::string& bundleName) in ResetAppfreezeState()
673 bool AppfreezeManager::IsValidFreezeFilter(int32_t pid, const std::string& bundleName) in IsValidFreezeFilter()