Home
last modified time | relevance | path

Searched refs:IsAppShouldCache (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/ability/ability_runtime/test/fuzztest/cacheprocessmanagera_fuzzer/
H A Dcacheprocessmanagera_fuzzer.cpp160 mgr->IsAppShouldCache(nullptr); // called. in CacheProcessManagerFuzztestFunc3()
162 mgr->IsAppShouldCache(appRecord1); // not ccached called. in CacheProcessManagerFuzztestFunc3()
164 mgr->IsAppShouldCache(appRecord1); //ccached called. in CacheProcessManagerFuzztestFunc3()
/ohos5.0/foundation/ability/ability_runtime/test/unittest/cache_process_manager_test/
H A Dcache_process_manager_test.cpp341 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);
/ohos5.0/foundation/ability/ability_runtime/services/appmgr/include/
H A Dcache_process_manager.h42 bool IsAppShouldCache(const std::shared_ptr<AppRunningRecord> &appRecord);
/ohos5.0/foundation/ability/ability_runtime/services/appmgr/src/
H A Dmodule_running_record.cpp266 …sCachedProcess = DelayedSingleton<CacheProcessManager>::GetInstance()->IsAppShouldCache(appRecord); in TerminateAbility()
H A Dcache_process_manager.cpp364 bool CacheProcessManager::IsAppShouldCache(const std::shared_ptr<AppRunningRecord> &appRecord) in IsAppShouldCache() function in OHOS::AppExecFwk::CacheProcessManager
H A Dapp_running_manager.cpp610 if (cacheProcMgr != nullptr && cacheProcMgr->IsAppShouldCache(appRecord)) { in PrepareTerminate()
673 if (cacheProcMgr != nullptr && cacheProcMgr->IsAppShouldCache(appRecord)) { in TerminateAbility()
H A Dapp_running_record.cpp1207 if (cacheProcMgr != nullptr && cacheProcMgr->IsAppShouldCache(appRecord)) { in AbilityTerminated()