summaryrefslogtreecommitdiffstats
path: root/error_code.h
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2016-09-27 23:19:56 +0200
committerandroid-build-merger <android-build-merger@google.com>2016-09-27 23:19:56 +0200
commit7582609d6196552fc15204043b39972bb6b906a0 (patch)
tree6afe76ad7ab69dd255f176b5a1a53d40793fad7e /error_code.h
parentMerge "Duplicate the last_install content into last_log." (diff)
parentMerge "Report uncrypt errors in details" (diff)
downloadandroid_bootable_recovery-7582609d6196552fc15204043b39972bb6b906a0.tar
android_bootable_recovery-7582609d6196552fc15204043b39972bb6b906a0.tar.gz
android_bootable_recovery-7582609d6196552fc15204043b39972bb6b906a0.tar.bz2
android_bootable_recovery-7582609d6196552fc15204043b39972bb6b906a0.tar.lz
android_bootable_recovery-7582609d6196552fc15204043b39972bb6b906a0.tar.xz
android_bootable_recovery-7582609d6196552fc15204043b39972bb6b906a0.tar.zst
android_bootable_recovery-7582609d6196552fc15204043b39972bb6b906a0.zip
Diffstat (limited to '')
-rw-r--r--error_code.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/error_code.h b/error_code.h
index 259319ab4..09ea82019 100644
--- a/error_code.h
+++ b/error_code.h
@@ -43,4 +43,26 @@ enum CauseCode {
kVendorFailure = 200
};
+enum UncryptErrorCode {
+ kUncryptNoError = -1,
+ kUncryptErrorHolder = 50,
+ kUncryptTimeoutError = 100,
+ kUncryptFileRemoveError,
+ kUncryptFileOpenError,
+ kUncryptSocketOpenError,
+ kUncryptSocketWriteError,
+ kUncryptSocketListenError,
+ kUncryptSocketAcceptError,
+ kUncryptFstabReadError,
+ kUncryptFileStatError,
+ kUncryptBlockOpenError,
+ kUncryptIoctlError,
+ kUncryptReadError,
+ kUncryptWriteError,
+ kUncryptFileSyncError,
+ kUncryptFileCloseError,
+ kUncryptFileRenameError,
+ kUncryptPackageMissingError,
+};
+
#endif