platform_system_core/fs_mgr/libsnapshot
Alessio Balsini 91da9dfeef libsnapshot: fix stats write in Resume()
The Resume() operation is supposed to increment the resume counter, but
the updated counter value was not written to the device.
Fix by adding the write operation and refactoring the code.

Bug: none
Test: m
Change-Id: I3fffd61cc779c59e2780900809f0ce0b84258e78
Signed-off-by: Alessio Balsini <balsini@google.com>
2020-02-20 15:05:13 +00:00
..
android/snapshot Utility class to measure snapshot merge duration 2020-02-17 16:36:36 +00:00
include/libsnapshot SnaspshotManager uses SnapshotMergeStats 2020-02-17 16:38:21 +00:00
include_test/libsnapshot SnapshotManager::Return -> Return 2020-01-17 14:43:27 -08:00
Android.bp Utility class to measure snapshot merge duration 2020-02-17 16:36:36 +00:00
device_info.cpp libsnapshot: Restrict when snapshots can be deleted. 2020-02-05 17:16:17 -08:00
device_info.h libsnapshot: Add a helper for handling data wipes in recovery. 2019-11-10 23:07:11 -08:00
dm_snapshot_internals.h pragma once for header file 2019-10-28 16:38:35 +00:00
OWNERS Add balsini@ as libsnapshot owner 2020-01-09 10:11:45 +00:00
partition_cow_creator.cpp SOURCE_COPY operation: implement src == dst 2019-12-02 14:58:17 -08:00
partition_cow_creator.h PartitionCowCreator accounts for extra extents 2019-12-02 12:49:38 -08:00
partition_cow_creator_test.cpp libsnapshot: add library for test helpers 2019-12-06 17:42:40 -08:00
return.cpp SnapshotManager::WaitForMerge gives more info 2020-01-21 13:34:55 -08:00
snapshot.cpp SnaspshotManager uses SnapshotMergeStats 2020-02-17 16:38:21 +00:00
snapshot_metadata_updater.cpp libsnapshot: Add snapshot metadata updater. 2019-09-17 12:55:23 -07:00
snapshot_metadata_updater.h libsnapshot: Add snapshot metadata updater. 2019-09-17 12:55:23 -07:00
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: fix stats write in Resume() 2020-02-20 15:05:13 +00:00
snapshot_stats.h libsnapshot: fix stats write in Resume() 2020-02-20 15:05:13 +00:00
snapshot_test.cpp libsnapshot: Temporarily disable flaky ImageManagerTest 2020-02-18 15:53:45 +00:00
snapshotctl.cpp snapshotctl logs readable by dumpstate 2020-02-11 10:57:51 -08:00
snapshotctl.rc Make snapshotctl logging better. 2020-02-04 14:01:24 -08:00
test_helpers.cpp ImageManager returns FiemapStatus. 2020-01-07 13:01:58 -08:00
utility.cpp Make snapshotctl logging better. 2020-02-04 14:01:24 -08:00
utility.h Make snapshotctl logging better. 2020-02-04 14:01:24 -08:00