Lines Matching refs:AppfreezeManager

60 std::shared_ptr<AppfreezeManager> AppfreezeManager::instance_ = nullptr;
61 ffrt::mutex AppfreezeManager::singletonMutex_;
62 ffrt::mutex AppfreezeManager::freezeMutex_;
63 ffrt::mutex AppfreezeManager::catchStackMutex_;
64 std::map<int, std::string> AppfreezeManager::catchStackMap_;
65 ffrt::mutex AppfreezeManager::freezeFilterMutex_;
67 AppfreezeManager::AppfreezeManager()
69 name_ = "AppfreezeManager" + std::to_string(GetMilliseconds());
72 AppfreezeManager::~AppfreezeManager()
76 std::shared_ptr<AppfreezeManager> AppfreezeManager::GetInstance()
81 instance_ = std::make_shared<AppfreezeManager>();
87 void AppfreezeManager::DestroyInstance()
96 uint64_t AppfreezeManager::GetMilliseconds()
103 bool AppfreezeManager::IsHandleAppfreeze(const std::string& bundleName)
111 int AppfreezeManager::AppfreezeHandle(const FaultData& faultData, const AppfreezeManager::AppInfo& appInfo)
130 void AppfreezeManager::CollectFreezeSysMemory(std::string& memoryContent)
144 int AppfreezeManager::AppfreezeHandleWithStack(const FaultData& faultData, const AppfreezeManager::AppInfo& appInfo)
163 if (AppExecFwk::AppfreezeManager::GetInstance()->IsNeedIgnoreFreezeEvent(appInfo.pid)) {
198 std::string AppfreezeManager::WriteToFile(const std::string& fileName, std::string& content)
225 int AppfreezeManager::LifecycleTimeoutHandle(const ParamInfo& info, FreezeUtil::LifecycleFlow flow)
227 if (info.typeId != AppfreezeManager::TypeAttribute::CRITICAL_TIMEOUT) {
257 int AppfreezeManager::AcquireStack(const FaultData& faultData,
258 const AppfreezeManager::AppInfo& appInfo, const std::string& memoryContent)
294 int AppfreezeManager::NotifyANR(const FaultData& faultData, const AppfreezeManager::AppInfo& appInfo,
323 std::map<int, std::set<int>> AppfreezeManager::BinderParser(std::ifstream& fin, std::string& stack) const
382 std::set<int> AppfreezeManager::GetBinderPeerPids(std::string& stack, int pid) const
414 void AppfreezeManager::ParseBinderPids(const std::map<int, std::set<int>>& binderInfo,
430 void AppfreezeManager::DeleteStack(int pid)
439 void AppfreezeManager::FindStackByPid(std::string& ret, int pid) const
448 std::string AppfreezeManager::CatchJsonStacktrace(int pid, const std::string& faultType) const
471 std::string AppfreezeManager::CatcherStacktrace(int pid) const
485 bool AppfreezeManager::IsProcessDebug(int32_t pid, std::string bundleName)
512 int64_t AppfreezeManager::GetFreezeCurrentTime()
521 void AppfreezeManager::SetFreezeState(int32_t pid, int state)
536 int AppfreezeManager::GetFreezeState(int32_t pid)
546 int64_t AppfreezeManager::GetFreezeTime(int32_t pid)
556 void AppfreezeManager::ClearOldInfo()
570 bool AppfreezeManager::IsNeedIgnoreFreezeEvent(int32_t pid)
597 bool AppfreezeManager::CancelAppFreezeDetect(int32_t pid, const std::string& bundleName)
611 void AppfreezeManager::RemoveDeathProcess(std::string bundleName)
621 void AppfreezeManager::ResetAppfreezeState(int32_t pid, const std::string& bundleName)
631 bool AppfreezeManager::IsValidFreezeFilter(int32_t pid, const std::string& bundleName)