summaryrefslogtreecommitdiffstats
path: root/updater/include
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2020-04-28 22:31:11 +0200
committerYifan Hong <elsk@google.com>2020-05-08 04:25:26 +0200
commitdff80042750992ed635056cd9719481a14f93007 (patch)
tree7ceaaab834a5f056639d4c168a0a88b066981109 /updater/include
parentAdd slot suffix to DAP ops (diff)
downloadandroid_bootable_recovery-dff80042750992ed635056cd9719481a14f93007.tar
android_bootable_recovery-dff80042750992ed635056cd9719481a14f93007.tar.gz
android_bootable_recovery-dff80042750992ed635056cd9719481a14f93007.tar.bz2
android_bootable_recovery-dff80042750992ed635056cd9719481a14f93007.tar.lz
android_bootable_recovery-dff80042750992ed635056cd9719481a14f93007.tar.xz
android_bootable_recovery-dff80042750992ed635056cd9719481a14f93007.tar.zst
android_bootable_recovery-dff80042750992ed635056cd9719481a14f93007.zip
Diffstat (limited to 'updater/include')
-rw-r--r--updater/include/updater/simulator_runtime.h1
-rw-r--r--updater/include/updater/updater_runtime.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/updater/include/updater/simulator_runtime.h b/updater/include/updater/simulator_runtime.h
index 9f7847b4f..fa878db33 100644
--- a/updater/include/updater/simulator_runtime.h
+++ b/updater/include/updater/simulator_runtime.h
@@ -53,6 +53,7 @@ class SimulatorRuntime : public UpdaterRuntimeInterface {
bool MapPartitionOnDeviceMapper(const std::string& partition_name, std::string* path) override;
bool UnmapPartitionOnDeviceMapper(const std::string& partition_name) override;
bool UpdateDynamicPartitions(const std::string_view op_list_value) override;
+ std::string AddSlotSuffix(const std::string_view arg) const override;
private:
std::string FindBlockDeviceName(const std::string_view name) const override;
diff --git a/updater/include/updater/updater_runtime.h b/updater/include/updater/updater_runtime.h
index 8fc066f6a..b943dfcf1 100644
--- a/updater/include/updater/updater_runtime.h
+++ b/updater/include/updater/updater_runtime.h
@@ -56,6 +56,7 @@ class UpdaterRuntime : public UpdaterRuntimeInterface {
bool MapPartitionOnDeviceMapper(const std::string& partition_name, std::string* path) override;
bool UnmapPartitionOnDeviceMapper(const std::string& partition_name) override;
bool UpdateDynamicPartitions(const std::string_view op_list_value) override;
+ std::string AddSlotSuffix(const std::string_view arg) const override;
private:
struct selabel_handle* sehandle_{ nullptr };