platform_system_core/fs_mgr/libsnapshot
David Anderson 4c17a07053 libsnapshot: Fix test failures on certain configurations.
Due to how CF is built and tested, VABC is enabled even when not
supported by the kernel. To work around this add some logic in
libsnapshot and the test harness to recognize this situation and
silently flip off the VABC flag.

This also fixes the -force_mode option to vts_libsnapshot_test, so that
it will skip tests that aren't supported by the device.

Bug: 264279496
Test: vts_libsnapshot_test on 11-5.4 with vabc enabled
Change-Id: I4c1e88fac54732c21c88169a7e0dd664e3858b89
2023-03-06 23:21:25 +00:00
..
android/snapshot Initialize COW options using update manifest 2023-02-23 13:21:20 -08:00
corpus libsnapshot: Move ImageManager creation to DeviceInfo. 2021-05-13 11:33:38 -07:00
include/libsnapshot Merge "Do not create worker thread if threading isn't enabled" 2023-01-12 01:12:06 +00:00
include_test/libsnapshot Support sysfs changes in the Linux 5.15 kernel. 2022-12-08 16:22:47 -08:00
libsnapshot_cow libsnapshot: Fix crash in cow writer test due to missing ASSERT. 2023-02-07 05:24:27 +00:00
scripts Add LOCAL_LICENSE_KINDS to system/core/fs_mgr 2021-09-15 10:57:11 -07:00
snapuserd snapuserd: Use fixtures in snapuserd_test. 2023-02-14 16:59:31 -08:00
update_engine Initialize COW options using update manifest 2023-02-23 13:21:20 -08:00
Android.bp libsnapshot: Test more configurations in presubmit. 2023-01-24 14:11:00 -08:00
device_info.cpp Convert fastboot/libsnapshot to new BootControl client 2022-07-08 10:57:53 -07:00
device_info.h Convert fastboot/libsnapshot to new BootControl client 2022-07-08 10:57:53 -07:00
dm_snapshot_internals.h libsnapshot: Use std::unordered_set in DmSnapCowSizeCalculator. 2021-07-30 11:02:28 -07:00
estimate_cow_from_nonab_ota.cpp reland: Rename Flush to Finalize 2020-10-22 02:34:26 -07:00
fuzz.sh Rename native code coverage paths env. variable in libsnapshot's fuzz test. 2020-06-10 13:04:53 +01:00
fuzz_utils.cpp libsnapshot_fuzzer: use protobuf 2020-04-30 23:05:36 -07:00
fuzz_utils.h Reland "libsnapshot_fuzzer: Add tests" 2020-05-15 14:34:01 -07:00
make_cow_from_ab_ota.cpp libsnapshot: Support cluster_ops in make_cow_from_ab_ota 2020-12-02 21:31:23 -08:00
OWNERS libsnapshot: Edit OWNERS file 2022-03-03 01:18:07 +00:00
partition_cow_creator.cpp libsnapshot: Clarify the meaning of "compression.enabled". 2022-07-27 18:32:15 -07:00
partition_cow_creator.h Initialize COW options using update manifest 2023-02-23 13:21:20 -08:00
partition_cow_creator_test.cpp libsnapshot: Clarify the meaning of "compression.enabled". 2022-07-27 18:32:15 -07:00
power_test.cpp libsnapshot: Add a simple script and gtest to simulate power failures during snapshot-merge. 2020-04-14 23:32:38 -07:00
PowerTest.md libsnapshot: Add a simple script and gtest to simulate power failures during snapshot-merge. 2020-04-14 23:32:38 -07:00
return.cpp libsnapshot: delete WaitForMerge. 2020-03-03 13:19:49 -08:00
run_power_test.sh libsnapshot: Add a simple script and gtest to simulate power failures during snapshot-merge. 2020-04-14 23:32:38 -07:00
snapshot.cpp libsnapshot: Fix test failures on certain configurations. 2023-03-06 23:21:25 +00:00
snapshot_fuzz.cpp Use more inclusive language for #inclusivefixit 2020-07-23 11:13:37 -07:00
snapshot_fuzz_utils.cpp fs_mgr: remove crypt_footer argument from fs_mgr_do_format() 2021-11-09 22:44:50 -08:00
snapshot_fuzz_utils.h Convert fastboot/libsnapshot to new BootControl client 2022-07-08 10:57:53 -07:00
snapshot_metadata_updater.cpp Merge "libsnapshot: Properly set partial_update_" 2020-07-31 23:02:05 +00:00
snapshot_metadata_updater.h Update libsnapshot to handle partial update 2020-06-09 12:53:45 -07:00
snapshot_metadata_updater_test.cpp libsnapshot_test: skip global setup on non-VAB devices. 2020-08-06 17:21:50 -07:00
snapshot_reader.cpp snapuserd: Add support for Xor ops in snapuserd 2021-07-30 20:44:46 -07:00
snapshot_reader.h libsnapshot: Implement OpenReader for CompressedSnapshotWriter. 2020-10-26 22:30:21 -07:00
snapshot_reader_test.cpp libsnapshot: Fix crash in MakeXorBlockString test. 2021-12-02 23:51:39 -08:00
snapshot_stats.cpp libsnapshot: Add more feature flags to SnapshotMergeReport. 2022-05-25 13:40:31 -07:00
snapshot_stub.cpp libsnapshot: Add more feature flags to SnapshotMergeReport. 2022-05-25 13:40:31 -07:00
snapshot_test.cpp libsnapshot: Fix test failures on certain configurations. 2023-03-06 23:21:25 +00:00
snapshot_writer.cpp Fix nullptr access when cow reader open fails 2022-12-02 09:50:44 -08:00
snapshot_writer_test.cpp libsnapshot: Fix crash in cow writer test due to missing ASSERT. 2023-02-07 05:24:27 +00:00
snapshotctl.cpp snapshotctl: Add a test-blank-ota command for development. 2022-10-24 11:49:25 -07:00
test_helpers.cpp libsnapshot: Improve low space tests. 2023-02-07 05:24:26 +00:00
utility.cpp libsnapshot: Fix test failures on certain configurations. 2023-03-06 23:21:25 +00:00
utility.h libsnapshot: Fix test failures on certain configurations. 2023-03-06 23:21:25 +00:00
vts_ota_config_test.cpp Some device that platform base on android12 doesn't support A/B update, it looks virtual A/B is also not mandatory. so this test case should check ro.vendor.api_level first. 2022-09-17 06:47:02 +00:00