Lines Matching refs:hidl_cb
80 createDescriptor_cb hidl_cb) { in createDescriptor() argument
90 hidl_cb(err, descriptor); in createDescriptor()
94 Return<void> QtiMapper::importBuffer(const hidl_handle &raw_handle, importBuffer_cb hidl_cb) { in importBuffer() argument
97 hidl_cb(Error::BAD_BUFFER, nullptr); in importBuffer()
104 hidl_cb(Error::NO_RESOURCES, nullptr); in importBuffer()
114 hidl_cb(error, nullptr); in importBuffer()
119 hidl_cb(Error::NONE, buffer_handle); in importBuffer()
177 const hidl_handle &acquire_fence, lock_cb hidl_cb) { in lock() argument
180 hidl_cb(err, nullptr, -1, -1); in lock()
186 hidl_cb(err, out_data, gralloc::GetBpp(hnd->format), hnd->width); in lock()
192 const hidl_handle &acquire_fence, lockYCbCr_cb hidl_cb) { in lockYCbCr() argument
196 hidl_cb(err, layout); in lockYCbCr()
203 hidl_cb(Error::BAD_VALUE, layout); in lockYCbCr()
211 hidl_cb(Error::NONE, layout); in lockYCbCr()
215 Return<void> QtiMapper::unlock(void *buffer, unlock_cb hidl_cb) { in unlock() argument
221 hidl_cb(err, hidl_handle(nullptr)); in unlock()
243 Return<void> QtiMapper::getTransportSize(void *buffer, IMapper_3_0::getTransportSize_cb hidl_cb) { in getTransportSize() argument
254 hidl_cb(err, num_fds, num_ints); in getTransportSize()
259 IMapper_3_0::isSupported_cb hidl_cb) { in isSupported() argument
263 hidl_cb(err, false); in isSupported()
270 hidl_cb(err, false); in isSupported()
277 hidl_cb(err, false); in isSupported()
279 hidl_cb(err, true); in isSupported()
285 Return<void> QtiMapper::getMapperExtensions(QtiMapper::getMapperExtensions_cb hidl_cb) { in getMapperExtensions() argument
287 hidl_cb(Error::NONE, extensions_); in getMapperExtensions()
289 hidl_cb(Error::UNSUPPORTED, extensions_); in getMapperExtensions()