Lines Matching refs:exceptionCode
26 Status Status::fromExceptionCode(int32_t exceptionCode) { in fromExceptionCode() argument
27 if (exceptionCode == EX_TRANSACTION_FAILED) { in fromExceptionCode()
28 return Status(exceptionCode, FAILED_TRANSACTION); in fromExceptionCode()
30 return Status(exceptionCode, OK); in fromExceptionCode()
33 Status Status::fromExceptionCode(int32_t exceptionCode, in fromExceptionCode() argument
35 if (exceptionCode == EX_TRANSACTION_FAILED) { in fromExceptionCode()
36 return Status(exceptionCode, FAILED_TRANSACTION, message); in fromExceptionCode()
38 return Status(exceptionCode, OK, message); in fromExceptionCode()
41 Status Status::fromExceptionCode(int32_t exceptionCode, in fromExceptionCode() argument
43 return fromExceptionCode(exceptionCode, String8(message)); in fromExceptionCode()
66 std::string Status::exceptionToString(int32_t exceptionCode) { in exceptionToString() argument
67 switch (exceptionCode) { in exceptionToString()
82 default: return std::to_string(exceptionCode); in exceptionToString()
86 Status::Status(int32_t exceptionCode, int32_t errorCode) in Status() argument
87 : mException(exceptionCode), in Status()
90 Status::Status(int32_t exceptionCode, int32_t errorCode, const String8& message) in Status() argument
91 : mException(exceptionCode), in Status()