Home
last modified time | relevance | path

Searched defs:bufferHandle (Results 1 – 21 of 21) sorted by relevance

/hardware/interfaces/sensors/common/vts/utils/
DGrallocWrapper.cpp45 for (auto bufferHandle : mClonedBuffers) { in ~GrallocWrapper() local
52 for (auto bufferHandle : mImportedBuffers) { in ~GrallocWrapper() local
73 const native_handle_t* bufferHandle = native_handle_clone(rawHandle.getNativeHandle()); in cloneBuffer() local
136 const native_handle_t* bufferHandle = nullptr; in importBuffer() local
151 void GrallocWrapper::freeBuffer(const native_handle_t* bufferHandle) { in freeBuffer()
166 void* GrallocWrapper::lock(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lock()
194 int GrallocWrapper::unlock(const native_handle_t* bufferHandle) { in unlock()
/hardware/interfaces/graphics/mapper/2.0/utils/hal/include/mapper-hal/2.0/
DMapper.h64 native_handle_t* bufferHandle = nullptr; in importBuffer() local
83 native_handle_t* bufferHandle = removeImportedBuffer(buffer); in freeBuffer() local
93 const native_handle_t* bufferHandle = getImportedBuffer(buffer); in lock() local
115 const native_handle_t* bufferHandle = getImportedBuffer(buffer); in lockYCbCr() local
135 const native_handle_t* bufferHandle = getImportedBuffer(buffer); in unlock() local
155 virtual void* addImportedBuffer(native_handle_t* bufferHandle) { in addImportedBuffer()
/hardware/interfaces/graphics/mapper/2.0/utils/passthrough/include/mapper-passthrough/2.0/
DGralloc0Hal.h78 native_handle_t* bufferHandle = native_handle_clone(rawHandle); in importBuffer() local
94 Error freeBuffer(native_handle_t* bufferHandle) override { in freeBuffer()
104 Error lock(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lock()
129 Error lockYCbCr(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lockYCbCr()
163 Error unlock(const native_handle_t* bufferHandle, base::unique_fd* outFenceFd) override { in unlock()
DGrallocLoader.h59 void* add(native_handle_t* bufferHandle) { in add()
65 auto bufferHandle = static_cast<native_handle_t*>(buffer); in remove() local
72 auto bufferHandle = static_cast<const native_handle_t*>(buffer); in get() local
87 void* addImportedBuffer(native_handle_t* bufferHandle) override { in addImportedBuffer()
DGralloc1Hal.h98 native_handle_t* bufferHandle = native_handle_clone(rawHandle); in importBuffer() local
115 Error freeBuffer(native_handle_t* bufferHandle) override { in freeBuffer()
124 Error lock(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lock()
140 Error lockYCbCr(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lockYCbCr()
167 Error unlock(const native_handle_t* bufferHandle, base::unique_fd* outFenceFd) override { in unlock()
/hardware/interfaces/graphics/mapper/2.0/utils/vts/
DMapperVts.cpp42 for (auto bufferHandle : mClonedBuffers) { in ~Gralloc() local
49 for (auto bufferHandle : mImportedBuffers) { in ~Gralloc() local
68 const native_handle_t* bufferHandle = native_handle_clone(rawHandle.getNativeHandle()); in cloneBuffer() local
139 const native_handle_t* bufferHandle = nullptr; in importBuffer() local
153 void Gralloc::freeBuffer(const native_handle_t* bufferHandle) { in freeBuffer()
166 void* Gralloc::lock(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lock()
192 YCbCrLayout Gralloc::lockYCbCr(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lockYCbCr()
219 int Gralloc::unlock(const native_handle_t* bufferHandle) { in unlock()
/hardware/interfaces/graphics/mapper/3.0/utils/vts/
DMapperVts.cpp57 for (auto bufferHandle : mClonedBuffers) { in ~Gralloc() local
64 for (auto bufferHandle : mImportedBuffers) { in ~Gralloc() local
83 const native_handle_t* bufferHandle = native_handle_clone(rawHandle.getNativeHandle()); in cloneBuffer() local
154 const native_handle_t* bufferHandle = nullptr; in importBuffer() local
168 void Gralloc::freeBuffer(const native_handle_t* bufferHandle) { in freeBuffer()
181 void* Gralloc::lock(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lock()
214 YCbCrLayout Gralloc::lockYCbCr(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lockYCbCr()
241 int Gralloc::unlock(const native_handle_t* bufferHandle) { in unlock()
263 bool Gralloc::validateBufferSize(const native_handle_t* bufferHandle, in validateBufferSize()
272 void Gralloc::getTransportSize(const native_handle_t* bufferHandle, uint32_t* outNumFds, in getTransportSize()
/hardware/interfaces/graphics/mapper/2.1/utils/passthrough/include/mapper-passthrough/2.1/
DGralloc0Hal.h37 Error validateBufferSize(const native_handle_t* bufferHandle, in validateBufferSize()
50 Error getTransportSize(const native_handle_t* bufferHandle, uint32_t* outNumFds, in getTransportSize()
DGralloc1Hal.h39 Error validateBufferSize(const native_handle_t* bufferHandle, in validateBufferSize()
60 Error getTransportSize(const native_handle_t* bufferHandle, uint32_t* outNumFds, in getTransportSize()
/hardware/interfaces/graphics/allocator/2.0/utils/gralloc1-adapter/
DGralloc1On0Adapter.h275 buffer_handle_t bufferHandle, in callBufferFunction()
287 buffer_handle_t bufferHandle, Args... args) { in bufferHook()
293 buffer_handle_t bufferHandle, uint64_t* outUsage) { in getConsumerUsageHook()
304 buffer_handle_t bufferHandle, uint64_t* outUsage) { in getProducerUsageHook()
328 buffer_handle_t bufferHandle) in retainHook()
336 buffer_handle_t bufferHandle) { in releaseHook()
367 buffer_handle_t bufferHandle, in lockHook()
422 buffer_handle_t bufferHandle, int32_t* outReleaseFenceFd) { in unlockHook()
DGralloc1On0Adapter.cpp308 buffer_handle_t bufferHandle = nullptr; in allocateHook() local
366 gralloc1_error_t Gralloc1On0Adapter::retain(buffer_handle_t bufferHandle) in retain()
553 buffer_handle_t bufferHandle) in getBuffer()
/hardware/interfaces/graphics/mapper/2.1/utils/hal/include/mapper-hal/2.1/
DMapper.h44 const native_handle_t* bufferHandle = getImportedBuffer(buffer); in validateBufferSize() local
53 const native_handle_t* bufferHandle = getImportedBuffer(buffer); in getTransportSize() local
/hardware/interfaces/graphics/mapper/2.0/vts/functional/
DVtsHalGraphicsMapperV2_0TargetTest.cpp99 for (auto bufferHandle : bufferHandles) { in TEST_F() local
126 auto bufferHandle = mGralloc->allocate(info, false); in TEST_F() local
183 const native_handle_t* bufferHandle; in TEST_F() local
240 auto bufferHandle = mGralloc->allocate(info, true); in TEST_F() local
292 const native_handle_t* bufferHandle; in TEST_F() local
339 const native_handle_t* bufferHandle; in TEST_F() local
/hardware/interfaces/graphics/mapper/3.0/vts/functional/
DVtsHalGraphicsMapperV3_0TargetTest.cpp99 for (auto bufferHandle : bufferHandles) { in TEST_F() local
126 auto bufferHandle = mGralloc->allocate(info, false); in TEST_F() local
183 const native_handle_t* bufferHandle; in TEST_F() local
240 auto bufferHandle = mGralloc->allocate(info, true); in TEST_F() local
292 const native_handle_t* bufferHandle; in TEST_F() local
353 const native_handle_t* bufferHandle; in TEST_F() local
/hardware/interfaces/graphics/mapper/2.1/vts/functional/
DVtsHalGraphicsMapperV2_1TargetTest.cpp78 const native_handle_t* bufferHandle; in TEST_F() local
124 native_handle_t* bufferHandle; in TEST_F() local
165 const native_handle_t* bufferHandle; in TEST_F() local
/hardware/interfaces/graphics/mapper/2.1/utils/vts/
DMapperVts.cpp71 bool Gralloc::validateBufferSize(const native_handle_t* bufferHandle, in validateBufferSize()
80 void Gralloc::getTransportSize(const native_handle_t* bufferHandle, uint32_t* outNumFds, in getTransportSize()
/hardware/interfaces/graphics/composer/2.1/utils/vts/
DComposerVts.cpp351 void* Gralloc::lock(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lock()
373 int Gralloc::unlock(const native_handle_t* bufferHandle) { in unlock()
381 void Gralloc::freeBuffer(const native_handle_t* bufferHandle) { in freeBuffer()
/hardware/interfaces/graphics/composer/2.1/utils/hal/include/composer-hal/2.1/
DComposerResources.h61 const native_handle_t* bufferHandle; in importBuffer() local
89 void freeBuffer(const native_handle_t* bufferHandle) { in freeBuffer()
/hardware/interfaces/graphics/composer/2.2/utils/passthrough/include/composer-passthrough/2.2/
DHwcHal.h115 Error setReadbackBuffer(Display display, const native_handle_t* bufferHandle, in setReadbackBuffer()
/hardware/interfaces/graphics/composer/2.2/utils/vts/
DComposerVts.cpp201 bool Gralloc::validateBufferSize(const native_handle_t* bufferHandle, uint32_t width, in validateBufferSize()
/hardware/interfaces/graphics/composer/2.2/vts/functional/
DVtsHalGraphicsComposerV2_2ReadbackTest.cpp593 const native_handle_t* bufferHandle = in TEST_F() local