platform_system_core/fs_mgr/liblp
David Anderson 2780d0abb2 liblp: Allow "flashing" files on the host.
UpdatePartitionTable expects to be run on a device, which is a
reasonable assumption. However to implement lpadd (offline modification
of super images), it's useful to be able to run these methods, and
IPartitionOpener allows us to masquerade a flie as a block device.

The only catch is that we can't query partition information on the host.
Since this logic is a protection mechanism, just surround it with
an ifdef for __ANDROID__.

Bug: 144468779
Test: lpadd
Change-Id: I3c50e5677fa1dd59f2d4216038d3d4fbfb6edcc0
2019-11-19 17:39:55 -08:00
..
include/liblp liblp: Export WriteToImageFile given a file descriptor. 2019-11-19 17:39:19 -08:00
Android.bp fs_mgr: vts_core_liblp_test requires root 2019-10-16 18:26:40 -07:00
Android.mk Allow makefiles to be parsed in a trimmed down manifest. 2019-03-25 09:14:33 +00:00
AndroidTest.xml rename liblp_test_static to vts_kernel_liblp_test. 2019-08-23 13:58:47 -07:00
builder.cpp liblp: MetadataBuilder::NewForUpdate takes always_keep_source_slot arg 2019-10-14 19:32:17 -07:00
builder_test.cpp Move digital_stroage.h to its own library 2019-09-12 15:50:51 -07:00
device_test.cpp liblp: Expose MockPropertyFetcher for liblp-dependent tests. 2019-08-23 14:44:51 -07:00
images.cpp liblp: Export WriteToImageFile given a file descriptor. 2019-11-19 17:39:19 -08:00
images.h liblp: Export WriteToImageFile given a file descriptor. 2019-11-19 17:39:19 -08:00
io_test.cpp liblp: Add an attribute to indicate that a partition has been updated. 2019-08-23 14:44:52 -07:00
liblp_test.h liblp: Expose MockPropertyFetcher for liblp-dependent tests. 2019-08-23 14:44:51 -07:00
liblp_test.xml Add liblp_test to presubmit. 2019-08-23 13:58:47 -07:00
partition_opener.cpp liblp: Support sdcards in PartitionOpener. 2019-08-21 12:27:56 -07:00
property_fetcher.cpp liblp: Add PropertyFetcher. 2019-08-06 17:39:37 -07:00
reader.cpp liblp: Add an attribute to indicate that a partition has been updated. 2019-08-23 14:44:52 -07:00
reader.h liblp: Allow automatic slot suffixing of partition names. 2018-11-08 09:51:03 -08:00
TEST_MAPPING Add liblp_test to presubmit. 2019-08-23 13:58:47 -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 a helper to differentiate empty from non-empty images. 2019-09-09 13:16:02 -07:00
utility.h liblp: Add a helper to differentiate empty from non-empty images. 2019-09-09 13:16:02 -07:00
utility_test.cpp liblp: UpdateMetadataForInPlaceSnapshot 2019-08-14 14:27:03 -07:00
writer.cpp liblp: Allow "flashing" files on the host. 2019-11-19 17:39:55 -08:00
writer.h liblp: Add an abstraction layer for opening partitions. 2018-10-24 14:18:38 -07:00