Searched refs:SnapshotManager (Results 1 – 19 of 19) sorted by relevance
/system/core/fs_mgr/libsnapshot/ |
D | snapshot.cpp | 94 SnapshotManager::~SnapshotManager() {} in ~SnapshotManager() 96 std::unique_ptr<SnapshotManager> SnapshotManager::New(IDeviceInfo* info) { in New() 101 return std::unique_ptr<SnapshotManager>(new SnapshotManager(info)); in New() 104 std::unique_ptr<SnapshotManager> SnapshotManager::NewForFirstStageMount(IDeviceInfo* info) { in NewForFirstStageMount() 120 SnapshotManager::SnapshotManager(IDeviceInfo* device) in SnapshotManager() function in android::snapshot::SnapshotManager 129 SnapshotManager::SnapshotDriver SnapshotManager::GetSnapshotDriver(LockedFile* lock) { in GetSnapshotDriver() 131 return SnapshotManager::SnapshotDriver::DM_USER; in GetSnapshotDriver() 133 return SnapshotManager::SnapshotDriver::DM_SNAPSHOT; in GetSnapshotDriver() 138 SnapshotManager::SnapshotDriver driver) { in GetDmUserCowName() 144 case SnapshotManager::SnapshotDriver::DM_USER: { in GetDmUserCowName() [all …]
|
D | utility.h | 84 AutoDeleteSnapshot(SnapshotManager* manager, SnapshotManager::LockedFile* lock, in AutoDeleteSnapshot() 91 SnapshotManager* manager_ = nullptr; 92 SnapshotManager::LockedFile* lock_ = nullptr;
|
D | snapshotctl.cpp | 68 return SnapshotManager::New()->Dump(std::cout); in DumpCmdHandler() 74 return SnapshotManager::New()->MapAllSnapshots(5000ms); in MapCmdHandler() 79 return SnapshotManager::New()->UnmapAllSnapshots(); in UnmapCmdHandler() 89 bool CreateTestUpdate(SnapshotManager* sm) { in CreateTestUpdate() 195 auto sm = SnapshotManager::New(); in TestOtaHandler()
|
D | device_info.h | 28 class DeviceInfo final : public SnapshotManager::IDeviceInfo {
|
D | snapshot_test.cpp | 100 std::unique_ptr<SnapshotManager> sm; 509 std::unique_ptr<SnapshotManager> NewManagerForFirstStageMount( in NewManagerForFirstStageMount() 515 std::unique_ptr<SnapshotManager> NewManagerForFirstStageMount(TestDeviceInfo* info) { in NewManagerForFirstStageMount() 517 auto init = SnapshotManager::NewForFirstStageMount(info); in NewManagerForFirstStageMount() 529 std::unique_ptr<SnapshotManager::LockedFile> lock_; 914 std::unique_ptr<SnapshotManager::LockedFile> lock_; 1788 auto new_sm = SnapshotManager::New(new TestDeviceInfo(fake_super, "_b")); in TEST_F() 1916 auto init = SnapshotManager::New(new TestDeviceInfo(fake_super, "_b")); in TEST_F() 2029 auto new_sm = SnapshotManager::New(new TestDeviceInfo(fake_super, "_b")); in TEST_F() 2061 auto new_sm = SnapshotManager::New(new TestDeviceInfo(fake_super, "_b")); in TEST_F() [all …]
|
D | snapshot_stats.cpp | 26 SnapshotMergeStats* SnapshotMergeStats::GetInstance(SnapshotManager& parent) { in GetInstance()
|
/system/core/init/ |
D | snapuserd_transition.h | 41 using SnapshotManager = android::snapshot::SnapshotManager; variable 44 SnapuserdSelinuxHelper(std::unique_ptr<SnapshotManager>&& sm, pid_t old_pid); 61 std::unique_ptr<SnapshotManager> sm_;
|
D | snapuserd_transition.cpp | 54 using android::snapshot::SnapshotManager; 177 SnapuserdSelinuxHelper::SnapuserdSelinuxHelper(std::unique_ptr<SnapshotManager>&& sm, pid_t old_pid) in SnapuserdSelinuxHelper() 390 auto sm = SnapshotManager::NewForFirstStageMount(); in CreateIfNeeded()
|
D | first_stage_mount.cpp | 70 using android::snapshot::SnapshotManager; 93 bool CreateSnapshotPartitions(android::snapshot::SnapshotManager* sm); 347 if (SnapshotManager::IsSnapshotManagerNeeded()) { in CreateLogicalPartitions() 348 auto sm = SnapshotManager::NewForFirstStageMount(); in CreateLogicalPartitions() 368 bool FirstStageMount::CreateSnapshotPartitions(SnapshotManager* sm) { in CreateSnapshotPartitions()
|
D | selinux.cpp | 96 using android::snapshot::SnapshotManager; 810 selinux_android_restorecon(SnapshotManager::GetGlobalRollbackIndicatorPath().c_str(), 0); in SelinuxRestoreContext()
|
D | init.cpp | 112 using android::snapshot::SnapshotManager;
|
D | reboot.cpp | 426 auto sm = snapshot::SnapshotManager::New(); in TryUmountAndFsck()
|
/system/core/fs_mgr/libsnapshot/include/libsnapshot/ |
D | mock_device_info.h | 23 class MockDeviceInfo : public SnapshotManager::IDeviceInfo {
|
D | snapshot.h | 305 class SnapshotManager final : public ISnapshotManager { 317 ~SnapshotManager(); 322 static std::unique_ptr<SnapshotManager> New(IDeviceInfo* device = nullptr); 326 static std::unique_ptr<SnapshotManager> NewForFirstStageMount(IDeviceInfo* device = nullptr); 456 explicit SnapshotManager(IDeviceInfo* info); 766 friend std::ostream& operator<<(std::ostream& os, SnapshotManager::Slot slot);
|
D | snapshot_stats.h | 66 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/update_engine/aosp/ |
D | dynamic_partition_control_android.cc | 71 using android::snapshot::SnapshotManager; 140 snapshot_ = SnapshotManager::New(); in DynamicPartitionControlAndroid() 321 snapshot_ = SnapshotManager::New(); in Cleanup()
|
/system/core/fastboot/device/ |
D | commands.cpp | 60 using android::snapshot::SnapshotManager; 732 auto sm = SnapshotManager::New(); in SnapshotUpdateHandler()
|
/system/core/fs_mgr/libsnapshot/android/snapshot/ |
D | snapshot.proto | 71 // When SnapshotManager creates a COW device, it first searches for unused
|