No description
Find a file
Jeff Sharkey deb2405737 Checkpoint of better dynamic device support.
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
2015-03-13 10:12:57 -07:00
tests Remove superfluous OpenSSL include paths. 2015-01-22 16:45:28 -08:00
Android.mk Checkpoint of better dynamic device support. 2015-03-13 10:12:57 -07:00
Asec.h Add in ext4 support for ASEC containers 2012-04-25 14:15:15 -07:00
CheckBattery.cpp Make vold compile with -Werror -Wall. 2014-12-18 00:21:21 +00:00
CheckBattery.h On low power turn off rather than rebooting to allow device to charge 2014-06-09 15:15:32 -07:00
CleanSpec.mk Add an empty CleanSpec.mk 2010-03-08 18:05:25 -08:00
CommandListener.cpp am 223fd1ca: Revert "Make encryption configurable" 2015-02-07 00:11:29 +00:00
CommandListener.h vold: Remove obsolete xwarp support. 2013-09-17 13:21:03 -07:00
cryptfs.c crytpfs: fix clobbering of crypto info on keymaster failure 2015-02-11 13:44:32 -08:00
cryptfs.h am 38394c7d: am 223fd1ca: Revert "Make encryption configurable" 2015-02-09 04:14:28 +00:00
Devmapper.cpp Make vold compile with -Werror -Wall. 2014-12-18 00:21:21 +00:00
Devmapper.h vold: Bugfixes & cleanups 2010-03-13 16:42:19 -08:00
DirectVolume.cpp am 52f5425f: Merge "Fix Vold to properly handle full-disk file systems" 2014-08-15 20:56:13 +00:00
DirectVolume.h am 52f5425f: Merge "Fix Vold to properly handle full-disk file systems" 2014-08-15 20:56:13 +00:00
Disk.cpp Checkpoint of better dynamic device support. 2015-03-13 10:12:57 -07:00
Disk.h Checkpoint of better dynamic device support. 2015-03-13 10:12:57 -07:00
EmulatedVolume.cpp Checkpoint of better dynamic device support. 2015-03-13 10:12:57 -07:00
EmulatedVolume.h Checkpoint of better dynamic device support. 2015-03-13 10:12:57 -07:00
Ext4.cpp Make vold compile with -Werror -Wall. 2014-12-18 00:21:21 +00:00
Ext4.h Added support for ext4 ASEC resizing. 2014-06-10 22:15:33 +00:00
Fat.cpp Make vold compile with -Werror -Wall. 2014-12-18 00:21:21 +00:00
Fat.h vold: Add an optional wipe paramter to the volume format command 2013-06-12 18:42:02 -07:00
fstrim.c Fix missing #includes in system/vold. 2014-12-29 14:09:42 -08:00
fstrim.h fstrim: prep for supporting a deep trim ioctl 2014-07-29 15:39:06 -07:00
hash.h vold: Bugfixes & cleanups 2010-03-13 16:42:19 -08:00
Loop.cpp Change strncpy to strlcpy 2015-02-06 09:24:14 +01:00
Loop.h Added support for ext4 ASEC resizing. 2014-06-10 22:15:33 +00:00
main.cpp Set SELinux contexts on device nodes created by vold. 2014-09-30 15:35:28 -04:00
NetlinkHandler.cpp Remove obsolete code for monitoring USB status 2011-06-07 08:34:08 -07:00
NetlinkHandler.h system: vold2: Initial skeleton for vold2. 2009-10-10 17:57:51 -07:00
NetlinkManager.cpp Add missing <string.h> include. 2015-01-28 11:47:21 -08:00
NetlinkManager.h system: vold2: Initial skeleton for vold2. 2009-10-10 17:57:51 -07:00
Process.cpp Change strncpy to strlcpy 2015-02-06 09:24:14 +01:00
Process.h print information about opened files when failed unmount 2014-09-24 15:46:45 -07:00
PublicVolume.cpp Checkpoint of better dynamic device support. 2015-03-13 10:12:57 -07:00
PublicVolume.h Checkpoint of better dynamic device support. 2015-03-13 10:12:57 -07:00
ResponseCode.cpp vold: Switch from LOG -> SLOG 2010-03-25 08:02:28 -07:00
ResponseCode.h Support default, pattern, pin and password encryption types 2014-02-12 14:54:40 -08:00
sehandle.h Set SELinux contexts on device nodes created by vold. 2014-09-30 15:35:28 -04:00
Utils.cpp Checkpoint of better dynamic device support. 2015-03-13 10:12:57 -07:00
Utils.h Checkpoint of better dynamic device support. 2015-03-13 10:12:57 -07:00
vdc.c Change strncpy to strlcpy 2015-02-06 09:24:14 +01:00
VoldCommand.cpp system: vold2: Initial skeleton for vold2. 2009-10-10 17:57:51 -07:00
VoldCommand.h system: vold2: Initial skeleton for vold2. 2009-10-10 17:57:51 -07:00
VoldUtil.c vold: Add an optional wipe paramter to the volume format command 2013-06-12 18:42:02 -07:00
VoldUtil.h vold: Add an optional wipe paramter to the volume format command 2013-06-12 18:42:02 -07:00
Volume.cpp Use getmntent when accessing /proc/mounts. 2015-01-06 09:53:12 -08:00
Volume.h Extract UUID and label from inserted volumes. 2013-10-17 09:51:19 -07:00
VolumeBase.cpp Checkpoint of better dynamic device support. 2015-03-13 10:12:57 -07:00
VolumeBase.h Checkpoint of better dynamic device support. 2015-03-13 10:12:57 -07:00
VolumeManager.cpp VolumeManager: don't use faccessat(AT_SYMLINK_NOFOLLOW) 2015-02-06 08:55:08 -08:00
VolumeManager.h ASEC resize tweaking, allow read-write mounting. 2014-08-22 15:39:41 -07:00