platform_system_core/fs_mgr/liblp
David Anderson 7632f0c286 liblp: Fix flashing metadata to multiple block devices.
Although metadata is only stored on the first block device, we ideally
want to validate all the block devices before flashing. This patch does
that and in the process converts ValidateAndSerializeMetadata to use
IPartitionOpener.

Bug: 116802789
Test: manual test
      liblp_test gtest

Change-Id: I3f24cfc6f5607309dc3cded0423326c5ba293d26
2018-11-05 19:57:47 +00:00
..
include/liblp liblp: Allow the super partition to span multiple block devices. 2018-10-24 19:08:37 -07:00
Android.bp liblp: Add an abstraction layer for opening partitions. 2018-10-24 14:18:38 -07:00
builder.cpp liblp: Allow the super partition to span multiple block devices. 2018-10-24 19:08:37 -07:00
builder_test.cpp liblp: Allow the super partition to span multiple block devices. 2018-10-24 19:08:37 -07:00
images.cpp liblp: Store device information in a new block device table. 2018-10-24 14:18:35 -07:00
images.h liblp: Move backup sectors to the start of the partition. 2018-10-12 13:05:11 -07:00
io_test.cpp liblp: Allow the super partition to span multiple block devices. 2018-10-24 19:08:37 -07:00
partition_opener.cpp liblp: Allow the super partition to span multiple block devices. 2018-10-24 19:08:37 -07:00
reader.cpp liblp: Allow the super partition to span multiple block devices. 2018-10-24 19:08:37 -07:00
reader.h liblp: Add an abstraction layer for opening partitions. 2018-10-24 14:18:38 -07:00
test_partition_opener.cpp liblp: Add an abstraction layer for opening partitions. 2018-10-24 14:18:38 -07:00
test_partition_opener.h liblp: Add an abstraction layer for opening partitions. 2018-10-24 14:18:38 -07:00
utility.cpp liblp: Add an abstraction layer for opening partitions. 2018-10-24 14:18:38 -07:00
utility.h liblp: Store device information in a new block device table. 2018-10-24 14:18:35 -07:00
utility_test.cpp liblp: Store device information in a new block device table. 2018-10-24 14:18:35 -07:00
writer.cpp liblp: Fix flashing metadata to multiple block devices. 2018-11-05 19:57:47 +00:00
writer.h liblp: Add an abstraction layer for opening partitions. 2018-10-24 14:18:38 -07:00