Home
last modified time | relevance | path

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

/frameworks/native/libs/ui/include/ui/
DResult.h94 constexpr status_t asStatus() const { return codeToStatus(mCode); } in asStatus() function
112 [[nodiscard]] constexpr status_t asStatus() const { in asStatus() function
113 return this->has_value() ? OK : this->error().asStatus(); in asStatus()
/frameworks/native/libs/ui/
DGraphicBufferMapper.cpp185 if (!result.has_value()) return result.asStatus(); in lock()
194 if (!result.has_value()) return result.asStatus(); in lockYCbCr()
202 if (!result.has_value()) return result.asStatus(); in lockAsync()
219 if (!result.has_value()) return result.asStatus(); in lockAsyncYCbCr()
DGraphicBuffer.cpp386 if (!planeLayout.has_value()) return planeLayout.asStatus(); in lockAsync()
397 return result.error().asStatus(); in lockAsync()
432 return result.error().asStatus(); in lockAsyncYCbCr()