Home
last modified time | relevance | path

Searched refs:flashing_status (Results 1 – 2 of 2) sorted by relevance

/system/core/fs_mgr/libsnapshot/
Dsnapshot.cpp1606 std::map<std::string, bool> flashing_status; in AreAllSnapshotsCancelled() local
1608 if (!GetSnapshotFlashingStatus(lock, snapshots, &flashing_status)) { in AreAllSnapshotsCancelled()
1614 bool all_snapshots_cancelled = std::all_of(flashing_status.begin(), flashing_status.end(), in AreAllSnapshotsCancelled()
1673 std::map<std::string, bool> flashing_status; in RemoveAllSnapshots() local
1674 if (!GetSnapshotFlashingStatus(lock, snapshots, &flashing_status)) { in RemoveAllSnapshots()
1694 bool should_delete = ShouldDeleteSnapshot(flashing_status, current_slot, name); in RemoveAllSnapshots()
1740 bool SnapshotManager::ShouldDeleteSnapshot(const std::map<std::string, bool>& flashing_status, in ShouldDeleteSnapshot() argument
1745 auto it = flashing_status.find(name); in ShouldDeleteSnapshot()
1746 if (it == flashing_status.end()) { in ShouldDeleteSnapshot()
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dsnapshot.h726 bool ShouldDeleteSnapshot(const std::map<std::string, bool>& flashing_status, Slot current_slot,