Lines Matching refs:Error

62 Error QtiMapper::CreateDescriptor(const BufferDescriptorInfo_2_1& descriptor_info,  in CreateDescriptor()
72 return Error::NONE; in CreateDescriptor()
74 return Error::BAD_VALUE; in CreateDescriptor()
97 hidl_cb(Error::BAD_BUFFER, nullptr); in importBuffer()
104 hidl_cb(Error::NO_RESOURCES, nullptr); in importBuffer()
109 if (error != Error::NONE) { in importBuffer()
119 hidl_cb(Error::NONE, buffer_handle); in importBuffer()
123 Return<Error> QtiMapper::freeBuffer(void *buffer) { in freeBuffer()
125 return Error::BAD_BUFFER; in freeBuffer()
156 Error QtiMapper::LockBuffer(void *buffer, uint64_t usage, const hidl_handle &acquire_fence) { in LockBuffer()
158 return Error::BAD_BUFFER; in LockBuffer()
163 return Error::BAD_VALUE; in LockBuffer()
179 if (err != Error::NONE) { in lock()
186 hidl_cb(Error::NONE, out_data); in lock()
195 if (err != Error::NONE) { in lockYCbCr()
203 hidl_cb(Error::BAD_VALUE, layout); in lockYCbCr()
211 hidl_cb(Error::NONE, layout); in lockYCbCr()
216 auto err = Error::BAD_BUFFER; in unlock()
225 Return<Error> QtiMapper::validateBufferSize(void* buffer, in validateBufferSize()
228 auto err = Error::BAD_BUFFER; in validateBufferSize()
231 if (buf_mgr_->IsBufferImported(hnd) != Error::NONE) { in validateBufferSize()
232 return Error::BAD_BUFFER; in validateBufferSize()
245 auto err = Error::BAD_BUFFER; in getTransportSize()
252 err = Error::NONE; in getTransportSize()
269 auto err = Error::BAD_BUFFER; in getMapSecureBufferFlag()
276 err = Error::NONE; in getMapSecureBufferFlag()
284 auto err = Error::BAD_BUFFER; in getInterlacedFlag()
291 err = Error::NONE; in getInterlacedFlag()
299 auto err = Error::BAD_BUFFER; in getCustomDimensions()
307 err = Error::NONE; in getCustomDimensions()
314 auto err = Error::BAD_BUFFER; in getRgbDataAddress()
319 err = Error::NONE; in getRgbDataAddress()
333 hidl_cb(Error::NONE, alignedw, alignedh, ubwc_enabled); in calculateBufferAttributes()
338 auto err = Error::BAD_BUFFER; in getColorSpace()
343 err = Error::NONE; in getColorSpace()
350 auto err = Error::BAD_BUFFER; in getYuvPlaneInfo()
357 err = Error::NONE; in getYuvPlaneInfo()
372 Return<Error> QtiMapper::setSingleBufferMode(void *buffer, bool enable) { in setSingleBufferMode()
373 auto err = Error::BAD_BUFFER; in setSingleBufferMode()
377 err = Error::UNSUPPORTED; in setSingleBufferMode()
379 err = Error::NONE; in setSingleBufferMode()