summaryrefslogtreecommitdiffstats
path: root/updater/include
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2020-05-13 19:26:44 +0200
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-05-13 19:26:44 +0200
commitb62ff1abe3f3cdaaefdc17a51cf6479428606c31 (patch)
treeac504cb7b03cd61ef0b5312c99427f8678c95ead /updater/include
parentRename external storage properties. (diff)
parentAdd add_slot_suffix function. (diff)
downloadandroid_bootable_recovery-b62ff1abe3f3cdaaefdc17a51cf6479428606c31.tar
android_bootable_recovery-b62ff1abe3f3cdaaefdc17a51cf6479428606c31.tar.gz
android_bootable_recovery-b62ff1abe3f3cdaaefdc17a51cf6479428606c31.tar.bz2
android_bootable_recovery-b62ff1abe3f3cdaaefdc17a51cf6479428606c31.tar.lz
android_bootable_recovery-b62ff1abe3f3cdaaefdc17a51cf6479428606c31.tar.xz
android_bootable_recovery-b62ff1abe3f3cdaaefdc17a51cf6479428606c31.tar.zst
android_bootable_recovery-b62ff1abe3f3cdaaefdc17a51cf6479428606c31.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 };