android_system_core/fs_mgr
Mark Salyzyn 5095d89425 liblp: Add MetadataBuilder::UsedSpace()
MetadataBuilder::AllocatableSpace() represents the total space
available.  Adding MetadataBuilder::UsedSpace() to represent the
space used by the existing set of partitions.  This will allow a
caller to predict if a partition can be resized (Grown), or to
create a partition to use up the free space (i.e. scratch).

Test: gTest liblp.UseAllDiskSpace
Bug: 109821005
Change-Id: Iae487d869fe18310c76b48c4281f1d6c1ee333cd
2018-09-25 13:48:14 -07:00
..
include fs_mgr: init: adb: add fstab argument to fs_mgr_overlayfs_mount_all 2018-09-25 07:30:55 -07:00
include_fstab/fstab fs_mgr: Support checkpoints 2018-09-20 17:28:23 -07:00
libdm libdm: GetDmDevicePathByName log warning 2018-08-28 12:29:14 -07:00
liblp liblp: Add MetadataBuilder::UsedSpace() 2018-09-25 13:48:14 -07:00
tests fs_mgr: Add support in fs_mgr_read_fstab_file for /proc/mounts 2018-06-27 14:49:06 -07:00
tools libdm: remove libbase dependency in header. 2018-08-16 11:12:36 -07:00
.clang-format Fix-up coding style 2017-02-18 12:33:36 +08:00
Android.bp Merge "fs_mgr: Drop some unneeded dependencies." 2018-08-15 18:14:16 +00:00
fs_mgr.cpp fs_mgr: init: adb: add fstab argument to fs_mgr_overlayfs_mount_all 2018-09-25 07:30:55 -07:00
fs_mgr_avb.cpp libdm: Add DmTargetVerity and use it in fs_mgr_avb. 2018-06-25 17:56:12 -07:00
fs_mgr_avb_ops.cpp fs_mgr: Adding logs when failing to wait for a device file 2017-07-06 09:51:02 +08:00
fs_mgr_boot_config.cpp fs_mgr: reorder getting boot config 2018-06-12 00:16:14 +08:00
fs_mgr_dm_linear.cpp fastbootd: Wait for /dev/block paths when opening logical partitions. 2018-09-06 17:38:06 -07:00
fs_mgr_format.cpp fastboot, fs_mgr: set fsverity feature bit 2018-04-06 10:18:21 -07:00
fs_mgr_fstab.cpp fs_mgr: Support checkpoints 2018-09-20 17:28:23 -07:00
fs_mgr_overlayfs.cpp fs_mgr: init: adb: add fstab argument to fs_mgr_overlayfs_mount_all 2018-09-25 07:30:55 -07:00
fs_mgr_priv.h fs_mgr: Support checkpoints 2018-09-20 17:28:23 -07:00
fs_mgr_priv_avb_ops.h fs_mgr: Update for new libavb API. 2017-05-15 12:04:18 -04:00
fs_mgr_priv_boot_config.h fs_mgr: fs_mgr_get_boot_config_from_kernel_cmdline deal with quote 2018-06-08 16:04:17 -07:00
fs_mgr_priv_sha.h fs_mgr_avb: refactors how vbmeta is loaded 2017-04-14 21:50:55 +08:00
fs_mgr_slotselect.cpp init/fs_mgr: prototype first-stage dm-linear support 2018-05-14 12:43:42 -07:00
fs_mgr_verity.cpp fs_mgr: Use libdm for fs_mgr_verity. 2018-06-26 12:41:47 -07:00
OWNERS Add OWNERS. 2017-12-07 13:30:03 -08:00