platform_system_vold/model
Alistair Delva c671731075 Handle virtio in private fs mapping
When the vold core decides if a device is SD or USB, it checks for MMC
or virtio, however when the filesystem type is decided, it does not
check for virtio, only MMC. This causes virtio SD cards to be formatted
with ext4 unconditionally.

This fix is independently correct, but it incidentally gets adopted
storage working on cuttlefish (and Android Emulator) because f2fs can
support fscrypt and casefolding at the same time; ext4 currently cannot.

Bug: 156286088
Change-Id: I0b41670d5f76b2506dad437917c2276f8e0aaccf
2020-05-19 17:42:20 -07:00
..
Disk.cpp Expand virtio_block check to other virtual devices 2020-05-15 17:00:44 -07:00
Disk.h Add disk for StubVolume 2020-02-12 07:42:40 +00:00
EmulatedVolume.cpp Bind mount install and android writable DATA and OBB dirs 2020-04-20 15:06:58 +01:00
EmulatedVolume.h Bind mount Android/data and Android/obb individually. 2020-03-20 13:24:41 +01:00
ObbVolume.cpp Add GetBlockDevSize, GetBlockDevSectors helpers 2018-09-24 14:25:24 +02:00
ObbVolume.h clang-format many files. 2018-09-18 15:41:22 -07:00
PrivateVolume.cpp Handle virtio in private fs mapping 2020-05-19 17:42:20 -07:00
PrivateVolume.h Introduce postMount() VolumeBase helper. 2020-05-04 15:09:32 +02:00
PublicVolume.cpp Allow external_storage or media_rw gid access /mnt/media_rw 2020-01-24 22:21:55 +00:00
PublicVolume.h Conditionally use sdcardfs. 2020-01-07 09:03:35 +01:00
StubVolume.cpp Add disk for StubVolume 2020-02-12 07:42:40 +00:00
StubVolume.h Add disk for StubVolume 2020-02-12 07:42:40 +00:00
VolumeBase.cpp Introduce postMount() VolumeBase helper. 2020-05-04 15:09:32 +02:00
VolumeBase.h Introduce postMount() VolumeBase helper. 2020-05-04 15:09:32 +02:00
VolumeEncryption.cpp On newer devices, use dm-default-key to encrypt SD cards 2020-02-18 13:01:00 -08:00
VolumeEncryption.h On newer devices, use dm-default-key to encrypt SD cards 2020-02-18 13:01:00 -08:00