commit | 012508efa3bb00b5b458caa918f2960653f41df2 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Mon Jul 22 18:30:40 2019 -0700 |
committer | Yifan Hong <elsk@google.com> | Wed Jul 31 17:43:14 2019 +0000 |
tree | 80f8fbc7896016b77ecbd8b5828427751cb6101b | |
parent | f9464b4faa1ae76e2c1f8cf2e217e375e93465ad [diff] |
[REFACTOR] DynamicPartitionControl: minimize API - Move UpdatePartitionMetadata in boot_control_android.cc to DynamicPartitionControlAndroid::PreparePartitionsForUpdate to reflect code ownership better. - Minimize the API by removing unused functions now that we have PreparePartitionsForUpdate - Fix tests: replace MockDynamicPartitionControl to MockDynamicPartitionControlAndroid because it tests DynamicPartitionControlAndroid. Test: unit test Test: manually apply full OTA Change-Id: I2959270bd89c4f8ddaa45cf45ba93acdec850f67