Home
last modified time | relevance | path

Searched refs:devCache (Results 1 – 3 of 3) sorted by relevance

/drivers/interface/display/composer/v1_0/cache_manager/
Ddevice_cache_manager.cpp105 auto devCache = deviceCaches_->SearchCache(deviceId); in DeviceCacheInstance() local
106 …DISPLAY_CHK_RETURN(devCache == nullptr, nullptr, HDF_LOGE("%{public}s: Can't find device Cache", _… in DeviceCacheInstance()
108 return devCache; in DeviceCacheInstance()
113 auto devCache = deviceCaches_->SearchCache(deviceId); in LayerCacheInstance() local
114 …DISPLAY_CHK_RETURN(devCache == nullptr, nullptr, HDF_LOGE("%{public}s: Can't find device Cache", _… in LayerCacheInstance()
116 auto layerCache = devCache->LayerCacheInstance(layerId); in LayerCacheInstance()
/drivers/peripheral/display/composer/hdi_service/src/
Ddisplay_composer_service.cpp174 DeviceCache* devCache = cacheMgr_->DeviceCacheInstance(devId); in SetClientBufferCacheCount() local
175 DISPLAY_CHK_RETURN(devCache == nullptr, HDF_FAILURE, DISPLAY_LOGE("fail")); in SetClientBufferCacheCount()
177 …DISPLAY_CHK_RETURN(devCache->SetClientBufferCacheCount(count) != HDF_SUCCESS, HDF_FAILURE, DISPLAY… in SetClientBufferCacheCount()
378 DeviceCache* devCache = cacheMgr_->DeviceCacheInstance(devId); in CreateLayer() local
379 DISPLAY_CHK_RETURN(devCache == nullptr, HDF_FAILURE, DISPLAY_LOGE("fail")); in CreateLayer()
381 return devCache->AddLayerCache(layerId, cacheCount); in CreateLayer()
394 DeviceCache* devCache = cacheMgr_->DeviceCacheInstance(devId); in DestroyLayer() local
395 DISPLAY_CHK_RETURN(devCache == nullptr, HDF_FAILURE, DISPLAY_LOGE("fail")); in DestroyLayer()
397 return devCache->RemoveLayerCache(layerId); in DestroyLayer()
/drivers/interface/display/composer/v1_0/display_command/
Ddisplay_cmd_responser.h363 DeviceCache* devCache = cacheMgr_->DeviceCacheInstance(devId); in OnSetDisplayClientBuffer() local
364 DISPLAY_CHECK(devCache == nullptr, goto EXIT); in OnSetDisplayClientBuffer()
366 … ret = devCache->SetDisplayClientBuffer(buffer, seqNo, [&](const BufferHandle& handle)->int32_t { in OnSetDisplayClientBuffer()
734 DeviceCache* devCache = nullptr; in OnSetLayerBuffer() local
736 devCache = cacheMgr_->DeviceCacheInstance(devId); in OnSetLayerBuffer()
737 DISPLAY_CHECK(devCache == nullptr, goto EXIT); in OnSetLayerBuffer()
738 layerCache = devCache->LayerCacheInstance(layerId); in OnSetLayerBuffer()