No description
Find a file
Jooyung Han 443a73b100 Use apexservice to get the list of apexes
In this change, the logic to get the list of apexes is replaced with
the query to apexservice, which is the source of truth. This dedups
the manual scanning of /apex for the apex list, which should be
internal to apexd. (Note how vold_prepare_subdirs filtered out
directories with "@" character).

This also makes vold_prepare_subdirs immune to the upcoming changes:
/apex directory containing only bootstrap APEXes in the bootstrap NS.

Until now, getting the list of apexes by scanning /apex was okay
because of the accidental fact that /apex directory has directories
for all the apexes, not only bootstrap apexes.

Bug: 293949266
Bug: 293546778
Test: CtsPackageSettingHostTestCases
Change-Id: I3fe373ca6f4c2281439bb2449845a1a14357131e
2023-08-01 10:51:49 +00:00
bench [LSC] Add LOCAL_LICENSE_KINDS to system/vold 2021-02-14 10:37:25 -08:00
binder/android/os SM: Change volume mountUserId for new user 2023-07-14 09:55:37 +00:00
fs Revert "Add NTFS support in vold" 2023-02-02 11:12:25 +01:00
model SM: Change volume mountUserId for new user 2023-07-14 09:55:37 +00:00
tests Disable leak detection in vold fuzzer 2023-05-05 23:57:13 +00:00
.clang-format vold: use system-clang-format 2019-09-16 12:00:40 -07:00
Android.bp Use apexservice to get the list of apexes 2023-08-01 10:51:49 +00:00
AppFuseUtil.cpp AppFuseUtil: Call ForceUnmount before PrepareDir. 2019-04-09 18:45:32 +01:00
AppFuseUtil.h Extract AppFuse as a util 2018-11-14 07:28:06 +00:00
Benchmark.cpp vold: Use Wakelock::tryGet() 2021-02-22 17:24:51 -05:00
Benchmark.h clang-format many files. 2018-09-18 15:41:22 -07:00
BenchmarkGen.h Abort long-running benchmarks, report progress. 2017-11-07 09:57:12 -07:00
Checkpoint.cpp Do not reboot with commit failure when ext4 userdata is wiped 2023-01-04 21:06:00 +00:00
Checkpoint.h Add an isCheckpointing() binder call for adb remount. 2020-06-10 23:52:25 -07:00
CleanSpec.mk Add an empty CleanSpec.mk 2010-03-08 18:05:25 -08:00
cryptfs.cpp cryptfs: Update the size of dm-crypt device according to sector size 2022-09-28 17:44:44 +08:00
cryptfs.h Remove CRYPT_FOOTER_OFFSET 2021-11-10 14:03:48 -08:00
CryptoType.cpp Generalize CryptoType infrastructure 2020-02-14 00:48:27 -08:00
CryptoType.h Generalize CryptoType infrastructure 2020-02-14 00:48:27 -08:00
EncryptInplace.cpp Remove progress property support from encrypt_inplace() 2022-03-09 21:03:52 +00:00
EncryptInplace.h Remove progress property support from encrypt_inplace() 2022-03-09 21:03:52 +00:00
FileDeviceUtils.cpp Remove excess logging in secdiscard 2019-03-21 19:13:51 +00:00
FileDeviceUtils.h clang-format many files. 2018-09-18 15:41:22 -07:00
FsCrypt.cpp Move encrypted directories into place already-encrypted 2023-06-08 22:08:09 +00:00
FsCrypt.h Increase early boot logging to kernel log 2022-03-22 00:33:52 +00:00
IdleMaint.cpp vold: fix write kbytes handling 2023-03-27 18:19:18 -07:00
IdleMaint.h Introduce target dirty segment ratio tunable parameter 2022-07-04 21:23:46 +00:00
KeyBuffer.cpp clang-format many files. 2018-09-18 15:41:22 -07:00
KeyBuffer.h Add a ZeroingAllocator::rebind<Other> for Other==char 2023-07-24 21:36:32 -07:00
KeyStorage.cpp Avoid error message when destroying key w/o secdiscardable file 2023-03-03 19:51:36 +00:00
KeyStorage.h Replace most references to Keymaster with Keystore 2021-06-15 12:07:15 -07:00
Keystore.cpp Switch to C23's memset_explicit(). 2022-08-15 23:10:28 +00:00
Keystore.h Detect factory reset and deleteAllKeys 2021-08-11 10:29:59 -07:00
KeyUtil.cpp Clean up potential busy files after key eviction. 2023-02-23 21:44:24 +00:00
KeyUtil.h No using inside header files 2021-06-15 15:20:44 -07:00
Loop.cpp Remove vold logs related to block devices 2021-07-28 02:58:57 +01:00
Loop.h clang-format many files. 2018-09-18 15:41:22 -07:00
main.cpp Check for SELinux labelling errors 2023-03-01 22:11:29 +00:00
MetadataCrypt.cpp Remove dead code from fs_mgr 2023-06-23 09:28:18 -07:00
MetadataCrypt.h Support zoned device with dm-default-key 2022-06-07 18:43:54 -07:00
MoveStorage.cpp vold: Use Wakelock::tryGet() 2021-02-22 17:24:51 -05:00
MoveStorage.h clang-format many files. 2018-09-18 15:41:22 -07:00
NetlinkHandler.cpp vold: remove unused stop() methods 2020-09-23 10:02:25 -07:00
NetlinkHandler.h vold: remove unused stop() methods 2020-09-23 10:02:25 -07:00
NetlinkManager.cpp vold: remove unused stop() methods 2020-09-23 10:02:25 -07:00
NetlinkManager.h vold: remove unused stop() methods 2020-09-23 10:02:25 -07:00
OWNERS OWNERS: add alan and jeff, alphabetize 2020-12-10 13:08:28 +01:00
PREUPLOAD.cfg vold should be fully developed in AOSP. 2018-09-11 12:08:43 -06:00
Process.cpp Show names of processes killed by KillProcessesWithOpenFiles() 2021-05-10 17:34:11 +00:00
Process.h Only kill apps with storage app data isolation enabled 2021-04-30 13:58:07 +00:00
secdiscard.cpp Don't use a secdiscardable file for keys encrypted by SP 2022-10-07 16:26:29 +00:00
sehandle.h clang-format many files. 2018-09-18 15:41:22 -07:00
TEST_MAPPING Add vold to hwasan-postsubmit 2022-03-18 14:25:02 -07:00
Utils.cpp Check for SELinux labelling errors 2023-03-01 22:11:29 +00:00
Utils.h Merge changes from topic "deny-create-user-dirs" am: 9fb8825578 am: 65f0713d14 2022-05-12 19:57:49 +00:00
vdc.cpp Support zoned device with dm-default-key 2022-06-07 18:43:54 -07:00
vold.rc Explicit init .rc user. 2023-04-10 20:54:26 +00:00
vold_prepare_subdirs.cpp Use apexservice to get the list of apexes 2023-08-01 10:51:49 +00:00
VoldNativeService.cpp Support bind mounting volumes into other volume's mountpoint. 2022-12-07 09:01:27 +00:00
VoldNativeService.h Support bind mounting volumes into other volume's mountpoint. 2022-12-07 09:01:27 +00:00
VoldNativeServiceValidation.cpp [vold] Check incremental paths before mounting 2022-01-31 22:13:14 +00:00
VoldNativeServiceValidation.h [vold] Check incremental paths before mounting 2022-01-31 22:13:14 +00:00
VoldUtil.cpp Move over to the C++ Fstab class 2019-01-31 12:34:39 -08:00
VoldUtil.h Remove unused code in VoldUtil.h 2020-02-18 10:48:16 -08:00
VolumeManager.cpp Support bind mounting volumes into other volume's mountpoint. 2022-12-07 09:01:27 +00:00
VolumeManager.h Support bind mounting volumes into other volume's mountpoint. 2022-12-07 09:01:27 +00:00