Home
last modified time | relevance | path

Searched refs:cache (Results 1 - 6 of 6) sorted by relevance

/drivers/interface/display/composer/cache_manager/
H A Dcache_manager.h52 for (auto& cache : caches_) { in ~CacheManager()
53 cleanUpFunc_(cache.second); in ~CacheManager()
71 HDF_LOGD("%{public}s: set cache max count from %{public}u to %{public}u", in SetCacheMaxCount()
82 bool InsertCache(IdType id, CacheType* cache) in InsertCache() argument
87 HDF_LOGI("%{public}s: intend to insert a existing cache, SeqNo=%{public}d", __func__, id); in InsertCache()
88 cacheItem->second.reset(cache); in InsertCache()
94 caches_[id] = std::move(std::unique_ptr<CacheType>(cache)); in InsertCache()
129 void TravelCaches(std::function<void (IdType id, const CacheType& cache)> func) in TravelCaches()
168 for (auto& cache : caches_) { in ~CacheManager()
169 cleanUpFunc_(cache in ~CacheManager()
198 InsertCache(IdType id, Base::NativeBuffer* cache) InsertCache() argument
[all...]
H A Ddevice_cache_manager.cpp73 DISPLAY_CHK_RETURN(ret != true, HDF_FAILURE, HDF_LOGE("%{public}s: Destroy cache failed", __func__)); in RemoveDeviceCache()
85 auto cache = deviceCaches_->SearchCache(deviceId); in DestroyVirtualDisplayCache() local
86 DISPLAY_CHK_RETURN((cache == nullptr) || (cache->CacheType() != DeviceCache::DEVICE_TYPE_VIRTUAL), in DestroyVirtualDisplayCache()
87 HDF_FAILURE, HDF_LOGE("%{public}s: device is not virtual display cache", __func__)); in DestroyVirtualDisplayCache()
91 HDF_LOGE("%{public}s: Destroy virtual display cache failed", __func__)); in DestroyVirtualDisplayCache()
127 deviceCaches_->TravelCaches([](int32_t id, const DeviceCache& cache)->void { in Dump()
128 cache.Dump(); in Dump()
139 DISPLAY_CHK_RETURN(device == nullptr, HDF_FAILURE, HDF_LOGE("%{public}s: Create cache failed", __func__)); in AddCacheInternal()
142 DISPLAY_CHK_RETURN(ret == false, HDF_FAILURE, HDF_LOGE("%{public}s: insert device cache faile in AddCacheInternal()
[all...]
H A Ddevice_cache.cpp31 DISPLAY_CHK_RETURN(device == nullptr, nullptr, HDF_LOGE("%{public}s: create device cache failed", __func__)); in Create()
37 HDF_LOGE("%{public}s: device cache init failed", __func__); in Create()
86 DISPLAY_CHK_RETURN(layer == nullptr, HDF_FAILURE, HDF_LOGE("%{public}s: Create cache failed", __func__)); in AddLayerCache()
92 HDF_LOGE("%{public}s: set buffer cache max count failed", __func__); in AddLayerCache()
100 HDF_LOGE("%{public}s: insert cache failed", __func__); in AddLayerCache()
109 DISPLAY_CHK_RETURN(ret != true, HDF_FAILURE, HDF_LOGE("%{public}s: Destroy cache failed", __func__)); in RemoveLayerCache()
199 layerCaches_->TravelCaches([](int32_t id, const LayerCache& cache)->void { in Dump()
200 cache.Dump(); in Dump()
/drivers/peripheral/camera/vdi_base/common/pipeline_core/ipp/src/
H A Doffline_pipeline.cpp105 std::vector<std::shared_ptr<IBuffer>> cache; in CancelCapture() local
121 cache = *it; in CancelCapture()
124 for (auto it : cache) { in CancelCapture()
127 DeliverCancelCache(cache); in CancelCapture()
142 auto cache = bufferCache_.front(); in FlushOfflineStream() local
145 for (auto it : cache) { in FlushOfflineStream()
148 DeliverCancelCache(cache); in FlushOfflineStream()
H A Dipp_node.cpp311 std::vector<std::shared_ptr<IBuffer>> cache; in DeliverBuffer() local
312 cache.emplace_back(buffer); in DeliverBuffer()
313 ReceiveCache(cache); in DeliverBuffer()
319 std::vector<std::shared_ptr<IBuffer>> cache; in DeliverBuffers() local
321 cache.emplace_back(it); in DeliverBuffers()
324 ReceiveCache(cache); in DeliverBuffers()
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/
H A Dhdf_dot_config_file.py32 self.cache = {}
44 self.cache[item] = ConfigItem(index, line)
47 if item in self.cache:
48 index = self.cache.get(item).index
49 line = self.cache.get(item).line

Completed in 3 milliseconds