android_system_core/fs_mgr/libsnapshot
Yifan Hong 755eb6b606 libsnapshot_test: hardcode alignment.
SnapshotUpdateTest uses a relatively small super partition, which
requires a small alignment and 0 alignment offset to work. For the
purpose of this test, hardcode the alignment and offset.
This test isn't about testing liblp or libdm.

Fixes: 154355449
Fixes: 157437632
Bug: 158718136
Bug: 157633441
Bug: 154646936

Test: atest on devices with alignment of data partition >= 512KiB

Change-Id: I1d0474f028cc824bd4197d0228350395239b3b81
(cherry picked from commit 31739669e91c7a3afc5bee23e43bc45fb4154667)
Merged-In: I1d0474f028cc824bd4197d0228350395239b3b81
2020-06-15 14:00:12 -07:00
..
android/snapshot libsnapshot: proto use correct index 2020-05-30 03:13:17 +01:00
include/libsnapshot libsnapshot: Export COW image size 2020-05-30 03:12:57 +01:00
include_test/libsnapshot SnapshotManager::Return -> Return 2020-01-17 14:43:27 -08:00
Android.bp Merge "Moves some shared_libs to static_libs for vts_libsnapshot_test." into rvc-dev 2020-04-28 23:14:33 +00:00
OWNERS Add balsini@ as libsnapshot owner 2020-01-09 10:11:45 +00:00
VtsLibsnapshotTest.xml libsnapshot: Add VTS10 VtsLibsnapshotTest 2020-04-03 16:38:39 -07:00
device_info.cpp libsnapshot: Restrict when snapshots can be deleted. 2020-02-05 17:16:17 -08:00
device_info.h
dm_snapshot_internals.h
partition_cow_creator.cpp Handle zero snapshot size appropriately. 2020-05-01 11:52:01 -07:00
partition_cow_creator.h PartitionCowCreator accounts for extra extents 2019-12-02 12:49:38 -08:00
partition_cow_creator_test.cpp Add OptimizeSourceCopyOperation 2020-03-12 10:00:12 -07:00
return.cpp libsnapshot: delete WaitForMerge. 2020-03-05 08:41:45 -08:00
snapshot.cpp libsnapshot: Export COW image size 2020-05-30 03:12:57 +01:00
snapshot_metadata_updater.cpp
snapshot_metadata_updater.h
snapshot_metadata_updater_test.cpp Skip snapshot tests for non-Virtual A/B devices 2020-01-30 16:23:27 +00:00
snapshot_stats.cpp libsnapshot: Export COW image size 2020-05-30 03:12:57 +01:00
snapshot_test.cpp fastboot: Fix snapshot-update merge behavior. 2020-05-04 15:53:06 -07:00
snapshotctl.cpp libsnapshot: delete InitiateMergeAndWait. 2020-03-09 16:16:33 -07:00
test_helpers.cpp libsnapshot_test: hardcode alignment. 2020-06-15 14:00:12 -07:00
utility.cpp Add OptimizeSourceCopyOperation 2020-03-12 10:00:12 -07:00
utility.h Add OptimizeSourceCopyOperation 2020-03-12 10:00:12 -07:00