Home
last modified time | relevance | path

Searched refs:AllocMem (Results 1 – 25 of 46) sorted by relevance

12

/drivers/peripheral/display/hal/default_standard/src/display_gralloc/
Ddisplay_gralloc.cpp20 static int32_t AllocMem(const AllocInfo *info, BufferHandle **handle) in AllocMem() function
25 return AllocatorManager::GetInstance().GetAllocator(info->usage)->AllocMem(*info, handle); in AllocMem()
79 grallocFuncs->AllocMem = AllocMem; in GrallocInitialize()
Ddisplay_buffer_vdi_impl.h33 virtual int32_t AllocMem(const AllocInfo& info, BufferHandle*& handle) const override;
Ddisplay_buffer_vdi_impl.cpp47 int32_t DisplayBufferVdiImpl::AllocMem(const AllocInfo& info, BufferHandle*& handle) const in AllocMem() function in OHOS::HDI::DISPLAY::DisplayBufferVdiImpl
Dallocator.h58 virtual int32_t AllocMem(const AllocInfo &info, BufferHandle **handle);
/drivers/peripheral/display/hdi_service/gralloc/server/
Dallocator_service_impl.cpp44 int32_t AllocatorService::AllocMem(const AllocInfo &info, BufferHandle *&handle) in AllocMem() function in OHOS::HDI::Display::V1_0::AllocatorService
50 return grallocFuncs_->AllocMem(&info, &handle); in AllocMem()
Dallocator_service_impl.h35 int32_t AllocMem(const AllocInfo &info, BufferHandle *&handle) override;
Dallocator_service_stub.cpp42 int32_t errCode = AllocMem(info, buffer); in AllocaltorStubAllocMem()
/drivers/peripheral/display/test/unittest/lite/
Ddisplay_test.c48 if (g_displayTest.grallocFuncs->AllocMem != NULL) { in LoadBmp()
49 ret = g_displayTest.grallocFuncs->AllocMem(&info, buffer); in LoadBmp()
394 if (g_displayTest.grallocFuncs->AllocMem != NULL) { in AllocMemTest1()
395 ret = g_displayTest.grallocFuncs->AllocMem(&info, &g_buffer); in AllocMemTest1()
415 if (g_displayTest.grallocFuncs->AllocMem != NULL) { in MmapCacheTest()
416 ret = g_displayTest.grallocFuncs->AllocMem(&info, &g_buffer); in MmapCacheTest()
450 if (g_displayTest.grallocFuncs->AllocMem != NULL) { in AllocMemTest2()
451 ret = g_displayTest.grallocFuncs->AllocMem(&info, &g_buffer); in AllocMemTest2()
/drivers/peripheral/display/buffer/hdi_service/src/
Dallocator_service.cpp94 int32_t AllocatorService::AllocMem(const AllocInfo& info, sptr<NativeBuffer>& handle) in AllocMem() function in OHOS::HDI::Display::Buffer::V1_0::AllocatorService
98 int32_t ec = vdiImpl_->AllocMem(info, buffer); in AllocMem()
/drivers/peripheral/display/hdi_service/gralloc/include/
Didisplay_allocator.h31 virtual int32_t AllocMem(const AllocInfo &info, BufferHandle *&handle) = 0;
Didisplay_gralloc.h52 virtual int32_t AllocMem(const AllocInfo &info, BufferHandle *&handle) const = 0;
/drivers/peripheral/display/buffer/hdi_service/include/
Dallocator_service.h32 int32_t AllocMem(const AllocInfo& info, sptr<NativeBuffer>& handle) override;
Didisplay_buffer_vdi.h47 virtual int32_t AllocMem(const AllocInfo& info, BufferHandle*& handle) const = 0;
/drivers/peripheral/display/hdi_service/gralloc/client/
Dallocator_proxy.h30 virtual int32_t AllocMem(const AllocInfo &info, BufferHandle *&handle) override;
Ddisplay_gralloc_client.cpp78 int32_t DisplayGrallocClient::AllocMem(const AllocInfo &info, BufferHandle *&handle) const in AllocMem() function in OHOS::HDI::Display::V1_0::DisplayGrallocClient
84 auto ret = allocatorProxy_->AllocMem(info, handle); in AllocMem()
Ddisplay_gralloc_client.h34 int32_t AllocMem(const AllocInfo& info, BufferHandle*& handle) const override;
Dallocator_proxy.cpp77 int32_t AllocatorProxy::AllocMem(const AllocInfo &info, BufferHandle *&handle) in AllocMem() function in OHOS::HDI::Display::V1_0::AllocatorProxy
/drivers/peripheral/display/interfaces/include/
Ddisplay_gralloc.h61 int32_t (*AllocMem)(const AllocInfo* info, BufferHandle** handle); member
/drivers/interface/display/buffer/v1_0/include/
Didisplay_buffer.h56 virtual int32_t AllocMem(const AllocInfo& info, BufferHandle*& handle) const = 0;
/drivers/interface/display/buffer/v1_0/hdi_impl/
Ddisplay_buffer_hdi_impl.h38 int32_t AllocMem(const AllocInfo& info, BufferHandle*& handle) const override;
Ddisplay_buffer_hdi_impl.cpp130 int32_t DisplayBufferHdiImpl::AllocMem(const AllocInfo& info, BufferHandle*& handle) const in AllocMem() function in OHOS::HDI::Display::Buffer::V1_0::DisplayBufferHdiImpl
134 int32_t ret = allocator_->AllocMem(info, hdiBuffer); in AllocMem()
/drivers/interface/display/buffer/v1_0/
DIAllocator.idl21 AllocMem([in] struct AllocInfo info, [out] NativeBuffer handle);
/drivers/peripheral/display/hal/default/
Ddisplay_gralloc.c206 static int32_t AllocMem(const AllocInfo* info, BufferHandle **buffer) in AllocMem() function
357 gFuncs->AllocMem = AllocMem; in GrallocInitialize()
/drivers/peripheral/camera/vdi_base/common/buffer_manager/src/gralloc_buffer_allocator/
Dgralloc_buffer_allocator.cpp54 if (grallocFuncs_->AllocMem == nullptr) { in AllocBuffer()
71 int32_t ret = grallocFuncs_->AllocMem(&info, &handle); in AllocBuffer()
/drivers/peripheral/codec/test/demo/v1.0/
Dcodec_gralloc_wrapper.cpp50 int32_t err = g_gralloc->AllocMem(alloc, *bufferHandle); in GrMemCreate()

12