Lines Matching refs:err

52   auto err = Error::BAD_BUFFER;  in getMapSecureBufferFlag()  local
59 err = Error::NONE; in getMapSecureBufferFlag()
62 hidl_cb(err, map_secure_buffer != 0); in getMapSecureBufferFlag()
67 auto err = Error::BAD_BUFFER; in getInterlacedFlag() local
74 err = Error::NONE; in getInterlacedFlag()
77 hidl_cb(err, interlaced_flag != 0); in getInterlacedFlag()
83 auto err = Error::BAD_BUFFER; in getCustomDimensions() local
91 err = Error::NONE; in getCustomDimensions()
93 hidl_cb(err, stride, height); in getCustomDimensions()
98 auto err = Error::BAD_BUFFER; in getRgbDataAddress() local
103 err = Error::NONE; in getRgbDataAddress()
106 hidl_cb(err, rgb_data); in getRgbDataAddress()
124 auto err = Error::NONE; in getCustomFormatFlags() local
127 err = Error::UNSUPPORTED; in getCustomFormatFlags()
129 hidl_cb(err, custom_format, priv_flags); in getCustomFormatFlags()
134 auto err = Error::BAD_BUFFER; in getColorSpace() local
139 err = Error::NONE; in getColorSpace()
141 hidl_cb(err, color_space); in getColorSpace()
146 auto err = Error::BAD_BUFFER; in getYuvPlaneInfo() local
153 err = Error::NONE; in getYuvPlaneInfo()
164 hidl_cb(err, layout); in getYuvPlaneInfo()
169 auto err = Error::BAD_BUFFER; in setSingleBufferMode() local
173 err = Error::UNSUPPORTED; in setSingleBufferMode()
175 err = Error::NONE; in setSingleBufferMode()
178 return err; in setSingleBufferMode()
182 auto err = Error::BAD_BUFFER; in getFd() local
186 err = Error::NONE; in getFd()
189 hidl_cb(err, fd); in getFd()
194 auto err = Error::BAD_BUFFER; in getWidth() local
198 err = Error::NONE; in getWidth()
201 hidl_cb(err, width); in getWidth()
206 auto err = Error::BAD_BUFFER; in getHeight() local
210 err = Error::NONE; in getHeight()
213 hidl_cb(err, height); in getHeight()
218 auto err = Error::BAD_BUFFER; in getFormat() local
222 err = Error::NONE; in getFormat()
225 hidl_cb(err, format); in getFormat()
230 auto err = Error::BAD_BUFFER; in getPrivateFlags() local
234 err = Error::NONE; in getPrivateFlags()
237 hidl_cb(err, flags); in getPrivateFlags()
242 auto err = Error::BAD_BUFFER; in getUnalignedWidth() local
246 err = Error::NONE; in getUnalignedWidth()
249 hidl_cb(err, unaligned_width); in getUnalignedWidth()
254 auto err = Error::BAD_BUFFER; in getUnalignedHeight() local
258 err = Error::NONE; in getUnalignedHeight()
261 hidl_cb(err, unaligned_height); in getUnalignedHeight()
266 auto err = Error::BAD_BUFFER; in getLayerCount() local
270 err = Error::NONE; in getLayerCount()
273 hidl_cb(err, layer_count); in getLayerCount()
278 auto err = Error::BAD_BUFFER; in getId() local
282 err = Error::NONE; in getId()
285 hidl_cb(err, id); in getId()
290 auto err = Error::BAD_BUFFER; in getUsageFlags() local
294 err = Error::NONE; in getUsageFlags()
297 hidl_cb(err, usage); in getUsageFlags()
302 auto err = Error::BAD_BUFFER; in getSize() local
306 err = Error::NONE; in getSize()
309 hidl_cb(err, size); in getSize()
314 auto err = Error::BAD_BUFFER; in getOffset() local
318 err = Error::NONE; in getOffset()
321 hidl_cb(err, offset); in getOffset()
326 auto err = Error::BAD_BUFFER; in getSurfaceMetadata() local
331 err = Error::NONE; in getSurfaceMetadata()
334 if (err != Error::NONE) { in getSurfaceMetadata()
335 hidl_cb(err, nullptr); in getSurfaceMetadata()
337 hidl_cb(err, &surface_metadata); in getSurfaceMetadata()