Searched refs:hdiBuffer (Results 1 – 3 of 3) sorted by relevance
133 sptr<NativeBuffer> hdiBuffer; in AllocMem() local134 int32_t ret = allocator_->AllocMem(info, hdiBuffer); in AllocMem()135 if ((ret == HDF_SUCCESS) && (hdiBuffer != nullptr)) { in AllocMem()136 handle = hdiBuffer->Move(); in AllocMem()148 sptr<NativeBuffer> hdiBuffer = new NativeBuffer(); in FreeMem() local149 CHECK_NULLPOINTER_RETURN(hdiBuffer); in FreeMem()150 hdiBuffer->SetBufferHandle(const_cast<BufferHandle*>(&handle), true); in FreeMem()151 mapper_->FreeMem(hdiBuffer); in FreeMem()157 sptr<NativeBuffer> hdiBuffer = new NativeBuffer(); in Mmap() local158 CHECK_NULLPOINTER_RETURN_VALUE(hdiBuffer, nullptr); in Mmap()[all …]
257 sptr<NativeBuffer> hdiBuffer = new NativeBuffer(); in SetVirtualDisplayBuffer() local258 if (hdiBuffer == nullptr) { in SetVirtualDisplayBuffer()261 hdiBuffer->SetBufferHandle(const_cast<BufferHandle*>(&buffer)); in SetVirtualDisplayBuffer()264 ret = ToDispErrCode(hdi_->SetVirtualDisplayBuffer(devId, hdiBuffer, hdiFence)); in SetVirtualDisplayBuffer()
916 sptr<NativeBuffer> hdiBuffer = new NativeBuffer(); in DumpLayerBuffer() local917 hdiBuffer->SetBufferHandle(const_cast<BufferHandle*>(&buffer)); in DumpLayerBuffer()920 ret = g_bufferServiceImpl->Mmap(hdiBuffer); in DumpLayerBuffer()933 ret = g_bufferServiceImpl->Unmap(hdiBuffer); in DumpLayerBuffer()