platform_system_core/fs_mgr/libsnapshot
Yifan Hong 1af515b57c libsnapshot: add WaitForMerge
Add an API that does not initiate the merge, but only waits for it to
finish. It is different from ProcessUpdateState API in that it also
blocks when state == UNVERIFIED and booting from the new slot.
(ProcessUpdateState immediately returns in this case).

This is useful for android.os.UpdateEngine.CleanupSuccessfulUpdate().
Bug: 138808328
Test: libsnapshot_test

Change-Id: I7cc59fcaf69616e7ec7ebe6101991b5106845b65
2019-12-13 19:52:31 -08:00
..
android/snapshot Convert SnapshotStatus to proto 2019-10-03 14:26:01 -07:00
include/libsnapshot libsnapshot: add WaitForMerge 2019-12-13 19:52:31 -08:00
include_test/libsnapshot libsnapshot: add library for test helpers 2019-12-06 17:42:40 -08:00
Android.bp libsnapshot: add library for test helpers 2019-12-06 17:42:40 -08:00
device_info.cpp libsnapshot: Add a helper for handling data wipes in recovery. 2019-11-10 23:07:11 -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 Sketch out libsnapshot for update_engine integration. 2019-07-17 20:30:51 -07: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
snapshot.cpp libsnapshot: add WaitForMerge 2019-12-13 19:52:31 -08: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 libsnapshot: add library for test helpers 2019-12-06 17:42:40 -08:00
snapshot_test.cpp libsnapshot: add WaitForMerge 2019-12-13 19:52:31 -08:00
snapshotctl.cpp [REFACTOR] libsnapshot: Add InitiateMergeAndWait 2019-10-31 17:06:28 -07:00
snapshotctl.rc libsnapshot: start in background 2019-12-03 13:27:05 -08:00
test_helpers.cpp libsnapshot: add library for test helpers 2019-12-06 17:42:40 -08:00
utility.cpp libsnapshot: write files atomically 2019-12-04 14:49:47 -08:00
utility.h libsnapshot: write files atomically 2019-12-04 14:49:47 -08:00