Lines Matching refs:hidl_cb

44 …ocMapper::createDescriptor(const BufferDescriptorInfo &descriptorInfo, createDescriptor_cb hidl_cb)  in createDescriptor()  argument
48 hidl_cb(hidl::Error::NONE, common::grallocEncodeBufferDescriptor<uint8_t>(descriptorInfo)); in createDescriptor()
53 hidl_cb(hidl::Error::BAD_VALUE, BufferDescriptor()); in createDescriptor()
59 Return<void> GrallocMapper::importBuffer(const hidl_handle &rawHandle, importBuffer_cb hidl_cb) in importBuffer() argument
62 hidl_cb(hidl::Error::BAD_BUFFER, nullptr); in importBuffer()
72 hidl_cb(err, static_cast<void*>(const_cast<native_handle_t*>(outHandle))); in importBuffer()
108 const hidl_handle &acquireFence, lock_cb hidl_cb) in lock() argument
113 hidl_cb(hidl::Error::BAD_VALUE, nullptr); in lock()
121 hidl_cb(err, outData); in lock()
143 Return<void> GrallocMapper::unlock(void *buffer, unlock_cb hidl_cb) in unlock() argument
149 hidl_cb(hidl::Error::BAD_BUFFER, nullptr); in unlock()
156 hidl_cb(err, buildFenceHandle(fenceFd, fenceStorage)); in unlock()
162 hidl_cb(err, nullptr); in unlock()
167 Return<void> GrallocMapper::flushLockedBuffer(void *buffer, flushLockedBuffer_cb hidl_cb) in flushLockedBuffer() argument
170 hidl_cb(err, hidl_handle{}); in flushLockedBuffer()
179 …n<void> GrallocMapper::get(void *buffer, const MetadataType &metadataType, IMapper::get_cb hidl_cb) in get() argument
184 hidl_cb(err, hidl_vec(vec)); in get()
196 getFromBufferDescriptorInfo_cb hidl_cb) in getFromBufferDescriptorInfo() argument
201 hidl_cb(err, vec); in getFromBufferDescriptorInfo()
205 Return<void> GrallocMapper::getTransportSize(void *buffer, getTransportSize_cb hidl_cb) in getTransportSize() argument
210 hidl_cb(err, outNumFds, outNumInts); in getTransportSize()
214 …rallocMapper::isSupported(const IMapper::BufferDescriptorInfo &description, isSupported_cb hidl_cb) in isSupported() argument
219 hidl_cb(hidl::Error::BAD_VALUE, false); in isSupported()
221 hidl_cb(hidl::Error::NONE, common::isSupported(description)); in isSupported()
225 Return<void> GrallocMapper::listSupportedMetadataTypes(listSupportedMetadataTypes_cb hidl_cb) in listSupportedMetadataTypes() argument
230 hidl_cb(hidl::Error::NONE, hidl_vec(hidl_description)); in listSupportedMetadataTypes()
234 Return<void> GrallocMapper::dumpBuffer(void *buffer, dumpBuffer_cb hidl_cb) in dumpBuffer() argument
238 hidl_cb(err, static_cast<IMapper::BufferDump>(out)); in dumpBuffer()
242 Return<void> GrallocMapper::dumpBuffers(dumpBuffers_cb hidl_cb) in dumpBuffers() argument
249 hidl_cb(hidl::Error::NONE, hidl_vec(outBufDump)); in dumpBuffers()
253 Return<void> GrallocMapper::getReservedRegion(void *buffer, getReservedRegion_cb hidl_cb) in getReservedRegion() argument
264 hidl_cb(err, reservedRegion, reservedSize); in getReservedRegion()