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-20 00:20:14 +0200
commit0c328d02c1546537478ffc575eed128e69fce84a (patch)
tree0477953cf26b4daf2e5041d0f8a808f4119e7749 /updater/include
parentAdd slot suffix to DAP ops (diff)
downloadandroid_bootable_recovery-0c328d02c1546537478ffc575eed128e69fce84a.tar
android_bootable_recovery-0c328d02c1546537478ffc575eed128e69fce84a.tar.gz
android_bootable_recovery-0c328d02c1546537478ffc575eed128e69fce84a.tar.bz2
android_bootable_recovery-0c328d02c1546537478ffc575eed128e69fce84a.tar.lz
android_bootable_recovery-0c328d02c1546537478ffc575eed128e69fce84a.tar.xz
android_bootable_recovery-0c328d02c1546537478ffc575eed128e69fce84a.tar.zst
android_bootable_recovery-0c328d02c1546537478ffc575eed128e69fce84a.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 };