summaryrefslogtreecommitdiffstats
path: root/error_code.h
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2016-09-27 23:27:56 +0200
committerandroid-build-merger <android-build-merger@google.com>2016-09-27 23:27:56 +0200
commit553d47bf91b3aa91f6d0a15319f2d891f859edbb (patch)
treece16e0e65c460aaba4b7994c7d5bf8792b8cffcf /error_code.h
parentresolve merge conflicts of 64b92df to nyc-mr1-dev-plus-aosp (diff)
parentMerge "Report uncrypt errors in details" am: af8b9363c6 am: 7582609d61 (diff)
downloadandroid_bootable_recovery-553d47bf91b3aa91f6d0a15319f2d891f859edbb.tar
android_bootable_recovery-553d47bf91b3aa91f6d0a15319f2d891f859edbb.tar.gz
android_bootable_recovery-553d47bf91b3aa91f6d0a15319f2d891f859edbb.tar.bz2
android_bootable_recovery-553d47bf91b3aa91f6d0a15319f2d891f859edbb.tar.lz
android_bootable_recovery-553d47bf91b3aa91f6d0a15319f2d891f859edbb.tar.xz
android_bootable_recovery-553d47bf91b3aa91f6d0a15319f2d891f859edbb.tar.zst
android_bootable_recovery-553d47bf91b3aa91f6d0a15319f2d891f859edbb.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..92e93bdea 100644
--- a/error_code.h
+++ b/error_code.h
@@ -44,4 +44,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