Searched refs:UpdaterRuntime (Results 1 – 5 of 5) sorted by relevance
38 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 …]
69 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()
106 Updater updater(std::make_unique<UpdaterRuntime>(sehandle)); in main()
29 class UpdaterRuntime : public UpdaterRuntimeInterface {31 explicit UpdaterRuntime(struct selabel_handle* sehandle) : sehandle_(sehandle) {} in UpdaterRuntime() function32 ~UpdaterRuntime() override = default;
88 Updater updater(std::make_unique<UpdaterRuntime>(nullptr)); in expect()136 UpdaterTestBase() : updater_(std::make_unique<UpdaterRuntime>(nullptr)) {} in UpdaterTestBase()