Searched refs:TrustyAppError (Results 1 – 2 of 2) sorted by relevance
61 enum class TrustyAppError : int32_t { enum86 std::tuple<TrustyAppError, msg2tuple_t<Response>> issueCmd(const T&... args) { in issueCmd()91 return {TrustyAppError::ERROR, {}}; in issueCmd()100 return {TrustyAppError::MSG_TOO_LONG, {}}; in issueCmd()105 if (rc < 0) return {TrustyAppError::ERROR, {}}; in issueCmd()111 return {TrustyAppError::ERROR, {}}; in issueCmd()114 return {std::get<0>(result) ? TrustyAppError::OK : TrustyAppError::ERROR, in issueCmd()118 template <typename Request, typename... T> TrustyAppError issueCmd(const T&... args) { in issueCmd()123 return TrustyAppError::ERROR; in issueCmd()132 return TrustyAppError::MSG_TOO_LONG; in issueCmd()[all …]
53 using ::android::trusty::confirmationui::TrustyAppError;232 if (error != TrustyAppError::OK || rc != TeeuiRc::OK) { in promptUserConfirmation_()235 rc = error != TrustyAppError::OK ? TeeuiRc::SystemError : rc; in promptUserConfirmation_()245 if (error != TrustyAppError::OK || rc != TeeuiRc::OK) { in promptUserConfirmation_()248 rc = error != TrustyAppError::OK ? TeeuiRc::SystemError : rc; in promptUserConfirmation_()258 if (error != TrustyAppError::OK) { in promptUserConfirmation_()287 TrustyAppError error; in promptUserConfirmation_()292 if (error == TrustyAppError::MSG_TOO_LONG) { in promptUserConfirmation_()296 } else if (error != TrustyAppError::OK) { in promptUserConfirmation_()380 if (error != TrustyAppError::OK) { in promptUserConfirmation_()[all …]