/foundation/arkui/ace_engine_lite/frameworks/common/memory/cache/test/unittest/common/ |
H A D | cache_manager_tdd_test.cpp | 29 CacheManager::GetInstance().SetConfigTable(TEST_CONFIG_TABLE, count); in SetUp() 50 CacheManager::GetInstance().SetupCacheMemInfo(startAddr, totalSize); in HWTEST_F() 54 uintptr_t localizationPos = CacheManager::GetInstance().GetCacheBufAddress(CacheUser::USER_LOCALIZATION); in HWTEST_F() 55 size_t localizationBufSize = CacheManager::GetInstance().GetCacheBufLength(CacheUser::USER_LOCALIZATION); in HWTEST_F() 90 CacheManager::GetInstance().SetConfigTable(customerCacheUnitTable, count); in HWTEST_F() 92 CacheManager::GetInstance().SetupCacheMemInfo(startAddr, totalSize); in HWTEST_F() 96 uintptr_t bufferPos = CacheManager::GetInstance().GetCacheBufAddress(CacheUser::USER_LOCALIZATION); in HWTEST_F() 97 size_t bufSize = CacheManager::GetInstance().GetCacheBufLength(CacheUser::USER_LOCALIZATION); in HWTEST_F() 128 CacheManager::GetInstance().SetupCacheMemInfo(startAddr, totalSize); in HWTEST_F() 132 uintptr_t localPos = CacheManager in HWTEST_F() [all...] |
/foundation/arkui/ace_engine_lite/frameworks/common/memory/cache/ |
H A D | cache_manager.cpp | 31 const CacheUnit CacheManager::DEFAULT_CONFIG_TABLE[] = { 35 CacheManager::CacheManager() : cacheState_(STATE_NORMAL) in CacheManager() function in OHOS::ACELite::CacheManager 42 CacheManager &CacheManager::GetInstance() in GetInstance() 44 static CacheManager cacheManager; in GetInstance() 48 void CacheManager::ResetDistributedInfo() in ResetDistributedInfo() 59 void CacheManager::SetConfigTable(const CacheUnit *table, size_t count) in SetConfigTable() 70 void CacheManager::SetupCacheMemInfo(uintptr_t startAddr, size_t length) in SetupCacheMemInfo() 85 CacheSetupState CacheManager [all...] |
H A D | cache_manager.h | 49 class CacheManager final { 51 static CacheManager &GetInstance(); 68 ACE_DISALLOW_COPY_AND_MOVE(CacheManager); 69 CacheManager(); 70 ~CacheManager() = default;
|
/foundation/arkui/ui_lite/frameworks/imgdecode/ |
H A D | cache_manager.cpp | 86 CacheManager& CacheManager::GetInstance() in GetInstance() 88 static CacheManager instance; in GetInstance() 92 RetCode CacheManager::Init(uint16_t size) in Init() 119 RetCode CacheManager::Open(const char* path, const Style& style, CacheEntry& entry) in Open() 152 RetCode CacheManager::Close(const char* path) in Close() 178 bool CacheManager::GetImageHeader(const char* path, ImageHeader& header) in GetImageHeader() 184 GRAPHIC_LOGW("CacheManager::GetImageHeader Image get info found unknown src type\n"); in GetImageHeader() 192 RetCode CacheManager::Reset() in Reset() 207 RetCode CacheManager [all...] |
H A D | cache_manager.h | 55 friend class CacheManager; 65 class CacheManager : public HeapBase { class 67 static CacheManager& GetInstance(); 87 CacheManager() : size_(0), entryArr_(nullptr){} in CacheManager() function in OHOS::CacheManager 89 ~CacheManager() {} in ~CacheManager()
|
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/src/adaptor/ |
H A D | flat_object_store.cpp | 41 cacheManager_ = new CacheManager(); in FlatObjectStore() 383 CacheManager::CacheManager() in CacheManager() function in OHOS::ObjectStore::CacheManager 387 uint32_t CacheManager::Save(const std::string &bundleName, const std::string &sessionId, const std::string &deviceId, in Save() 394 LOG_INFO("CacheManager::task callback"); in Save() 405 LOG_INFO("CacheManager::start wait"); in Save() 407 LOG_INFO("CacheManager::end wait, timeout: %{public}d, result: %{public}d", timeout, res); in Save() 411 uint32_t CacheManager::RevokeSave(const std::string &bundleName, const std::string &sessionId) in RevokeSave() 416 LOG_INFO("CacheManager::task callback"); in RevokeSave() 423 LOG_INFO("CacheManager in RevokeSave() [all...] |
/foundation/arkui/ui_lite/frameworks/draw/ |
H A D | draw_image.cpp | 44 if (CacheManager::GetInstance().Open(path, style, entry) != RetCode::OK) { in DrawCommon() 74 CacheManager::GetInstance().Close(path); in DrawCommon()
|
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/include/adaptor/ |
H A D | flat_object_store.h | 37 class CacheManager { class 39 CacheManager(); 93 CacheManager *cacheManager_;
|
/foundation/arkui/ace_engine_lite/frameworks/common/memory/ |
H A D | ace_mem_base.cpp | 52 CacheManager::GetInstance().SetupCacheMemInfo(bufAddress, bufSize); in InitCacheBuf()
|
/foundation/arkui/ui_lite/test/uitest/test_screenshot/ |
H A D | ui_test_screenshot.cpp | 118 RetCode ret = CacheManager::GetInstance().Open(imageView->GetPath(), style, entry); in UIKit_SCREENSHOT_TEST_001()
|
/foundation/arkui/ui_lite/frameworks/common/ |
H A D | graphic_startup.cpp | 138 CacheManager::GetInstance().Init(IMG_CACHE_SIZE); in Init()
|
H A D | image.cpp | 36 CacheManager::GetInstance().Close(path_); in ~Image() 53 CacheManager::GetInstance().GetImageHeader(path_, header); in GetHeader()
|
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/test/unittest/src/ |
H A D | object_store_test.cpp | 1217 * @tc.desc: test CacheManager Save. 1226 CacheManager cacheManager; in HWTEST_F() 1233 * @tc.desc: test CacheManager RevokeSave. 1240 CacheManager cacheManager; in HWTEST_F() 1247 * @tc.desc: test CacheManager ResumeObject. 1254 CacheManager cacheManager; in HWTEST_F() 1263 * @tc.desc: test CacheManager SubscribeDataChange. 1270 CacheManager cacheManager; in HWTEST_F() 1279 * @tc.desc: test CacheManager UnregisterDataChange. 1286 CacheManager cacheManage in HWTEST_F() [all...] |
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_analog_clock.cpp | 52 RetCode ret = CacheManager::GetInstance().Open(img.GetPath(), *style_, entry); in SetHandImage()
|
H A D | ui_image_view.cpp | 450 RetCode ret = CacheManager::GetInstance().Open(GetPath(), *style_, entry); in OnDraw()
|