platform_system_vold/model
Alistair Delva ea97154183 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
Merged-In: I0b41670d5f76b2506dad437917c2276f8e0aaccf
2020-05-20 00:45:02 +00:00
..
Disk.cpp Expand virtio_block check to other virtual devices 2020-05-16 00:02:21 +00:00
Disk.h vold: const-ify some of the API 2018-12-20 10:38:15 -08:00
EmulatedVolume.cpp Remove storage sandboxes related code. 2019-05-09 17:48:04 -07:00
EmulatedVolume.h Create new mount directory /mnt/runtime/full. 2019-01-18 23:48:45 +00: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-20 00:45:02 +00:00
PrivateVolume.h Pass volume key as a KeyBuffer 2020-02-12 14:26:38 -08:00
PublicVolume.cpp Remove storage sandboxes related code. 2019-05-09 17:48:04 -07:00
PublicVolume.h Create new mount directory /mnt/runtime/full. 2019-01-18 23:48:45 +00:00
StubVolume.cpp StubVolume as first class Volume in Vold 2018-11-08 07:40:43 +00:00
StubVolume.h StubVolume as first class Volume in Vold 2018-11-08 07:40:43 +00:00
VolumeBase.cpp Remove storage sandboxes related code. 2019-05-09 17:48:04 -07:00
VolumeBase.h Remove storage sandboxes related code. 2019-05-09 17:48:04 -07: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