Lines Matching refs:Gralloc
27 Gralloc::Gralloc(const std::string& allocatorServiceName, const std::string& mapperServiceName, in Gralloc() function in android::hardware::graphics::mapper::V4_0::vts::Gralloc
36 void Gralloc::init(const std::string& allocatorServiceName, const std::string& mapperServiceName) { in init()
45 void Gralloc::initNoErr(const std::string& allocatorServiceName, in initNoErr()
55 Gralloc::~Gralloc() { in ~Gralloc()
70 sp<IAllocator> Gralloc::getAllocator() const { in getAllocator()
74 const native_handle_t* Gralloc::cloneBuffer(const hidl_handle& rawHandle, in cloneBuffer()
86 std::vector<const native_handle_t*> Gralloc::allocate(const BufferDescriptor& descriptor, in allocate()
127 const native_handle_t* Gralloc::allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, in allocate()
146 sp<IMapper> Gralloc::getMapper() const { in getMapper()
150 BufferDescriptor Gralloc::createDescriptor(const IMapper::BufferDescriptorInfo& descriptorInfo) { in createDescriptor()
160 const native_handle_t* Gralloc::importBuffer(const hidl_handle& rawHandle, in importBuffer()
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()
271 bool Gralloc::validateBufferSize(const native_handle_t* bufferHandle, in validateBufferSize()
280 void Gralloc::getTransportSize(const native_handle_t* bufferHandle, uint32_t* outNumFds, in getTransportSize()
297 bool Gralloc::isSupported(const IMapper::BufferDescriptorInfo& descriptorInfo) { in isSupported()
306 Error Gralloc::get(const native_handle_t* bufferHandle, const IMapper::MetadataType& metadataType, in get()
317 Error Gralloc::set(const native_handle_t* bufferHandle, const IMapper::MetadataType& metadataType, in set()
322 Error Gralloc::getFromBufferDescriptorInfo(const IMapper::BufferDescriptorInfo& descriptorInfo, in getFromBufferDescriptorInfo()
335 Error Gralloc::getReservedRegion(const native_handle_t* bufferHandle, void** outReservedRegion, in getReservedRegion()