Home
last modified time | relevance | path

Searched refs:SnapshotManager (Results 1 – 17 of 17) sorted by relevance

/system/core/fs_mgr/libsnapshot/
Dsnapshot.cpp84 SnapshotManager::~SnapshotManager() {} in ~SnapshotManager()
86 std::unique_ptr<SnapshotManager> SnapshotManager::New(IDeviceInfo* info) { in New()
90 return std::unique_ptr<SnapshotManager>(new SnapshotManager(info)); in New()
93 std::unique_ptr<SnapshotManager> SnapshotManager::NewForFirstStageMount(IDeviceInfo* info) { in NewForFirstStageMount()
101 SnapshotManager::SnapshotManager(IDeviceInfo* device) : device_(device) { in SnapshotManager() function in android::snapshot::SnapshotManager
122 bool SnapshotManager::BeginUpdate() { in BeginUpdate()
151 bool SnapshotManager::CancelUpdate() { in CancelUpdate()
162 bool SnapshotManager::TryCancelUpdate(bool* needs_merge) { in TryCancelUpdate()
188 std::string SnapshotManager::ReadUpdateSourceSlotSuffix() { in ReadUpdateSourceSlotSuffix()
198 SnapshotManager::Slot SnapshotManager::GetCurrentSlot() { in GetCurrentSlot()
[all …]
Dutility.h86 AutoDeleteSnapshot(SnapshotManager* manager, SnapshotManager::LockedFile* lock, in AutoDeleteSnapshot()
94 SnapshotManager* manager_ = nullptr;
95 SnapshotManager::LockedFile* lock_ = nullptr;
Dsnapshot_test.cpp73 std::unique_ptr<SnapshotManager> sm;
338 std::unique_ptr<SnapshotManager::LockedFile> lock_;
434 auto sm = SnapshotManager::NewForFirstStageMount(info); in TEST_F()
444 auto sm = SnapshotManager::NewForFirstStageMount(info); in TEST_F()
512 auto init = SnapshotManager::NewForFirstStageMount(new TestDeviceInfo(fake_super, "_b")); in TEST_F()
541 auto init = SnapshotManager::NewForFirstStageMount(new TestDeviceInfo(fake_super, "_b")); in TEST_F()
568 auto init = SnapshotManager::NewForFirstStageMount(new TestDeviceInfo(fake_super, "_b")); in TEST_F()
710 std::unique_ptr<SnapshotManager::LockedFile> lock_;
1015 auto init = SnapshotManager::NewForFirstStageMount(new TestDeviceInfo(fake_super, "_b")); in TEST_F()
1147 auto init = SnapshotManager::NewForFirstStageMount(new TestDeviceInfo(fake_super, "_b")); in TEST_F()
[all …]
Dsnapshotctl.cpp48 return SnapshotManager::New()->Dump(std::cout); in DumpCmdHandler()
Ddevice_info.h28 class DeviceInfo final : public SnapshotManager::IDeviceInfo {
Dsnapshot_stats.cpp26 SnapshotMergeStats* SnapshotMergeStats::GetInstance(SnapshotManager& parent) { in GetInstance()
/system/update_engine/
Dcleanup_previous_update_action.h52 android::snapshot::SnapshotManager* snapshot,
70 android::snapshot::SnapshotManager* snapshot_;
Dcleanup_previous_update_action.cc34 using android::snapshot::SnapshotManager;
59 android::snapshot::SnapshotManager* snapshot, in CleanupPreviousUpdateAction()
Ddynamic_partition_control_android.h261 std::unique_ptr<android::snapshot::SnapshotManager> snapshot_;
Ddynamic_partition_control_android.cc60 using android::snapshot::SnapshotManager;
110 snapshot_ = SnapshotManager::New(); in DynamicPartitionControlAndroid()
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dsnapshot.h86 class SnapshotManager final {
114 ~SnapshotManager();
119 static std::unique_ptr<SnapshotManager> New(IDeviceInfo* device = nullptr);
123 static std::unique_ptr<SnapshotManager> NewForFirstStageMount(IDeviceInfo* device = nullptr);
296 explicit SnapshotManager(IDeviceInfo* info);
522 friend std::ostream& operator<<(std::ostream& os, SnapshotManager::Slot slot);
Dsnapshot_stats.h29 static SnapshotMergeStats* GetInstance(SnapshotManager& manager);
/system/core/fs_mgr/libsnapshot/include_test/libsnapshot/
Dtest_helpers.h51 extern std::unique_ptr<SnapshotManager> sm;
72 class TestDeviceInfo : public SnapshotManager::IDeviceInfo {
/system/core/init/
Dfirst_stage_mount.cpp67 using android::snapshot::SnapshotManager;
335 if (SnapshotManager::IsSnapshotManagerNeeded()) { in CreateLogicalPartitions()
336 auto sm = SnapshotManager::NewForFirstStageMount(); in CreateLogicalPartitions()
Dselinux.cpp85 using android::snapshot::SnapshotManager;
545 selinux_android_restorecon(SnapshotManager::GetGlobalRollbackIndicatorPath().c_str(), 0); in SelinuxRestoreContext()
/system/core/fastboot/device/
Dcommands.cpp54 using android::snapshot::SnapshotManager;
673 auto sm = SnapshotManager::NewForFirstStageMount(); in SnapshotUpdateHandler()
/system/core/fs_mgr/libsnapshot/android/snapshot/
Dsnapshot.proto59 // When SnapshotManager creates a COW device, it first searches for unused