Home
last modified time | relevance | path

Searched refs:snapshots (Results 1 – 25 of 37) sorted by relevance

12

/system/core/fs_mgr/libsnapshot/
Dsnapshot.cpp647 std::vector<std::string> snapshots; in InitiateMerge() local
648 if (!ListSnapshots(lock.get(), &snapshots)) { in InitiateMerge()
656 for (const auto& snapshot : snapshots) { in InitiateMerge()
674 for (auto it = snapshots.begin(); it != snapshots.end();) { in InitiateMerge()
686 it = snapshots.erase(it); in InitiateMerge()
699 for (const auto& snapshot : snapshots) { in InitiateMerge()
731 merge_group = &snapshots; in InitiateMerge()
972 std::vector<std::string> snapshots; in CheckMergeState() local
973 if (!ListSnapshots(lock, &snapshots)) { in CheckMergeState()
984 for (const auto& snapshot : snapshots) { in CheckMergeState()
[all …]
Dsnapshot_test.cpp136 std::vector<std::string> snapshots = {"test-snapshot", "test_partition_a", in CleanupTestArtifacts() local
138 for (const auto& snapshot : snapshots) { in CleanupTestArtifacts()
444 std::vector<std::string> snapshots; in TEST_F() local
445 ASSERT_TRUE(sm->ListSnapshots(lock_.get(), &snapshots)); in TEST_F()
446 ASSERT_EQ(snapshots.size(), 1); in TEST_F()
447 ASSERT_EQ(snapshots[0], "test-snapshot"); in TEST_F()
1175 std::vector<std::string> snapshots; in TEST_F() local
1176 ASSERT_TRUE(init->ListSnapshots(local_lock.get(), &snapshots)); in TEST_F()
1177 ASSERT_TRUE(snapshots.empty()); in TEST_F()
1288 std::vector<std::string> snapshots; in TEST_F() local
[all …]
/system/sepolicy/prebuilts/api/29.0/private/
Dfile.te20 # /data/misc_[ce|de]/rollback : Used by installd to store snapshots
Dinstalld.te34 # Capture userdata snapshots to /data/misc_[ce|de]/rollback and
/system/sepolicy/prebuilts/api/30.0/private/
Dfile.te20 # /data/misc_[ce|de]/rollback : Used by installd to store snapshots
Dsnapshotctl.te28 # Interact with device-mapper to collapse snapshots.
Dinstalld.te31 # Capture userdata snapshots to /data/misc_[ce|de]/rollback and
Dapexd.te14 # Allow apexd to create files and directories for snapshots of apex data
141 # Allow apexd to read file contexts when performing restorecon of snapshots.
/system/sepolicy/private/
Dupdate_engine.te24 # Allow to communicate with the snapuserd service, for dm-user snapshots.
Dsnapuserd.te1 # snapuserd - Daemon for servicing dm-user requests for Virtual A/B snapshots.
Dfastbootd.te42 # Mount /metadata to interact with Virtual A/B snapshots.
Dsnapshotctl.te28 # Interact with device-mapper to collapse snapshots.
Dinstalld.te31 # Capture userdata snapshots to /data/misc_[ce|de]/rollback and
Dfile.te29 # /data/misc_[ce|de]/rollback : Used by installd to store snapshots
Dapexd.te20 # Allow apexd to create files and directories for snapshots of apex data
166 # Allow apexd to read file contexts when performing restorecon of snapshots.
/system/sepolicy/prebuilts/api/31.0/private/
Dupdate_engine.te24 # Allow to communicate with the snapuserd service, for dm-user snapshots.
Dsnapuserd.te1 # snapuserd - Daemon for servicing dm-user requests for Virtual A/B snapshots.
Dfastbootd.te42 # Mount /metadata to interact with Virtual A/B snapshots.
Dsnapshotctl.te28 # Interact with device-mapper to collapse snapshots.
Dinstalld.te31 # Capture userdata snapshots to /data/misc_[ce|de]/rollback and
Dfile.te29 # /data/misc_[ce|de]/rollback : Used by installd to store snapshots
Dapexd.te20 # Allow apexd to create files and directories for snapshots of apex data
166 # Allow apexd to read file contexts when performing restorecon of snapshots.
/system/core/fs_mgr/libsnapshot/android/snapshot/
Dsnapshot.proto118 // An update is applying; snapshots may already exist.
186 // Whether compression/dm-user was used for any snapshots.
211 // Whether compression/dm-user was used for any snapshots.
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dsnapshot.h519 bool ListSnapshots(LockedFile* lock, std::vector<std::string>* snapshots,
535 bool GetSnapshotFlashingStatus(LockedFile* lock, const std::vector<std::string>& snapshots,
/system/update_engine/
Dupdate_metadata.proto346 // Whether dynamic partitions have snapshots during the update. If this is
347 // set to true, the update_engine daemon creates snapshots for all dynamic
349 // NOT create snapshots for dynamic partitions.

12