Lines Matching refs:Error
34 using android::hardware::graphics::mapper::V2_0::Error;
42 static constexpr Error kTransactionError = Error::NO_RESOURCES;
127 Error error; in createDescriptor()
131 if (error != Error::NONE) { in createDescriptor()
157 Error error; in importBuffer()
162 if (error != Error::NONE) { in importBuffer()
176 auto error = (ret.isOk()) ? static_cast<Error>(ret) : kTransactionError; in freeBuffer()
177 ALOGE_IF(error != Error::NONE, "freeBuffer(%p) failed with %d", in freeBuffer()
199 return static_cast<status_t>((ret.isOk()) ? static_cast<Error>(ret) : kTransactionError); in validateBufferSize()
211 Error error; in getTransportSize()
216 if (error != Error::NONE) { in getTransportSize()
226 ALOGE_IF(error != Error::NONE, "getTransportSize(%p) failed with %d", buffer, error); in getTransportSize()
251 Error error; in lock()
256 if (error != Error::NONE) { in lock()
270 ALOGW_IF(error != Error::NONE, "lock(%p, ...) failed: %d", bufferHandle, error); in lock()
291 Error error; in lock()
297 if (error != Error::NONE) { in lock()
304 if (error == Error::NONE) { in lock()
325 Error error; in unlock()
330 if (error != Error::NONE) { in unlock()
347 if (error != Error::NONE) { in unlock()
403 if (tmpError != Error::NONE) { in allocate()