platform_system_vold/model
Ricky Wai a58b535495 Only kill apps with storage app data isolation enabled
Originally it kills all the apps with obb and data mounted.
Due to recent changes, all apps will have obb and data dirs mounted
in default root namespace. Hence all apps will be killed by
by KillProcessesWithMounts().

To fix this, we also check if the dir is mounted as tmpfs,
as the default namespace one is bind mounted to lowerfs,
which app data isolation is mounted as tmpfs, so we only
kill the process that have obb dir mounted as tmpfs.

Bug: 148049767
Test: Able to boot without warnings / errors
Ignore-AOSP-First: Merge it along with other CLs, will cherry-pick to
AOSP afterwards.

Change-Id: I45d9a63ed47cbc27aebb63357a43f51ad62275db
2021-04-30 10:06:32 +01:00
..
Disk.cpp Expand virtio_block check to other virtual devices 2020-05-16 00:02:21 +00:00
Disk.h Add kVisible flag to vold::Disk 2021-01-18 11:58:10 +00:00
EmulatedVolume.cpp Only kill apps with storage app data isolation enabled 2021-04-30 10:06:32 +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 Set media folder +F for adopted storage as well 2020-10-20 18:55:54 -07:00
PrivateVolume.h Introduce postMount() VolumeBase helper. 2020-05-04 15:09:32 +02:00
PublicVolume.cpp Remove persist.sys.fuse == false code paths 2021-01-14 15:51:54 +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 vold: use __ANDROID_API_Q__ instead of pre_gki_level 2020-08-10 11:45:08 -07:00
VolumeEncryption.h On newer devices, use dm-default-key to encrypt SD cards 2020-02-18 13:01:00 -08:00