Home
last modified time | relevance | path

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

/hardware/interfaces/sensors/common/vts/utils/
DGrallocWrapper.cpp119 native_handle_t* bufferHandle = nullptr; in allocate() local
137 void GrallocHalWrapper<AllocatorT, MapperT>::freeBuffer(native_handle_t* bufferHandle) { in freeBuffer()
170 native_handle_t* bufferHandle = nullptr; in importBuffer() local
185 void* GrallocHalWrapper<AllocatorT, MapperT>::lock(native_handle_t* bufferHandle) { in lock()
205 void GrallocHalWrapper<AllocatorT, MapperT>::unlock(native_handle_t* bufferHandle) { in unlock()
244 for (auto bufferHandle : mAllocatedBuffers) { in ~GrallocWrapper() local
256 native_handle_t* bufferHandle = mGrallocHal->allocate(size); in allocate() local
270 void GrallocWrapper::freeBuffer(native_handle_t* bufferHandle) { in freeBuffer()
/hardware/interfaces/graphics/mapper/2.0/utils/passthrough/include/mapper-passthrough/2.0/
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<native_handle_t*>(buffer); in get() local
79 auto bufferHandle = static_cast<const native_handle_t*>(buffer); in getConst() local
94 void* addImportedBuffer(native_handle_t* bufferHandle) override { in addImportedBuffer()
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()
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.cpp40 for (auto bufferHandle : mClonedBuffers) { in ~Gralloc() local
47 for (auto bufferHandle : mImportedBuffers) { in ~Gralloc() local
66 const native_handle_t* bufferHandle = native_handle_clone(rawHandle.getNativeHandle()); in cloneBuffer() local
137 const native_handle_t* bufferHandle = nullptr; in importBuffer() local
151 void Gralloc::freeBuffer(const native_handle_t* bufferHandle) { in freeBuffer()
164 void* Gralloc::lock(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lock()
190 YCbCrLayout Gralloc::lockYCbCr(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lockYCbCr()
217 int Gralloc::unlock(const native_handle_t* bufferHandle) { in unlock()
/hardware/interfaces/graphics/mapper/3.0/utils/vts/
DMapperVts.cpp55 for (auto bufferHandle : mClonedBuffers) { in ~Gralloc() local
62 for (auto bufferHandle : mImportedBuffers) { in ~Gralloc() local
81 const native_handle_t* bufferHandle = native_handle_clone(rawHandle.getNativeHandle()); in cloneBuffer() local
152 const native_handle_t* bufferHandle = nullptr; in importBuffer() local
166 void Gralloc::freeBuffer(const native_handle_t* bufferHandle) { in freeBuffer()
179 void* Gralloc::lock(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lock()
212 YCbCrLayout Gralloc::lockYCbCr(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lockYCbCr()
239 int Gralloc::unlock(const native_handle_t* bufferHandle) { in unlock()
261 bool Gralloc::validateBufferSize(const native_handle_t* bufferHandle, in validateBufferSize()
270 void Gralloc::getTransportSize(const native_handle_t* bufferHandle, uint32_t* outNumFds, in getTransportSize()
/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 = getImportedBuffer(buffer); in freeBuffer() local
97 const native_handle_t* bufferHandle = getConstImportedBuffer(buffer); in lock() local
119 const native_handle_t* bufferHandle = getConstImportedBuffer(buffer); in lockYCbCr() local
139 const native_handle_t* bufferHandle = getConstImportedBuffer(buffer); in unlock() local
159 virtual void* addImportedBuffer(native_handle_t* bufferHandle) { in addImportedBuffer()
/hardware/interfaces/graphics/mapper/2.1/utils/passthrough/include/mapper-passthrough/2.1/
DGralloc0Hal.h37 Error validateBufferSize(const native_handle_t* bufferHandle, in validateBufferSize()
59 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/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/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.0/vts/functional/
DVtsHalGraphicsMapperV2_0TargetTest.cpp85 for (auto bufferHandle : bufferHandles) { in TEST_P() local
112 auto bufferHandle = mGralloc->allocate(info, false); in TEST_P() local
169 const native_handle_t* bufferHandle; in TEST_P() local
224 auto bufferHandle = mGralloc->allocate(info, true); in TEST_P() local
276 const native_handle_t* bufferHandle; in TEST_P() local
323 const native_handle_t* bufferHandle; in TEST_P() local
/hardware/interfaces/graphics/mapper/3.0/vts/functional/
DVtsHalGraphicsMapperV3_0TargetTest.cpp85 for (auto bufferHandle : bufferHandles) { in TEST_P() local
112 auto bufferHandle = mGralloc->allocate(info, false); in TEST_P() local
169 const native_handle_t* bufferHandle; in TEST_P() local
224 auto bufferHandle = mGralloc->allocate(info, true); in TEST_P() local
276 const native_handle_t* bufferHandle; in TEST_P() local
337 const native_handle_t* bufferHandle; in TEST_P() local
/hardware/interfaces/graphics/mapper/2.1/vts/functional/
DVtsHalGraphicsMapperV2_1TargetTest.cpp64 const native_handle_t* bufferHandle; in TEST_P() local
110 native_handle_t* bufferHandle; in TEST_P() local
151 const native_handle_t* bufferHandle; in TEST_P() local
/hardware/interfaces/graphics/mapper/2.1/utils/vts/
DMapperVts.cpp69 bool Gralloc::validateBufferSize(const native_handle_t* bufferHandle, in validateBufferSize()
78 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