Lines Matching refs:mapper2
35 mMapper = mapper2::IMapper::getService(); in init()
54 if (mMapper->freeBuffer(buffer) != mapper2::Error::NONE) { in ~GrallocWrapper()
82 const mapper2::BufferDescriptor& descriptor, uint32_t count, bool import, uint32_t* outStride) { in allocate()
87 if (mapper2::Error::NONE != tmpError) { in allocate()
111 const mapper2::IMapper::BufferDescriptorInfo& descriptorInfo, bool import, in allocate()
113 mapper2::BufferDescriptor descriptor = createDescriptor(descriptorInfo); in allocate()
118 sp<mapper2::IMapper> GrallocWrapper::getMapper() const { in getMapper()
122 mapper2::BufferDescriptor GrallocWrapper::createDescriptor( in createDescriptor()
123 const mapper2::IMapper::BufferDescriptorInfo& descriptorInfo) { in createDescriptor()
124 mapper2::BufferDescriptor descriptor; in createDescriptor()
126 if (tmpError != mapper2::Error::NONE) { in createDescriptor()
138 if (tmpError != mapper2::Error::NONE) { in importBuffer()
155 mapper2::Error error = mMapper->freeBuffer(buffer); in freeBuffer()
156 if (error != mapper2::Error::NONE) { in freeBuffer()
167 const mapper2::IMapper::Rect& accessRegion, int acquireFence) { in lock()
181 if (tmpError != mapper2::Error::NONE) { in lock()
199 if (tmpError != mapper2::Error::NONE) { in unlock()