Searched refs:retError (Results 1 – 1 of 1) sorted by relevance
399 android::base::Error& SetErrorCode(std::optional<android::base::Error>* retError, in SetErrorCode() argument401 if (!retError->has_value()) { in SetErrorCode()402 retError->emplace(errorCode); in SetErrorCode()407 (**retError) << "\n"; in SetErrorCode()409 return **retError; in SetErrorCode()414 void AddResult(std::optional<android::base::Error>* retError, const android::base::Result<T>& other, in AddResult() argument417 SetErrorCode(retError, other.error().code()) << other.error() << additionalMessage; in AddResult()440 std::optional<android::base::Error> retError = std::nullopt; in checkAllFiles() local445 SetErrorCode(&retError) << compatibleError; in checkAllFiles()447 SetErrorCode(&retError, -compatibleResult) << compatibleError; in checkAllFiles()[all …]