diff options
author | android-build-prod (mdb) <android-build-team-robot@google.com> | 2018-04-26 18:48:27 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-04-26 18:48:27 +0200 |
commit | caa9e09265397f37fa5618bb11c88ba989cf855c (patch) | |
tree | 044f24fe5d41b2ac833bbef487032a7065bf7ca5 /install.h | |
parent | Merge "updater_sample: Use stubs libs for android.test.base / runner." am: d97b643de4 am: 23d17302b1 (diff) | |
parent | Merge "Rename CacheLocation to Paths." am: 49c7f1cec3 (diff) | |
download | android_bootable_recovery-caa9e09265397f37fa5618bb11c88ba989cf855c.tar android_bootable_recovery-caa9e09265397f37fa5618bb11c88ba989cf855c.tar.gz android_bootable_recovery-caa9e09265397f37fa5618bb11c88ba989cf855c.tar.bz2 android_bootable_recovery-caa9e09265397f37fa5618bb11c88ba989cf855c.tar.lz android_bootable_recovery-caa9e09265397f37fa5618bb11c88ba989cf855c.tar.xz android_bootable_recovery-caa9e09265397f37fa5618bb11c88ba989cf855c.tar.zst android_bootable_recovery-caa9e09265397f37fa5618bb11c88ba989cf855c.zip |
Diffstat (limited to 'install.h')
-rw-r--r-- | install.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -17,7 +17,10 @@ #ifndef RECOVERY_INSTALL_H_ #define RECOVERY_INSTALL_H_ +#include <stddef.h> + #include <string> + #include <ziparchive/zip_archive.h> enum { INSTALL_SUCCESS, INSTALL_ERROR, INSTALL_CORRUPT, INSTALL_NONE, INSTALL_SKIPPED, @@ -25,8 +28,8 @@ enum { INSTALL_SUCCESS, INSTALL_ERROR, INSTALL_CORRUPT, INSTALL_NONE, INSTALL_SK // Installs the given update package. If INSTALL_SUCCESS is returned and *wipe_cache is true on // exit, caller should wipe the cache partition. -int install_package(const std::string& package, bool* wipe_cache, const std::string& install_file, - bool needs_mount, int retry_count); +int install_package(const std::string& package, bool* wipe_cache, bool needs_mount, + int retry_count); // Verify the package by ota keys. Return true if the package is verified successfully, // otherwise return false. |