platform_system_core/fs_mgr/liblp
David Anderson 2ca0700b45 liblp: Handle invalid alignment offsets correctly.
When stacking devices with dm-linear, it is possible to get a -1
alignment offset. In this case we should set alignment_offset to 0
rather than fail later trying to divide -1 by the sector size.

Bug: 134536978
Test: manual test
Change-Id: I3862fdda69531a3b230b7316707469a49ba871d6
2019-06-19 19:23:55 -07:00
..
include/liblp liblp: Remove the slot-suffix requirement in MetadataBuilder. 2019-06-13 16:43:26 -07:00
Android.bp VtsKernelLiblpTest: use static test 2019-06-14 11:37:09 -07:00
Android.mk Allow makefiles to be parsed in a trimmed down manifest. 2019-03-25 09:14:33 +00:00
AndroidTest.xml VtsKernelLiblpTest: use static test 2019-06-14 11:37:09 -07:00
builder.cpp liblp: Remove the slot-suffix requirement in MetadataBuilder. 2019-06-13 16:43:26 -07:00
builder_test.cpp liblp: Remove the slot-suffix requirement in MetadataBuilder. 2019-06-13 16:43:26 -07:00
images.cpp liblp: Replace some |const char*| inputs with std::string. 2019-06-07 11:09:26 -07:00
images.h liblp: Replace some |const char*| inputs with std::string. 2019-06-07 11:09:26 -07:00
io_test.cpp Add a liblp test that we can parse the device's super partition. 2019-05-06 17:06:33 -07:00
partition_opener.cpp liblp: Handle invalid alignment offsets correctly. 2019-06-19 19:23:55 -07:00
reader.cpp Fixed a few minor nits in liblp 2019-01-10 13:36:59 -08:00
reader.h liblp: Allow automatic slot suffixing of partition names. 2018-11-08 09:51:03 -08: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 helpers for finding partitions and partition sizes. 2019-06-07 11:09:28 -07:00
utility.h liblp: Replace open with GetControlFileOrOpen 2019-03-22 14:26:25 -07:00
utility_test.cpp liblp: Allow automatic slot suffixing of partition names. 2018-11-08 09:51:03 -08:00
writer.cpp Merge "Fixed a few minor nits in liblp" 2019-01-20 07:55:47 +00:00
writer.h liblp: Add an abstraction layer for opening partitions. 2018-10-24 14:18:38 -07:00