summaryrefslogtreecommitdiffstats
path: root/updater/include
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2018-08-02 01:40:00 +0200
committerTianjie Xu <xunchang@google.com>2018-08-06 21:17:50 +0200
commit69ffa15338503376c2dad1e33d23ebb42fba60d1 (patch)
treeec8de3151e9a221a500ede59dc7fc2fb380e4d53 /updater/include
parentMerge "minadbd: avoid overrriding services_to_fd." (diff)
downloadandroid_bootable_recovery-69ffa15338503376c2dad1e33d23ebb42fba60d1.tar
android_bootable_recovery-69ffa15338503376c2dad1e33d23ebb42fba60d1.tar.gz
android_bootable_recovery-69ffa15338503376c2dad1e33d23ebb42fba60d1.tar.bz2
android_bootable_recovery-69ffa15338503376c2dad1e33d23ebb42fba60d1.tar.lz
android_bootable_recovery-69ffa15338503376c2dad1e33d23ebb42fba60d1.tar.xz
android_bootable_recovery-69ffa15338503376c2dad1e33d23ebb42fba60d1.tar.zst
android_bootable_recovery-69ffa15338503376c2dad1e33d23ebb42fba60d1.zip
Diffstat (limited to '')
-rw-r--r--updater/include/private/commands.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/updater/include/private/commands.h b/updater/include/private/commands.h
index 087d7cfbf..7f9dc79f4 100644
--- a/updater/include/private/commands.h
+++ b/updater/include/private/commands.h
@@ -213,6 +213,10 @@ class PatchInfo {
// - Free the given stash data.
// - Meaningful args: StashInfo
//
+// compute_hash_tree <hash_tree_ranges> <source_ranges> <hash_algorithm> <salt_hex> <root_hash>
+// - Computes the hash_tree bytes and writes the result to the specified range on the
+// block_device.
+//
// abort
// - Abort the current update. Allowed for testing code only.
//
@@ -221,6 +225,7 @@ class Command {
enum class Type {
ABORT,
BSDIFF,
+ COMPUTE_HASH_TREE,
ERASE,
FREE,
IMGDIFF,