Searched refs:AppfreezeManager (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/foundation/ability/ability_runtime/services/appdfr/src/ |
H A D | appfreeze_manager.cpp | 65 std::shared_ptr<AppfreezeManager> AppfreezeManager::instance_ = nullptr; 67 ffrt::mutex AppfreezeManager::freezeMutex_; 72 AppfreezeManager::AppfreezeManager() in AppfreezeManager() function in OHOS::AppExecFwk::AppfreezeManager 77 AppfreezeManager::~AppfreezeManager() in ~AppfreezeManager() 81 std::shared_ptr<AppfreezeManager> AppfreezeManager::GetInstance() in GetInstance() 92 void AppfreezeManager::DestroyInstance() in DestroyInstance() 101 uint64_t AppfreezeManager::GetMilliseconds() in GetMilliseconds() 116 int AppfreezeManager::AppfreezeHandle(const FaultData& faultData, const AppfreezeManager::AppInfo& … in AppfreezeHandle() 144 int AppfreezeManager::AppfreezeHandleWithStack(const FaultData& faultData, const AppfreezeManager::… in AppfreezeHandleWithStack() 299 int AppfreezeManager::NotifyANR(const FaultData& faultData, const AppfreezeManager::AppInfo& appInf… in NotifyANR() [all …]
|
/ohos5.0/foundation/ability/ability_runtime/services/appdfr/include/ |
H A D | appfreeze_manager.h | 36 class AppfreezeManager : public std::enable_shared_from_this<AppfreezeManager> { 71 AppfreezeManager(); 72 ~AppfreezeManager(); 74 static std::shared_ptr<AppfreezeManager> GetInstance(); 76 int AppfreezeHandle(const FaultData& faultData, const AppfreezeManager::AppInfo& appInfo); 77 …int AppfreezeHandleWithStack(const FaultData& faultData, const AppfreezeManager::AppInfo& appInfo); 90 AppfreezeManager& operator=(const AppfreezeManager&) = delete; 91 AppfreezeManager(const AppfreezeManager&) = delete; 104 int NotifyANR(const FaultData& faultData, const AppfreezeManager::AppInfo& appInfo, 116 static std::shared_ptr<AppfreezeManager> instance_;
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/dfr_test/appfreeze_manager_test/ |
H A D | appfreeze_manager_test.cpp | 40 std::shared_ptr<AppfreezeManager> appfreezeManager = nullptr; 55 appfreezeManager = AppfreezeManager::GetInstance(); in SetUp() 60 AppfreezeManager::DestroyInstance(); in TearDown() 86 AppfreezeManager::AppInfo appInfo; 112 AppfreezeManager::AppInfo appInfo = { 129 AppfreezeManager::ParamInfo info; 132 AppfreezeManager::ParamInfo info1 = { 133 .typeId = AppfreezeManager::TypeAttribute::NORMAL_TIMEOUT, 140 AppfreezeManager::ParamInfo info2 = { 141 .typeId = AppfreezeManager::TypeAttribute::CRITICAL_TIMEOUT, [all …]
|
/ohos5.0/foundation/ability/ability_runtime/test/fuzztest/abilityappfreezemanager_fuzzer/ |
H A D | abilityappfreezemanager_fuzzer.cpp | 53 OHOS::AppExecFwk::AppfreezeManager::AppInfo appInfo; in DoSomethingInterestingWithMyAPI() 54 AppfreezeManager::ParamInfo info; in DoSomethingInterestingWithMyAPI() 55 auto freeze = AppfreezeManager::GetInstance(); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/foundation/ability/ability_runtime/services/appmgr/src/ |
H A D | app_mgr_service_inner.cpp | 4819 int typeId = AppExecFwk::AppfreezeManager::TypeAttribute::NORMAL_TIMEOUT; in SendHiSysEvent() 4829 typeId = AppExecFwk::AppfreezeManager::TypeAttribute::CRITICAL_TIMEOUT; in SendHiSysEvent() 4833 typeId = AppExecFwk::AppfreezeManager::TypeAttribute::CRITICAL_TIMEOUT; in SendHiSysEvent() 4837 typeId = AppExecFwk::AppfreezeManager::TypeAttribute::CRITICAL_TIMEOUT; in SendHiSysEvent() 4841 typeId = AppExecFwk::AppfreezeManager::TypeAttribute::CRITICAL_TIMEOUT; in SendHiSysEvent() 4851 AppfreezeManager::ParamInfo info = { in SendHiSysEvent() 4858 AppfreezeManager::GetInstance()->LifecycleTimeoutHandle(info); in SendHiSysEvent() 5780 if (AppExecFwk::AppfreezeManager::GetInstance()->IsProcessDebug(pid, bundleName)) { in NotifyAppFault() 5800 AppfreezeManager::AppInfo info = { in NotifyAppFault() 5824 AppExecFwk::AppfreezeManager::GetInstance()->DeleteStack(pid); in NotifyAppFault() [all …]
|
/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/src/scene_board/ |
H A D | ui_ability_lifecycle_manager.cpp | 1105 int typeId = AppExecFwk::AppfreezeManager::TypeAttribute::NORMAL_TIMEOUT; in PrintTimeOutLog() 1120 AppExecFwk::AppfreezeManager::ParamInfo info = { in PrintTimeOutLog() 1139 AppExecFwk::AppfreezeManager::GetInstance()->LifecycleTimeoutHandle(info, flow); in PrintTimeOutLog() 1142 AppExecFwk::AppfreezeManager::GetInstance()->LifecycleTimeoutHandle(info); in PrintTimeOutLog() 1151 typeId = AppExecFwk::AppfreezeManager::TypeAttribute::CRITICAL_TIMEOUT; in GetContentAndTypeId() 1155 typeId = AppExecFwk::AppfreezeManager::TypeAttribute::CRITICAL_TIMEOUT; in GetContentAndTypeId()
|
/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | mission_list_manager.cpp | 2200 int typeId = AppExecFwk::AppfreezeManager::TypeAttribute::NORMAL_TIMEOUT; in PrintTimeOutLog() 2216 AppExecFwk::AppfreezeManager::ParamInfo info = { in PrintTimeOutLog() 2234 AppExecFwk::AppfreezeManager::GetInstance()->LifecycleTimeoutHandle(info, flow); in PrintTimeOutLog() 2237 AppExecFwk::AppfreezeManager::GetInstance()->LifecycleTimeoutHandle(info); in PrintTimeOutLog() 2246 typeId = AppExecFwk::AppfreezeManager::TypeAttribute::CRITICAL_TIMEOUT; in GetContentAndTypeId() 2256 typeId = AppExecFwk::AppfreezeManager::TypeAttribute::CRITICAL_TIMEOUT; in GetContentAndTypeId()
|
H A D | ability_connect_manager.cpp | 2743 int typeId = AppExecFwk::AppfreezeManager::TypeAttribute::NORMAL_TIMEOUT; in PrintTimeOutLog() 2748 typeId = AppExecFwk::AppfreezeManager::TypeAttribute::CRITICAL_TIMEOUT; in PrintTimeOutLog() 2758 typeId = AppExecFwk::AppfreezeManager::TypeAttribute::CRITICAL_TIMEOUT; in PrintTimeOutLog() 2776 AppExecFwk::AppfreezeManager::ParamInfo info = { in PrintTimeOutLog() 2783 AppExecFwk::AppfreezeManager::GetInstance()->LifecycleTimeoutHandle(info); in PrintTimeOutLog()
|