summaryrefslogtreecommitdiffstats
path: root/update_verifier/include
diff options
context:
space:
mode:
authorAkilesh Kailash <akailash@google.com>2022-06-10 00:43:32 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2022-06-10 00:43:32 +0200
commit5614437de3646321186b70023682f95ba839deff (patch)
tree69ebe9593c6896e68a471de3246cfaa41c0a224c /update_verifier/include
parentMerge "Import translations. DO NOT MERGE ANYWHERE" (diff)
parentupdate_verifier: Verify blocks (diff)
downloadandroid_bootable_recovery-5614437de3646321186b70023682f95ba839deff.tar
android_bootable_recovery-5614437de3646321186b70023682f95ba839deff.tar.gz
android_bootable_recovery-5614437de3646321186b70023682f95ba839deff.tar.bz2
android_bootable_recovery-5614437de3646321186b70023682f95ba839deff.tar.lz
android_bootable_recovery-5614437de3646321186b70023682f95ba839deff.tar.xz
android_bootable_recovery-5614437de3646321186b70023682f95ba839deff.tar.zst
android_bootable_recovery-5614437de3646321186b70023682f95ba839deff.zip
Diffstat (limited to 'update_verifier/include')
-rw-r--r--update_verifier/include/update_verifier/update_verifier.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/update_verifier/include/update_verifier/update_verifier.h b/update_verifier/include/update_verifier/update_verifier.h
index 4c64b1ea1..0cccc9075 100644
--- a/update_verifier/include/update_verifier/update_verifier.h
+++ b/update_verifier/include/update_verifier/update_verifier.h
@@ -21,6 +21,7 @@
#include <string>
#include <vector>
+#include <snapuserd/snapuserd_client.h>
#include "otautil/rangeset.h"
// The update verifier performs verification upon the first boot to a new slot on A/B devices.
@@ -68,4 +69,8 @@ class UpdateVerifier {
// The function to read the device property; default value: android::base::GetProperty()
std::function<std::string(const std::string&)> property_reader_;
+
+ // Check if snapuserd daemon has already completed the update verification
+ // Applicable only for VABC with userspace snapshots
+ bool CheckVerificationStatus();
};