Checkpoint of better dynamic device support.
Jeff Sharkey authored
This is the first in a series of changes that are designed to
introduce better support for dynamic block devices.

It starts by defining a new Volume object which represents a storage
endpoint that knows how to mount, unmount, and format itself.  This
could be a filesystem directly on a partition, or it could be an
emulated FUSE filesystem, an ASEC, or an OBB.

These new volumes can be "stacked" so that unmounting a volume will
also unmount any volumes stacked above it.  Volumes that provide
shared storage can also be asked to present themselves (through bind
mounts) into user-specific mount areas.

This change also adds a Disk class which is created based on block
kernel netlink events.  Instead of waiting for partition events from
the kernel, it uses gptfdisk to read partition details and creates
the relevant Volume objects.

Change-Id: I0e8bc1f8f9dcb24405f5e795c0658998e22ae2f7
deb24057
Name Last commit Last update
tests Remove superfluous OpenSSL include paths.
Android.mk Checkpoint of better dynamic device support.
Asec.h Add in ext4 support for ASEC containers
CheckBattery.cpp Make vold compile with -Werror -Wall.
CheckBattery.h On low power turn off rather than rebooting to allow device to charge
CleanSpec.mk Add an empty CleanSpec.mk
CommandListener.cpp am 223fd1ca: Revert "Make encryption configurable"
CommandListener.h vold: Remove obsolete xwarp support.
Devmapper.cpp Make vold compile with -Werror -Wall.
Devmapper.h vold: Bugfixes & cleanups
DirectVolume.cpp am 52f5425f: Merge "Fix Vold to properly handle full-disk file systems"
DirectVolume.h am 52f5425f: Merge "Fix Vold to properly handle full-disk file systems"
Disk.cpp Checkpoint of better dynamic device support.
Disk.h Checkpoint of better dynamic device support.
EmulatedVolume.cpp Checkpoint of better dynamic device support.
EmulatedVolume.h Checkpoint of better dynamic device support.
Ext4.cpp Make vold compile with -Werror -Wall.
Ext4.h Added support for ext4 ASEC resizing.
Fat.cpp Make vold compile with -Werror -Wall.
Fat.h vold: Add an optional wipe paramter to the volume format command
Loop.cpp Change strncpy to strlcpy
Loop.h Added support for ext4 ASEC resizing.
NetlinkHandler.cpp Remove obsolete code for monitoring USB status
NetlinkHandler.h system: vold2: Initial skeleton for vold2.
NetlinkManager.cpp Add missing <string.h> include.
NetlinkManager.h
Process.cpp
Process.h
PublicVolume.cpp
PublicVolume.h
ResponseCode.cpp
ResponseCode.h
Utils.cpp
Utils.h
VoldCommand.cpp
VoldCommand.h
VoldUtil.c
VoldUtil.h
Volume.cpp
Volume.h
VolumeBase.cpp
VolumeBase.h
VolumeManager.cpp
VolumeManager.h
cryptfs.c
cryptfs.h
fstrim.c
fstrim.h
hash.h
main.cpp
sehandle.h
vdc.c