platform_system_core/fs_mgr/tests
Eric Biggers 20a5f92a33 Rename FstabEntry::metadata_encryption to metadata_encryption_options
There have been two bugs where people use !metadata_encryption.empty()
to check whether metadata encryption is enabled.  It should actually be
!metadata_key_dir.empty(), since 'metadata_encryption' is the encryption
options, which can be empty if the defaults are sufficient.

Rename the field in FstabEntry appropriately.

To avoid breaking fstab files, don't rename the flag in the fstab file
itself.  So, now the fstab flags map to FstabEntry fields as follows:

    keydirectory => metadata_key_dir
    metadata_encryption => metadata_encryption_options

Change-Id: I5bf673047c99e077bd6e1ac006d80e7e16bc814b
2022-03-17 23:22:50 +00:00
..
src/com/android/tests/vendoroverlay Add presubmit test for vendor overlay 2019-02-16 08:24:35 +09:00
adb-remount-sh.xml Increase adb-remount timeout 2019-04-03 08:27:29 -07:00
adb-remount-test.sh adb-remount-test: Make awk scripts mawk-v1.3.3-compatible 2021-05-31 17:52:07 +08:00
Android.bp Merge "fs_mgr: Restrict dt fstabs to < Q devices." 2022-03-03 05:05:19 +00:00
AndroidTest.xml Add RootTargetPreparer for CtsInitTestCases and CtsFsMgrTestCases 2020-04-14 18:57:07 +01:00
file_wait_test.cpp Introduce inotify-based replacements for fs_mgr_wait_for_file. 2019-06-18 15:27:09 -07:00
fs_mgr_test.cpp Rename FstabEntry::metadata_encryption to metadata_encryption_options 2022-03-17 23:22:50 +00:00
vendor-overlay-test.xml Add presubmit test for vendor overlay 2019-02-16 08:24:35 +09:00
vts_fs_test.cpp fs_mgr: Restrict dt fstabs to < Q devices. 2022-02-18 15:22:02 -08:00