summaryrefslogtreecommitdiffstats
path: root/updater/include/updater/updater_runtime.h
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2019-06-24 23:36:30 +0200
committerandroid-build-merger <android-build-merger@google.com>2019-06-24 23:36:30 +0200
commiteaacfc136241517264a9ff3bcbae7ef6b61039d4 (patch)
tree336f247c228ad303cc73f68635455a27cd46cb60 /updater/include/updater/updater_runtime.h
parentMerge "updater_sample: Build SystemUpdaterSample as non-privileged app by default." am: b87520077b am: b50f855396 (diff)
parentMerge "Implement updater runtime for dynamic partitions" am: db0a68e6b7 (diff)
downloadandroid_bootable_recovery-eaacfc136241517264a9ff3bcbae7ef6b61039d4.tar
android_bootable_recovery-eaacfc136241517264a9ff3bcbae7ef6b61039d4.tar.gz
android_bootable_recovery-eaacfc136241517264a9ff3bcbae7ef6b61039d4.tar.bz2
android_bootable_recovery-eaacfc136241517264a9ff3bcbae7ef6b61039d4.tar.lz
android_bootable_recovery-eaacfc136241517264a9ff3bcbae7ef6b61039d4.tar.xz
android_bootable_recovery-eaacfc136241517264a9ff3bcbae7ef6b61039d4.tar.zst
android_bootable_recovery-eaacfc136241517264a9ff3bcbae7ef6b61039d4.zip
Diffstat (limited to 'updater/include/updater/updater_runtime.h')
-rw-r--r--updater/include/updater/updater_runtime.h5
1 files changed, 5 insertions, 0 deletions
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 };
};