Home
last modified time | relevance | path

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

12

/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.cpp74 for (auto bufferHandle : mClonedBuffers) { in ~Gralloc() local
81 for (auto bufferHandle : mImportedBuffers) { in ~Gralloc() local
90 const native_handle_t* bufferHandle = native_handle_clone(rawHandle.getNativeHandle()); in cloneBuffer() local
119 const native_handle_t* bufferHandle = nullptr; in allocate() local
192 const native_handle_t* bufferHandle = nullptr; in importBuffer() local
208 void Gralloc::freeBuffer(const native_handle_t* bufferHandle) { in freeBuffer()
225 void* Gralloc::lock(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lock()
251 int Gralloc::unlock(const native_handle_t* bufferHandle) { in unlock()
273 int Gralloc::flushLockedBuffer(const native_handle_t* bufferHandle) { in flushLockedBuffer()
295 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/google/gchips/gralloc4/src/hidl_common/
DRegisteredHandlePool.cpp21 bool RegisteredHandlePool::add(buffer_handle_t bufferHandle) in add()
29 auto bufferHandle = const_cast<native_handle_t*>(buffer); in remove() local
37 auto bufferHandle = static_cast<buffer_handle_t>(buffer); in get() local
DMapper.cpp68 static Error registerBuffer(buffer_handle_t bufferHandle) in registerBuffer()
92 static Error unregisterBuffer(buffer_handle_t bufferHandle) in unregisterBuffer()
157 static Error lockBuffer(buffer_handle_t bufferHandle, in lockBuffer()
243 static Error unlockBuffer(buffer_handle_t bufferHandle, in unlockBuffer()
293 Error freeBuffer(buffer_handle_t bufferHandle) in freeBuffer()
314 Error lock(buffer_handle_t bufferHandle, uint64_t cpuUsage, const GrallocRect &accessRegion, int ac… in lock()
329 Error unlock(buffer_handle_t bufferHandle, int *releaseFence) { in unlock()
346 buffer_handle_t bufferHandle = gRegisteredHandles->get(buffer); in validateBufferSize() local
463 Error getTransportSize(buffer_handle_t bufferHandle, uint32_t *outNumFds, uint32_t *outNumInts) in getTransportSize()
/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.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
158 const native_handle_t* bufferHandle = nullptr; in importBuffer() local
172 void Gralloc::freeBuffer(const native_handle_t* bufferHandle) { in freeBuffer()
185 void* Gralloc::lock(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lock()
218 YCbCrLayout Gralloc::lockYCbCr(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lockYCbCr()
245 int Gralloc::unlock(const native_handle_t* bufferHandle) { in unlock()
267 bool Gralloc::validateBufferSize(const native_handle_t* bufferHandle, in validateBufferSize()
276 void Gralloc::getTransportSize(const native_handle_t* bufferHandle, uint32_t* outNumFds, in getTransportSize()
/hardware/interfaces/graphics/mapper/stable-c/vts/
DVtsHalGraphicsMapperStableC_TargetTest.cpp222 auto getStandardMetadata(buffer_handle_t bufferHandle) in getStandardMetadata()
251 AIMapper_Error setStandardMetadata(buffer_handle_t bufferHandle, in setStandardMetadata()
323 void verifyRGBA8888(const buffer_handle_t bufferHandle, const uint8_t* data, uint32_t height, in verifyRGBA8888()
386 void getAndroidYCbCr(buffer_handle_t bufferHandle, uint8_t* data, android_ycbcr* outYCbCr, in getAndroidYCbCr()
463 YCbCr getAndroidYCbCr_P010(const native_handle_t* bufferHandle, uint8_t* data) { in getAndroidYCbCr_P010()
665 buffer_handle_t bufferHandle = nullptr; in TEST_P() local
679 buffer_handle_t bufferHandle = nullptr; in TEST_P() local
693 native_handle_t* bufferHandle = nullptr; in TEST_P() local
1164 auto bufferHandle = buffer->import(); in TEST_P() local
1173 auto bufferHandle = buffer->import(); in TEST_P() local
[all …]
/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.cpp98 const native_handle_t* bufferHandle = nullptr; in testGet() local
116 const native_handle_t* bufferHandle = nullptr; in testSet() local
180 const native_handle_t* bufferHandle = nullptr) { in verifyBufferDump()
215 void getAndroidYCbCr(const native_handle_t* bufferHandle, uint8_t* data, in getAndroidYCbCr()
293 YCbCr getAndroidYCbCr_P010(const native_handle_t* bufferHandle, uint8_t* data) { in getAndroidYCbCr_P010()
391 void verifyRGBA8888(const native_handle_t* bufferHandle, const uint8_t* data, uint32_t height, in verifyRGBA8888()
501 for (auto bufferHandle : bufferHandles) { in TEST_P() local
528 auto bufferHandle = mGralloc->allocate(info, false); in TEST_P() local
586 const native_handle_t* bufferHandle; in TEST_P() local
641 auto bufferHandle = mGralloc->allocate(info, true); in TEST_P() local
[all …]
/hardware/interfaces/graphics/mapper/3.0/vts/functional/
DVtsHalGraphicsMapperV3_0TargetTest.cpp86 for (auto bufferHandle : bufferHandles) { in TEST_P() local
113 auto bufferHandle = mGralloc->allocate(info, false); in TEST_P() local
170 const native_handle_t* bufferHandle; in TEST_P() local
225 auto bufferHandle = mGralloc->allocate(info, true); in TEST_P() local
277 const native_handle_t* bufferHandle; in TEST_P() local
340 const native_handle_t* bufferHandle; in TEST_P() local
378 const native_handle_t* bufferHandle; in TEST_P() local
/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/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/google/gchips/gralloc4/src/stable-c/
DGrallocMapper.cpp49 native_handle_t* bufferHandle = const_cast<native_handle_t*>(buffer); in freeBuffer() local
300 AIMapper_Error GrallocMapper::setStandardMetadata(buffer_handle_t _Nonnull bufferHandle, in setStandardMetadata()
389 AIMapper_Error GrallocMapper::dumpBuffer(buffer_handle_t _Nonnull bufferHandle, in dumpBuffer()
/hardware/google/gchips/gralloc4/src/4.x/
DGrallocMapper.cpp190 buffer_handle_t bufferHandle = common::getBuffer(buffer); in set() local
208 buffer_handle_t bufferHandle = common::getBuffer(buffer); in getTransportSize() local
/hardware/interfaces/sensors/aidl/vts/
DSensorsAidlTestSharedMemory.h219 buffer_handle_t bufferHandle; in SensorsAidlTestSharedMemory() local
/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/
DSensorsTestSharedMemory.h204 buffer_handle_t bufferHandle; in SensorsTestSharedMemory() local
/hardware/google/gfxstream/host/vulkan/
DVkCommonOperations.cpp2857 int32_t mapGpaToBufferHandle(uint32_t bufferHandle, uint64_t gpa, uint64_t size) { in mapGpaToBufferHandle()
2911 bool getBufferAllocationInfo(uint32_t bufferHandle, VkDeviceSize* outSize, in getBufferAllocationInfo()
2939 bool setupVkBuffer(uint64_t size, uint32_t bufferHandle, bool vulkanOnly, uint32_t memoryProperty) { in setupVkBuffer()
3082 bool teardownVkBuffer(uint32_t bufferHandle) { in teardownVkBuffer()
3103 VK_EXT_MEMORY_HANDLE getBufferExtMemoryHandle(uint32_t bufferHandle) { in getBufferExtMemoryHandle()
3117 bool readBufferToBytes(uint32_t bufferHandle, uint64_t offset, uint64_t size, void* outBytes) { in readBufferToBytes()
3208 bool updateBufferFromBytes(uint32_t bufferHandle, uint64_t offset, uint64_t size, in updateBufferFromBytes()

12