Searched refs:SnapshotManager (Results 1 – 17 of 17) sorted by relevance
/system/core/fs_mgr/libsnapshot/ |
D | snapshot.cpp | 84 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 …]
|
D | utility.h | 86 AutoDeleteSnapshot(SnapshotManager* manager, SnapshotManager::LockedFile* lock, in AutoDeleteSnapshot() 94 SnapshotManager* manager_ = nullptr; 95 SnapshotManager::LockedFile* lock_ = nullptr;
|
D | snapshot_test.cpp | 73 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 …]
|
D | snapshotctl.cpp | 48 return SnapshotManager::New()->Dump(std::cout); in DumpCmdHandler()
|
D | device_info.h | 28 class DeviceInfo final : public SnapshotManager::IDeviceInfo {
|
D | snapshot_stats.cpp | 26 SnapshotMergeStats* SnapshotMergeStats::GetInstance(SnapshotManager& parent) { in GetInstance()
|
/system/update_engine/ |
D | cleanup_previous_update_action.h | 52 android::snapshot::SnapshotManager* snapshot, 70 android::snapshot::SnapshotManager* snapshot_;
|
D | cleanup_previous_update_action.cc | 34 using android::snapshot::SnapshotManager; 59 android::snapshot::SnapshotManager* snapshot, in CleanupPreviousUpdateAction()
|
D | dynamic_partition_control_android.h | 261 std::unique_ptr<android::snapshot::SnapshotManager> snapshot_;
|
D | dynamic_partition_control_android.cc | 60 using android::snapshot::SnapshotManager; 110 snapshot_ = SnapshotManager::New(); in DynamicPartitionControlAndroid()
|
/system/core/fs_mgr/libsnapshot/include/libsnapshot/ |
D | snapshot.h | 86 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);
|
D | snapshot_stats.h | 29 static SnapshotMergeStats* GetInstance(SnapshotManager& manager);
|
/system/core/fs_mgr/libsnapshot/include_test/libsnapshot/ |
D | test_helpers.h | 51 extern std::unique_ptr<SnapshotManager> sm; 72 class TestDeviceInfo : public SnapshotManager::IDeviceInfo {
|
/system/core/init/ |
D | first_stage_mount.cpp | 67 using android::snapshot::SnapshotManager; 335 if (SnapshotManager::IsSnapshotManagerNeeded()) { in CreateLogicalPartitions() 336 auto sm = SnapshotManager::NewForFirstStageMount(); in CreateLogicalPartitions()
|
D | selinux.cpp | 85 using android::snapshot::SnapshotManager; 545 selinux_android_restorecon(SnapshotManager::GetGlobalRollbackIndicatorPath().c_str(), 0); in SelinuxRestoreContext()
|
/system/core/fastboot/device/ |
D | commands.cpp | 54 using android::snapshot::SnapshotManager; 673 auto sm = SnapshotManager::NewForFirstStageMount(); in SnapshotUpdateHandler()
|
/system/core/fs_mgr/libsnapshot/android/snapshot/ |
D | snapshot.proto | 59 // When SnapshotManager creates a COW device, it first searches for unused
|