Home
last modified time | relevance | path

Searched refs:kTransactionError (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/libs/ui/
DGralloc3.cpp41 static constexpr Error kTransactionError = Error::NO_RESOURCES; variable
138 return static_cast<status_t>((ret.isOk()) ? error : kTransactionError); in createDescriptor()
152 return static_cast<status_t>((ret.isOk()) ? error : kTransactionError); in importBuffer()
159 auto error = (ret.isOk()) ? static_cast<Error>(ret) : kTransactionError; in freeBuffer()
173 return static_cast<status_t>((ret.isOk()) ? static_cast<Error>(ret) : kTransactionError); in validateBufferSize()
194 error = (ret.isOk()) ? error : kTransactionError; in getTransportSize()
237 error = (ret.isOk()) ? error : kTransactionError; in lock()
285 return static_cast<status_t>((ret.isOk()) ? error : kTransactionError); in lock()
312 error = kTransactionError; in unlock()
341 error = kTransactionError; in isSupported()
[all …]
DGralloc2.cpp42 static constexpr Error kTransactionError = Error::NO_RESOURCES; variable
161 return static_cast<status_t>((ret.isOk()) ? error : kTransactionError); in createDescriptor()
178 return static_cast<status_t>((ret.isOk()) ? error : kTransactionError); in importBuffer()
185 auto error = (ret.isOk()) ? static_cast<Error>(ret) : kTransactionError; in freeBuffer()
208 return static_cast<status_t>((ret.isOk()) ? static_cast<Error>(ret) : kTransactionError); in validateBufferSize()
233 error = (ret.isOk()) ? error : kTransactionError; in getTransportSize()
277 error = (ret.isOk()) ? error : kTransactionError; in lock()
327 return static_cast<status_t>((ret.isOk()) ? error : kTransactionError); in lock()
355 error = (ret.isOk()) ? error : kTransactionError; in unlock()
446 return (ret.isOk()) ? error : static_cast<status_t>(kTransactionError); in allocate()
DGralloc4.cpp65 static constexpr Error kTransactionError = Error::NO_RESOURCES; variable
198 return static_cast<status_t>((ret.isOk()) ? error : kTransactionError); in createDescriptor()
212 return static_cast<status_t>((ret.isOk()) ? error : kTransactionError); in importBuffer()
219 auto error = (ret.isOk()) ? static_cast<Error>(ret) : kTransactionError; in freeBuffer()
236 return static_cast<status_t>((ret.isOk()) ? static_cast<Error>(ret) : kTransactionError); in validateBufferSize()
257 error = (ret.isOk()) ? error : kTransactionError; in getTransportSize()
296 error = (ret.isOk()) ? error : kTransactionError; in lock()
428 error = kTransactionError; in unlock()
462 error = kTransactionError; in isSupported()
489 error = kTransactionError; in get()
[all …]