Searched refs:TrustyAppError (Results 1 – 2 of 2) sorted by relevance
57 enum class TrustyAppError : int32_t { enum88 std::tuple<TrustyAppError, msg2tuple_t<Response>> issueCmd(const T&... args) { in issueCmd()93 return {TrustyAppError::ERROR, {}}; in issueCmd()102 return {TrustyAppError::MSG_TOO_LONG, {}}; in issueCmd()107 if (rc < 0) return {TrustyAppError::ERROR, {}}; in issueCmd()113 return {TrustyAppError::ERROR, {}}; in issueCmd()116 return {std::get<0>(result) ? TrustyAppError::OK : TrustyAppError::ERROR, in issueCmd()120 template <typename Request, typename... T> TrustyAppError issueCmd(const T&... args) { in issueCmd()125 return TrustyAppError::ERROR; in issueCmd()134 return TrustyAppError::MSG_TOO_LONG; in issueCmd()[all …]
53 using ::android::trusty::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 …]