Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add UpdaterRuntime class | Tianjie Xu | 2019-05-21 | 1 | -2/+3 |
| | | | | | | | | | | | 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 | ||||
* | Add Updater class and remove UpdaterInfo | Tianjie Xu | 2019-05-09 | 1 | -0/+108 |
The UpdaterInfo class is merely a collection of pointers and POD types. We can replace it with a Updater class that has the ownership of the resources. This also makes this class extensible as we plan to add more functionality in the host simulator. Bug: 131911365 Test: unit tests pass, run an update on cuttlefish and check last_install Change-Id: I07ca5963bbee8ae3cb85ccc184464910aa73d4e4 |