Lines Matching refs:Error
34 using android::hardware::graphics::mapper::V2_0::Error;
42 static constexpr Error kTransactionError = Error::NO_RESOURCES;
136 Error error; in createDescriptor()
140 if (error != Error::NONE) { in createDescriptor()
166 Error error; in importBuffer()
171 if (error != Error::NONE) { in importBuffer()
185 auto error = (ret.isOk()) ? static_cast<Error>(ret) : kTransactionError; in freeBuffer()
186 ALOGE_IF(error != Error::NONE, "freeBuffer(%p) failed with %d", in freeBuffer()
208 return static_cast<status_t>((ret.isOk()) ? static_cast<Error>(ret) : kTransactionError); in validateBufferSize()
220 Error error; in getTransportSize()
225 if (error != Error::NONE) { in getTransportSize()
235 ALOGE_IF(error != Error::NONE, "getTransportSize(%p) failed with %d", buffer, error); in getTransportSize()
260 Error error; in lock()
265 if (error != Error::NONE) { in lock()
279 ALOGW_IF(error != Error::NONE, "lock(%p, ...) failed: %d", bufferHandle, error); in lock()
300 Error error; in lock()
306 if (error != Error::NONE) { in lock()
313 if (error == Error::NONE) { in lock()
334 Error error; in unlock()
339 if (error != Error::NONE) { in unlock()
356 if (error != Error::NONE) { in unlock()
409 if (tmpError != Error::NONE) { in allocate()