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
129 return static_cast<status_t>((ret.isOk()) ? error : kTransactionError); in createDescriptor()
143 return static_cast<status_t>((ret.isOk()) ? error : kTransactionError); in importBuffer()
150 auto error = (ret.isOk()) ? static_cast<Error>(ret) : kTransactionError; in freeBuffer()
164 return static_cast<status_t>((ret.isOk()) ? static_cast<Error>(ret) : kTransactionError); in validateBufferSize()
185 error = (ret.isOk()) ? error : kTransactionError; in getTransportSize()
228 error = (ret.isOk()) ? error : kTransactionError; in lock()
276 return static_cast<status_t>((ret.isOk()) ? error : kTransactionError); in lock()
303 error = kTransactionError; in unlock()
332 error = kTransactionError; in isSupported()
[all …]
DGralloc2.cpp42 static constexpr Error kTransactionError = Error::NO_RESOURCES; variable
152 return static_cast<status_t>((ret.isOk()) ? error : kTransactionError); in createDescriptor()
169 return static_cast<status_t>((ret.isOk()) ? error : kTransactionError); in importBuffer()
176 auto error = (ret.isOk()) ? static_cast<Error>(ret) : kTransactionError; in freeBuffer()
199 return static_cast<status_t>((ret.isOk()) ? static_cast<Error>(ret) : kTransactionError); in validateBufferSize()
224 error = (ret.isOk()) ? error : kTransactionError; in getTransportSize()
268 error = (ret.isOk()) ? error : kTransactionError; in lock()
318 return static_cast<status_t>((ret.isOk()) ? error : kTransactionError); in lock()
346 error = (ret.isOk()) ? error : kTransactionError; in unlock()
435 return (ret.isOk()) ? error : static_cast<status_t>(kTransactionError); in allocate()
DGralloc4.cpp50 static constexpr Error kTransactionError = Error::NO_RESOURCES; variable
139 return static_cast<status_t>((ret.isOk()) ? error : kTransactionError); in createDescriptor()
153 return static_cast<status_t>((ret.isOk()) ? error : kTransactionError); in importBuffer()
160 auto error = (ret.isOk()) ? static_cast<Error>(ret) : kTransactionError; in freeBuffer()
175 return static_cast<status_t>((ret.isOk()) ? static_cast<Error>(ret) : kTransactionError); in validateBufferSize()
196 error = (ret.isOk()) ? error : kTransactionError; in getTransportSize()
264 error = (ret.isOk()) ? error : kTransactionError; in lock()
396 error = kTransactionError; in unlock()
425 error = kTransactionError; in isSupported()
452 error = kTransactionError; in get()
[all …]