Searched refs:ndkStatus (Results 1 – 1 of 1) sorted by relevance
28 static bool checkUnsupported(const ndk::ScopedAStatus& ndkStatus) { in checkUnsupported() argument29 return ndkStatus.getExceptionCode() == EX_UNSUPPORTED_OPERATION || in checkUnsupported()30 ndkStatus.getStatus() == STATUS_UNKNOWN_TRANSACTION; in checkUnsupported()61 static HalResult<T> fromStatus(const ndk::ScopedAStatus& ndkStatus, T&& data) { in fromStatus() argument62 if (checkUnsupported(ndkStatus)) { in fromStatus()65 if (ndkStatus.isOk()) { in fromStatus()68 return HalResult<T>::failed(std::string(ndkStatus.getDescription())); in fromStatus()71 static HalResult<T> fromStatus(const ndk::ScopedAStatus& ndkStatus, T& data) { in fromStatus() argument72 return HalResult<T>::fromStatus(ndkStatus, T{data}); in fromStatus()135 static HalResult<void> fromStatus(const ndk::ScopedAStatus& ndkStatus) { in fromStatus() argument[all …]