/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/ |
H A D | medialibrary_bundle_manager.cpp | 53 cacheList_.erase(it->second);
in GetBundleNameByUID() 55 cacheList_.push_front(make_pair(uid, bundleName));
in GetBundleNameByUID() 56 cacheMap_[uid] = cacheList_.begin();
in GetBundleNameByUID() 58 int32_t deleteKey = cacheList_.back().first;
in GetBundleNameByUID() 60 cacheList_.pop_back();
in GetBundleNameByUID() 77 cacheList_.splice(cacheList_.begin(), cacheList_, iter->second);
in GetClientBundleName() 84 cacheList_.clear();
in Clear()
|
/foundation/multimedia/ringtone_library/services/ringtone_data_extension/src/ |
H A D | ringtone_bundle_manager.cpp | 50 cacheList_.erase(it->second); in GetBundleNameByUid() 52 cacheList_.push_front(make_pair(uid, bundleName)); in GetBundleNameByUid() 53 cacheMap_[uid] = cacheList_.begin(); in GetBundleNameByUid() 55 int32_t deleteKey = cacheList_.back().first; in GetBundleNameByUid() 57 cacheList_.pop_back(); in GetBundleNameByUid() 71 cacheList_.splice(cacheList_.begin(), cacheList_, iter->second); in GetClientBundleName() 78 cacheList_.clear(); in Clear()
|
/foundation/filemanagement/dfs_service/test/unittests/clouddisk_database/mock/ |
H A D | clouddisk_notify_utils_mock.cpp | 30 list<pair<string, CacheNode>> CloudDiskNotifyUtils::cacheList_;
member in OHOS::FileManagement::CloudDisk::CloudDiskNotifyUtils 107 cacheList_.splice(cacheList_.begin(), cacheList_, it->second);
in GetCacheNode() 122 cacheList_.splice(cacheList_.begin(), cacheList_, it->second);
in PutCacheNode() 127 string deleteCloudId = cacheList_.back().first;
in PutCacheNode() 128 cacheList_.pop_back();
in PutCacheNode() 132 cacheList_ in PutCacheNode() [all...] |
/foundation/filemanagement/dfs_service/services/clouddisk_database/src/ |
H A D | clouddisk_notify_utils.cpp | 29 list<pair<string, CacheNode>> CloudDiskNotifyUtils::cacheList_; member in OHOS::FileManagement::CloudDisk::CloudDiskNotifyUtils 126 cacheList_.splice(cacheList_.begin(), cacheList_, it->second); in GetCacheNode() 141 cacheList_.splice(cacheList_.begin(), cacheList_, it->second); in PutCacheNode() 146 string deleteCloudId = cacheList_.back().first; in PutCacheNode() 147 cacheList_.pop_back(); in PutCacheNode() 151 cacheList_ in PutCacheNode() [all...] |
/foundation/arkui/ace_engine/frameworks/core/common/resource/ |
H A D | resource_manager.h | 64 CountLimitLRU::RemoveCacheObjFromCountLimitLRU<RefPtr<ResourceAdapter>>(key, cacheList_, cache_); in AddResourceAdapter() 67 key, resourceAdapter, cacheList_, cache_, capacity_); in AddResourceAdapter() 94 auto resAdapter = CountLimitLRU::GetCacheObjWithCountLimitLRU<RefPtr<ResourceAdapter>>(key, cacheList_, cache_); in GetResourceAdapter() 115 for (auto iter = cacheList_.begin(); iter != cacheList_.end(); ++iter) { in UpdateResourceConfig() 128 CountLimitLRU::RemoveCacheObjFromCountLimitLRU<RefPtr<ResourceAdapter>>(key, cacheList_, cache_); in RemoveResourceAdapter() 135 cacheList_.clear(); in Reset() 146 for (auto iter = cacheList_.begin(); iter != cacheList_.end(); ++iter) { in UpdateColorMode() 161 std::list<CacheNode<RefPtr<ResourceAdapter>>> cacheList_; member in OHOS::Ace::final [all...] |
/foundation/arkui/ace_engine/frameworks/core/image/ |
H A D | image_cache.h | 88 return cacheList_.size(); in GetCachedImageCount() 102 std::list<CacheNode<std::shared_ptr<CachedImage>>> cacheList_; member in OHOS::Ace::ImageCache
|
H A D | image_cache.cpp | 55 CountLimitLRU::CacheWithCountLimitLRU<std::shared_ptr<CachedImage>>(key, image, cacheList_, imageCache_, capacity_); in CacheImage() 61 return CountLimitLRU::GetCacheObjWithCountLimitLRU<std::shared_ptr<CachedImage>>(key, cacheList_, imageCache_); in GetCacheImage() 217 cacheList_.erase(iter->second); in ClearCacheImage() 245 cacheList_.clear(); in Clear()
|
/foundation/arkui/ace_engine/frameworks/core/image/test/unittest/ |
H A D | image_cache_test.cpp | 48 * @tc.expected: new item should at begin of cacheList_ and imagCache has right iters. in HWTEST_F() 52 std::string frontKey = (imageCache->cacheList_).front().cacheKey; in HWTEST_F() 59 * @tc.expected: the cached item should at begin of cacheList_ and imagCache has right iters. in HWTEST_F() 62 ASSERT_EQ(imageCache->cacheList_.front().cacheKey, FILE_KEYS[3]); in HWTEST_F() 78 std::string frontKey = (imageCache->cacheList_).front().cacheKey; in HWTEST_F() 82 * @tc.expected: the cached iterator should not at end() of cacheList_ and imagCache. in HWTEST_F() 83 * after GetImageCache(), the item should at begin() of cacheList_. in HWTEST_F() 88 ASSERT_EQ(imageCache->cacheList_.front().cacheKey, FILE_KEYS[2]); in HWTEST_F()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/include/ |
H A D | medialibrary_bundle_manager.h | 41 std::list<std::pair<int32_t, std::string>> cacheList_;
member in OHOS::Media::MediaLibraryBundleManager
|
/foundation/multimedia/ringtone_library/services/ringtone_data_extension/include/ |
H A D | ringtone_bundle_manager.h | 39 std::list<std::pair<int32_t, std::string>> cacheList_; member in OHOS::Media::RingtoneBundleManager
|
/foundation/filemanagement/dfs_service/services/clouddisk_database/include/ |
H A D | clouddisk_notify_utils.h | 47 static list<pair<string, CacheNode>> cacheList_; member in OHOS::FileManagement::CloudDisk::final
|