Home
last modified time | relevance | path

Searched refs:UpdaterRuntime (Results 1 – 5 of 5) sorted by relevance

/bootable/recovery/updater/
Dupdater_runtime.cpp38 std::string UpdaterRuntime::GetProperty(const std::string_view key, in GetProperty()
43 std::string UpdaterRuntime::FindBlockDeviceName(const std::string_view name) const { in FindBlockDeviceName()
95 int UpdaterRuntime::Mount(const std::string_view location, const std::string_view mount_point, in Mount()
124 bool UpdaterRuntime::IsMounted(const std::string_view mount_point) const { in IsMounted()
130 std::pair<bool, int> UpdaterRuntime::Unmount(const std::string_view mount_point) { in Unmount()
141 bool UpdaterRuntime::ReadFileToString(const std::string_view filename, std::string* content) const { in ReadFileToString()
145 bool UpdaterRuntime::WriteStringToFile(const std::string_view content, in WriteStringToFile()
150 int UpdaterRuntime::WipeBlockDevice(const std::string_view filename, size_t len) const { in WipeBlockDevice()
160 int UpdaterRuntime::RunProgram(const std::vector<std::string>& args, bool is_vfork) const { in RunProgram()
185 int UpdaterRuntime::Tune2Fs(const std::vector<std::string>& args) const { in Tune2Fs()
[all …]
Dupdater_runtime_dynamic_partitions.cpp69 bool UpdaterRuntime::MapPartitionOnDeviceMapper(const std::string& partition_name, in MapPartitionOnDeviceMapper()
96 bool UpdaterRuntime::UnmapPartitionOnDeviceMapper(const std::string& partition_name) { in UnmapPartitionOnDeviceMapper()
301 bool UpdaterRuntime::UpdateDynamicPartitions(const std::string_view op_list_value) { in UpdateDynamicPartitions()
Dupdater_main.cpp106 Updater updater(std::make_unique<UpdaterRuntime>(sehandle)); in main()
/bootable/recovery/updater/include/updater/
Dupdater_runtime.h29 class UpdaterRuntime : public UpdaterRuntimeInterface {
31 explicit UpdaterRuntime(struct selabel_handle* sehandle) : sehandle_(sehandle) {} in UpdaterRuntime() function
32 ~UpdaterRuntime() override = default;
/bootable/recovery/tests/unit/
Dupdater_test.cpp88 Updater updater(std::make_unique<UpdaterRuntime>(nullptr)); in expect()
136 UpdaterTestBase() : updater_(std::make_unique<UpdaterRuntime>(nullptr)) {} in UpdaterTestBase()