summaryrefslogtreecommitdiffstats
path: root/updater/simulator_runtime.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add add_slot_suffix function.Yifan Hong2020-05-081-0/+5
| | | | | | | | | This function appends androidboot.slot_suffix to the value of the argument. Test: apply update Bug: 153581609 Change-Id: I28a4047b5f2051acc039084f65a71deb492d9dcb
* 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 command line parser for simulatorTianjie Xu2019-07-161-1/+5
| | | | | | | | | Add a command line parser. Also add the support to parse the oem property file and skip certain functions. Bug: 131911365 Test: run simulator for wear builds Change-Id: Ide306b53d3f42b29c02279969aeb18bec4045d6f
* Implement updater runtime for dynamic partitionsTianjie Xu2019-06-241-0/+31
| | | | | | | | | | The simulator skips executing the operations for dynamic partitions, and will use the logical images under target_files/IMAGES directly. (Similar to the targets without DAP enabled) Bug: 131911365 Test: run update on cuttlefish, run simulator Change-Id: Id318d97ece4560df9f20dc5cabeb8b2e261bdf9c
* Implement an update simulator to verify BB OTA packages on hostTianjie Xu2019-05-291-0/+97
Implement the simulator runtime and build the updater simulator as a host executable. The code to parse the target-files and mocks the block devices will be submitted in the follow-up. Bug: 131911365 Test: unit tests pass Change-Id: Ib1ba939aec8333ca68a45139514d772ad7a27ad8