Home
last modified time | relevance | path

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

/hardware/interfaces/graphics/mapper/2.0/utils/passthrough/include/mapper-passthrough/2.0/
DGrallocLoader.h61 void* add(native_handle_t* bufferHandle) { in add()
66 void removeLocked(native_handle* bufferHandle) { mBufferHandles.erase(bufferHandle); } in removeLocked()
69 auto bufferHandle = static_cast<native_handle_t*>(buffer); in get() local
76 auto bufferHandle = static_cast<const native_handle_t*>(buffer); in getConst() local
91 void* addImportedBuffer(native_handle_t* bufferHandle) override { in addImportedBuffer()
95 Error freeImportedBuffer(native_handle_t* bufferHandle) override { in freeImportedBuffer()
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/4.0/utils/vts/
DMapperVts.cpp56 for (auto bufferHandle : mClonedBuffers) { in ~Gralloc() local
63 for (auto bufferHandle : mImportedBuffers) { in ~Gralloc() local
76 const native_handle_t* bufferHandle = native_handle_clone(rawHandle.getNativeHandle()); in cloneBuffer() local
102 const native_handle_t* bufferHandle = nullptr; in allocate() local
162 const native_handle_t* bufferHandle = nullptr; in importBuffer() local
178 void Gralloc::freeBuffer(const native_handle_t* bufferHandle) { in freeBuffer()
195 void* Gralloc::lock(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lock()
221 int Gralloc::unlock(const native_handle_t* bufferHandle) { in unlock()
243 int Gralloc::flushLockedBuffer(const native_handle_t* bufferHandle) { in flushLockedBuffer()
265 void Gralloc::rereadLockedBuffer(const native_handle_t* bufferHandle) { in rereadLockedBuffer()
[all …]
/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
93 const native_handle_t* bufferHandle = getConstImportedBuffer(buffer); in lock() local
115 const native_handle_t* bufferHandle = getConstImportedBuffer(buffer); in lockYCbCr() local
135 const native_handle_t* bufferHandle = getConstImportedBuffer(buffer); in unlock() local
155 virtual void* addImportedBuffer(native_handle_t* bufferHandle) { in addImportedBuffer()
159 virtual Error freeImportedBuffer(native_handle_t* bufferHandle) { in freeImportedBuffer()
/hardware/interfaces/sensors/common/vts/utils/
DGrallocWrapper.cpp135 native_handle_t* bufferHandle = nullptr; in allocate() local
153 void GrallocHalWrapper<AllocatorT, MapperT>::freeBuffer(native_handle_t* bufferHandle) { in freeBuffer()
187 native_handle_t* bufferHandle = nullptr; in importBuffer() local
202 void* GrallocHalWrapper<AllocatorT, MapperT>::lock(native_handle_t* bufferHandle) { in lock()
222 void GrallocHalWrapper<AllocatorT, MapperT>::unlock(native_handle_t* bufferHandle) { in unlock()
273 for (auto bufferHandle : mAllocatedBuffers) { in ~GrallocWrapper() local
281 native_handle_t* bufferHandle = mGrallocHal->allocate(size); in allocate() local
295 void GrallocWrapper::freeBuffer(native_handle_t* bufferHandle) { in freeBuffer()
/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.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/4.0/vts/functional/
DVtsHalGraphicsMapperV4_0TargetTest.cpp85 const native_handle_t* bufferHandle = nullptr; in testGet() local
97 const native_handle_t* bufferHandle = nullptr; in testSet() local
161 const native_handle_t* bufferHandle = nullptr) { in verifyBufferDump()
196 void getAndroidYCbCr(const native_handle_t* bufferHandle, uint8_t* data, in getAndroidYCbCr()
282 void verifyRGBA8888(const native_handle_t* bufferHandle, const uint8_t* data, uint32_t height, in verifyRGBA8888()
388 for (auto bufferHandle : bufferHandles) { in TEST_P() local
415 auto bufferHandle = mGralloc->allocate(info, false); in TEST_P() local
473 const native_handle_t* bufferHandle; in TEST_P() local
528 auto bufferHandle = mGralloc->allocate(info, true); in TEST_P() local
580 const native_handle_t* bufferHandle; in TEST_P() local
[all …]
/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.cpp365 void* Gralloc::lock(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lock()
394 int Gralloc::unlock(const native_handle_t* bufferHandle) { in unlock()
404 void Gralloc::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.1/utils/resources/
DComposerResources.cpp54 const native_handle_t* bufferHandle; in importBuffer() local
90 void ComposerHandleImporter::freeBuffer(const native_handle_t* bufferHandle) { in freeBuffer()
/hardware/interfaces/graphics/composer/2.2/utils/vts/
DComposerVts.cpp206 bool Gralloc::validateBufferSize(const native_handle_t* bufferHandle, uint32_t width, in validateBufferSize()
/hardware/interfaces/graphics/composer/2.2/vts/functional/
DVtsHalGraphicsComposerV2_2ReadbackTest.cpp356 NativeHandleWrapper bufferHandle = in TEST_P() local