No description
Find a file
Jeff Sharkey fa1c677c1a Add a new "virtual disk" feature.
It's extremely difficult to test storage related logic on devices
that don't have physical SD card slots.  So to support better
debugging and testing, add a new "virtual disk" feature which mounts
a 512MB file through loop device.

It relies on the kernel having the "loop.max_part" value set to
something other than 0 via the boot command line, since that allows
all the existing partition logic to fall into place.

Bug: 34903607
Test: builds, boots, virtual disk works
Change-Id: I04c5b33e37319d867542985a56b7999a9b7cf35d
2017-03-25 23:25:14 -06:00
bench Add mode bits to open calls 2017-01-25 13:21:17 -08:00
fs Manually merge commit 'b406ffa' into stage-aosp-master am: 04c55e6ed7 am: 93722ead06 2016-12-03 04:20:13 +00:00
tests Enable building and running the vold_tests module as part of a 2016-12-06 08:22:04 -08:00
Android.mk Change to use new WaitForProperty API 2017-02-24 17:47:53 -08:00
Asec.h Add in ext4 support for ASEC containers 2012-04-25 14:15:15 -07:00
AutoCloseFD.h Use android-base logging not cutils in secdiscard 2016-01-12 10:03:05 +00:00
Benchmark.cpp Track rename from base/ to android-base/. 2015-12-04 15:50:53 -08:00
Benchmark.h Trim both internal and adopted private storage. 2015-07-01 15:53:51 -07:00
BenchmarkGen.h Add mode bits to open calls 2017-01-25 13:21:17 -08: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 Remove appfuse mount point directory after unmounting. 2017-01-25 17:16:46 +09:00
CommandListener.h Mount appfuse in process namespace. 2016-02-02 18:56:19 +09:00
CryptCommandListener.cpp Add missing include. 2016-09-21 13:57:53 -07:00
CryptCommandListener.h Prefer bool returns to int throughout 2016-02-09 10:11:42 +00:00
cryptfs.cpp Change to use new WaitForProperty API 2017-02-24 17:47:53 -08:00
cryptfs.h Change to use new WaitForProperty API 2017-02-24 17:47:53 -08:00
Devmapper.cpp vold: fix 64 bit ioctl error 2015-10-21 11:16:19 +08:00
Devmapper.h vold: fix 64 bit ioctl error 2015-10-21 11:16:19 +08:00
Disk.cpp Add a new "virtual disk" feature. 2017-03-25 23:25:14 -06:00
Disk.h Trim both internal and adopted private storage. 2015-07-01 15:53:51 -07:00
EmulatedVolume.cpp Unmount emulated filesystems before killing the fuse process. 2016-01-26 10:05:15 +00:00
EmulatedVolume.h Fix google-explicit-constructor warnings in system/vold. 2016-08-02 11:41:54 -07:00
Ext4Crypt.cpp Merge "Vold: Clean up code related to foreign dex use" am: 61a7d1a815 am: aaa95fbdfe 2017-03-07 19:10:47 +00:00
Ext4Crypt.h Revert "Add fileencrypted=software/ice to fstab options" 2016-05-23 15:05:51 -07:00
hash.h vold: Bugfixes & cleanups 2010-03-13 16:42:19 -08:00
Keymaster.cpp Fix missing error handling in keymaster comatibility check 2017-03-08 11:02:30 -08:00
Keymaster.h Change to use new WaitForProperty API 2017-02-24 17:47:53 -08:00
KeyStorage.cpp Change to use new WaitForProperty API 2017-02-24 17:47:53 -08:00
KeyStorage.h Support keys with a secret but no token, which are handled not using 2017-02-13 23:37:31 +00:00
Loop.cpp Add a new "virtual disk" feature. 2017-03-25 23:25:14 -06:00
Loop.h Add a new "virtual disk" feature. 2017-03-25 23:25:14 -06:00
main.cpp vold: replacing fs_mgr_read_fstab() with fs_mgr_read_fstab_default() 2017-03-09 23:31:18 +08:00
MoveTask.cpp Blocking mode for debugging purposes. 2016-08-10 17:41:19 +00:00
MoveTask.h Migrate primary external storage. 2015-04-24 16:08:07 -07:00
NetlinkHandler.cpp Remove obsolete code for monitoring USB status 2011-06-07 08:34:08 -07:00
NetlinkHandler.h Fix google-explicit-constructor warnings in system/vold. 2016-08-02 11:41:54 -07:00
NetlinkManager.cpp Progress towards dynamic storage support. 2015-03-30 19:46:31 -07:00
NetlinkManager.h system: vold2: Initial skeleton for vold2. 2009-10-10 17:57:51 -07:00
PrivateVolume.cpp Only restorecon CE storage after unlocked. 2016-07-18 09:52:46 -06:00
PrivateVolume.h Add f2fs support for private volumes. 2015-06-08 20:21:25 -07:00
Process.cpp Cleanup uses of sprintf, add modes to open() with O_CREAT. 2016-03-02 22:42:22 +00:00
Process.h Kill apps using storage through bind mounts. 2015-10-21 15:05:49 -07:00
PublicVolume.cpp Unmount public sdcard filesystems before killing the fuse process. 2016-04-19 22:34:52 +00:00
PublicVolume.h Let's reinvent storage, yet again! 2015-06-25 22:40:08 -07:00
ResponseCode.cpp vold: Switch from LOG -> SLOG 2010-03-25 08:02:28 -07:00
ResponseCode.h Trim both internal and adopted private storage. 2015-07-01 15:53:51 -07:00
ScryptParameters.cpp system/vold: cleanup compiler warnings (read of uninitialized memory). 2016-10-19 17:58:32 -07:00
ScryptParameters.h Add scrypt-based password stretching. 2016-02-10 14:07:59 +00:00
secdiscard.cpp Zero out blocks if BLKSECDISCARD fails 2016-07-11 17:31:36 -07:00
secontext.cpp cryptfs: run e2fsck/fsck.f2fs in fsck domain 2016-02-01 12:59:59 -08:00
secontext.h cryptfs: run e2fsck/fsck.f2fs in fsck domain 2016-02-01 12:59:59 -08:00
sehandle.h Set SELinux contexts on device nodes created by vold. 2014-09-30 15:35:28 -04:00
TrimTask.cpp vold: replacing fs_mgr_read_fstab() with fs_mgr_read_fstab_default() 2017-03-09 23:31:18 +08:00
TrimTask.h Fix google-explicit-constructor warnings in system/vold. 2016-08-02 11:41:54 -07:00
Utils.cpp vold: replacing fs_mgr_read_fstab() with fs_mgr_read_fstab_default() 2017-03-09 23:31:18 +08:00
Utils.h vold: replacing fs_mgr_read_fstab() with fs_mgr_read_fstab_default() 2017-03-09 23:31:18 +08:00
vdc.cpp Allow callers to prepare CE/DE user storage. 2016-02-05 13:03:52 -07:00
vdc.rc Don't start defaultcrypto twice 2016-04-18 15:39:04 -07:00
vold.rc Move vold (and sdcard childs) to foreground cpuset. 2016-04-15 14:30:40 +02:00
VoldCommand.cpp system: vold2: Initial skeleton for vold2. 2009-10-10 17:57:51 -07:00
VoldCommand.h Fix google-explicit-constructor warnings in system/vold. 2016-08-02 11:41:54 -07:00
VoldUtil.c Fixed type mismatch for ioctl(BLKGETSIZE) 2015-03-30 11:28:11 -07:00
VoldUtil.h Fixed type mismatch for ioctl(BLKGETSIZE) 2015-03-30 11:28:11 -07:00
VolumeBase.cpp Vold: remove unused define 2016-09-23 18:02:49 -07:00
VolumeBase.h Add method to forget private partition keys. 2015-06-22 14:04:54 -07:00
VolumeManager.cpp Add a new "virtual disk" feature. 2017-03-25 23:25:14 -06:00
VolumeManager.h Add a new "virtual disk" feature. 2017-03-25 23:25:14 -06:00