Searched refs:IsAppShouldCache (Results 1 – 7 of 7) sorted by relevance
160 mgr->IsAppShouldCache(nullptr); // called. in CacheProcessManagerFuzztestFunc3()162 mgr->IsAppShouldCache(appRecord1); // not ccached called. in CacheProcessManagerFuzztestFunc3()164 mgr->IsAppShouldCache(appRecord1); //ccached called. in CacheProcessManagerFuzztestFunc3()
341 EXPECT_EQ(cacheProcMgr->IsAppShouldCache(nullptr), false);346 EXPECT_EQ(cacheProcMgr->IsAppShouldCache(nullptr), false);353 EXPECT_EQ(cacheProcMgr->IsAppShouldCache(appRecord), true);358 EXPECT_EQ(cacheProcMgr->IsAppShouldCache(appRecord), false);
42 bool IsAppShouldCache(const std::shared_ptr<AppRunningRecord> &appRecord);
266 …sCachedProcess = DelayedSingleton<CacheProcessManager>::GetInstance()->IsAppShouldCache(appRecord); in TerminateAbility()
364 bool CacheProcessManager::IsAppShouldCache(const std::shared_ptr<AppRunningRecord> &appRecord) in IsAppShouldCache() function in OHOS::AppExecFwk::CacheProcessManager
610 if (cacheProcMgr != nullptr && cacheProcMgr->IsAppShouldCache(appRecord)) { in PrepareTerminate()673 if (cacheProcMgr != nullptr && cacheProcMgr->IsAppShouldCache(appRecord)) { in TerminateAbility()
1207 if (cacheProcMgr != nullptr && cacheProcMgr->IsAppShouldCache(appRecord)) { in AbilityTerminated()