summaryrefslogtreecommitdiffstats
path: root/updater/include
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2019-05-25 01:08:45 +0200
committerTianjie Xu <xunchang@google.com>2019-06-24 21:46:28 +0200
commitd118833f3e55f94d1dad416c6facddb3e2d48297 (patch)
tree243fd7f70609ed48db16afc298e2659e77b0059b /updater/include
parentMerge "Support starting fuse from a block map" (diff)
downloadandroid_bootable_recovery-d118833f3e55f94d1dad416c6facddb3e2d48297.tar
android_bootable_recovery-d118833f3e55f94d1dad416c6facddb3e2d48297.tar.gz
android_bootable_recovery-d118833f3e55f94d1dad416c6facddb3e2d48297.tar.bz2
android_bootable_recovery-d118833f3e55f94d1dad416c6facddb3e2d48297.tar.lz
android_bootable_recovery-d118833f3e55f94d1dad416c6facddb3e2d48297.tar.xz
android_bootable_recovery-d118833f3e55f94d1dad416c6facddb3e2d48297.tar.zst
android_bootable_recovery-d118833f3e55f94d1dad416c6facddb3e2d48297.zip
Diffstat (limited to 'updater/include')
-rw-r--r--updater/include/updater/simulator_runtime.h4
-rw-r--r--updater/include/updater/updater_runtime.h5
2 files changed, 9 insertions, 0 deletions
diff --git a/updater/include/updater/simulator_runtime.h b/updater/include/updater/simulator_runtime.h
index 629095886..9f7847b4f 100644
--- a/updater/include/updater/simulator_runtime.h
+++ b/updater/include/updater/simulator_runtime.h
@@ -50,6 +50,10 @@ class SimulatorRuntime : public UpdaterRuntimeInterface {
int RunProgram(const std::vector<std::string>& args, bool is_vfork) const override;
int Tune2Fs(const std::vector<std::string>& args) const override;
+ 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;
+
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 e97eb49b1..8fc066f6a 100644
--- a/updater/include/updater/updater_runtime.h
+++ b/updater/include/updater/updater_runtime.h
@@ -53,5 +53,10 @@ class UpdaterRuntime : public UpdaterRuntimeInterface {
int RunProgram(const std::vector<std::string>& args, bool is_vfork) const override;
int Tune2Fs(const std::vector<std::string>& args) const override;
+ 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;
+
+ private:
struct selabel_handle* sehandle_{ nullptr };
};