summaryrefslogtreecommitdiffstats
path: root/error_code.h
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2016-09-29 20:13:20 +0200
committerandroid-build-merger <android-build-merger@google.com>2016-09-29 20:13:20 +0200
commit4c53af080d5d3b83658ac494215db913159084b2 (patch)
treed9c18ca9a0388f469069116f027f74d9d6316261 /error_code.h
parentDO NOT MERGE Duplicate the last_install content into last_log. (diff)
parentDO NOT MERGE Report uncrypt errors in details (diff)
downloadandroid_bootable_recovery-4c53af080d5d3b83658ac494215db913159084b2.tar
android_bootable_recovery-4c53af080d5d3b83658ac494215db913159084b2.tar.gz
android_bootable_recovery-4c53af080d5d3b83658ac494215db913159084b2.tar.bz2
android_bootable_recovery-4c53af080d5d3b83658ac494215db913159084b2.tar.lz
android_bootable_recovery-4c53af080d5d3b83658ac494215db913159084b2.tar.xz
android_bootable_recovery-4c53af080d5d3b83658ac494215db913159084b2.tar.zst
android_bootable_recovery-4c53af080d5d3b83658ac494215db913159084b2.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