summaryrefslogtreecommitdiffstats
path: root/error_code.h
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2016-09-25 00:31:34 +0200
committerTianjie Xu <xunchang@google.com>2016-09-29 20:06:04 +0200
commit37d7d67ca216972cba9259aa5866220d6abfaf14 (patch)
tree535d8abf400b2fba9502fe05051376b94cd5807b /error_code.h
parentDO NOT MERGE Duplicate the last_install content into last_log. (diff)
downloadandroid_bootable_recovery-37d7d67ca216972cba9259aa5866220d6abfaf14.tar
android_bootable_recovery-37d7d67ca216972cba9259aa5866220d6abfaf14.tar.gz
android_bootable_recovery-37d7d67ca216972cba9259aa5866220d6abfaf14.tar.bz2
android_bootable_recovery-37d7d67ca216972cba9259aa5866220d6abfaf14.tar.lz
android_bootable_recovery-37d7d67ca216972cba9259aa5866220d6abfaf14.tar.xz
android_bootable_recovery-37d7d67ca216972cba9259aa5866220d6abfaf14.tar.zst
android_bootable_recovery-37d7d67ca216972cba9259aa5866220d6abfaf14.zip
Diffstat (limited to 'error_code.h')
-rw-r--r--error_code.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/error_code.h b/error_code.h
index fe38ba476..dfea0eb38 100644
--- a/error_code.h
+++ b/error_code.h
@@ -44,4 +44,26 @@ enum CauseCode {
kVendorFailure = 200
};
+enum UncryptErrorCode {
+ kUncryptNoError = -1,
+ kUncryptErrorPlaceholder = 50,
+ kUncryptTimeoutError = 100,
+ kUncryptFileRemoveError,
+ kUncryptFileOpenError,
+ kUncryptSocketOpenError,
+ kUncryptSocketWriteError,
+ kUncryptSocketListenError,
+ kUncryptSocketAcceptError,
+ kUncryptFstabReadError,
+ kUncryptFileStatError,
+ kUncryptBlockOpenError,
+ kUncryptIoctlError,
+ kUncryptReadError,
+ kUncryptWriteError,
+ kUncryptFileSyncError,
+ kUncryptFileCloseError,
+ kUncryptFileRenameError,
+ kUncryptPackageMissingError,
+};
+
#endif