Lines Matching refs:Error3

44 using Error3 = MapperV3::Error;  typedef
63 const Error3 e = allocateImpl(rawDescriptor, count, &stride, &cbs); in allocate()
64 if (e == Error3::NONE) { in allocate()
66 hidl_cb(Error3::NONE, stride, handles); in allocate()
80 Error3 allocateImpl(const hidl_vec<uint32_t>& rawDescriptor, in allocateImpl()
86 RETURN_ERROR(Error3::BAD_DESCRIPTOR); in allocateImpl()
89 if (!descriptor.width) { RETURN_ERROR(Error3::UNSUPPORTED); } in allocateImpl()
90 if (!descriptor.height) { RETURN_ERROR(Error3::UNSUPPORTED); } in allocateImpl()
91 if (descriptor.layerCount != 1) { RETURN_ERROR(Error3::UNSUPPORTED); } in allocateImpl()
108 Error3 e = getBufferFormat(descriptor.format, usage, &format); in allocateImpl()
109 if (e != Error3::NONE) { in allocateImpl()
129 RETURN_ERROR(Error3::UNSUPPORTED); in allocateImpl()
161 RETURN_ERROR(Error3::UNSUPPORTED); in allocateImpl()
173 RETURN_ERROR(Error3::UNSUPPORTED); in allocateImpl()
205 RETURN_ERROR(Error3::UNSUPPORTED); in allocateImpl()
237 Error3 allocateImpl2(const uint32_t usage, in allocateImpl2()
249 Error3 e = allocateCb(usage, in allocateImpl2()
256 if (e == Error3::NONE) { in allocateImpl2()
263 RETURN(Error3::NONE); in allocateImpl2()
282 static Error3 getBufferFormat(const PixelFormat frameworkFormat, in getBufferFormat()
290 RETURN(Error3::NONE); in getBufferFormat()
294 RETURN(Error3::NONE); in getBufferFormat()
297 RETURN_ERROR(Error3::UNSUPPORTED); in getBufferFormat()
304 RETURN(Error3::NONE); in getBufferFormat()
307 RETURN(Error3::NONE); in getBufferFormat()
324 Error3 allocateCb(const uint32_t usage, in allocateCb()
340 RETURN_ERROR(Error3::NO_RESOURCES); in allocateCb()
345 RETURN_ERROR(Error3::NO_RESOURCES); in allocateCb()
353 RETURN_ERROR(Error3::NO_RESOURCES); in allocateCb()
366 RETURN_ERROR(Error3::NO_RESOURCES); in allocateCb()
374 RETURN_ERROR(Error3::NO_RESOURCES); in allocateCb()
398 RETURN(Error3::NONE); in allocateCb()