summaryrefslogtreecommitdiffstats
path: root/updater/updater_runtime.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move mounts.cpp from libotautil into libupdater.Tao Bao2019-10-011-1/+1
| | | | | | | | | All the active users of mounts.h now live in updater/. Test: mmma bootable/recovery Test: Run recovery_unit_test on taimen. Test: Code search shows no reference to otautil/mounts.h in device dirs. Change-Id: I6c35d2e403e92a0111102d00aa4773f4f524650e
* Add UpdaterRuntime classTianjie Xu2019-05-211-0/+132
This class adds a wrapper to the runtime dependent functions. Therefore, the behavior of update on device stays the same, while simulators can have their own implementations. Also change the caller side of the registered updater functions to call these runtime wrappers. Bug: 131911365 Test: unit tests pass, sideload an update on cuttlefish Change-Id: Ib3ab67132991d67fc132f27120e4152439d16ac5