Searched refs:SnapshotManager (Results 1 – 20 of 20) sorted by relevance
/system/core/init/ |
D | snapuserd_transition.h | 36 using SnapshotManager = android::snapshot::SnapshotManager; variable 39 SnapuserdSelinuxHelper(std::unique_ptr<SnapshotManager>&& sm, pid_t old_pid); 55 std::unique_ptr<SnapshotManager> sm_;
|
D | snapuserd_transition.cpp | 51 using android::snapshot::SnapshotManager; 150 SnapuserdSelinuxHelper::SnapuserdSelinuxHelper(std::unique_ptr<SnapshotManager>&& sm, pid_t old_pid) in SnapuserdSelinuxHelper() 282 auto sm = SnapshotManager::NewForFirstStageMount(); in CreateIfNeeded()
|
D | first_stage_mount.cpp | 70 using android::snapshot::SnapshotManager; 94 bool CreateSnapshotPartitions(android::snapshot::SnapshotManager* sm); 364 if (SnapshotManager::IsSnapshotManagerNeeded()) { in CreateLogicalPartitions() 365 auto sm = SnapshotManager::NewForFirstStageMount(); in CreateLogicalPartitions() 385 bool FirstStageMount::CreateSnapshotPartitions(SnapshotManager* sm) { in CreateSnapshotPartitions()
|
D | selinux.cpp | 87 using android::snapshot::SnapshotManager; 563 selinux_android_restorecon(SnapshotManager::GetGlobalRollbackIndicatorPath().c_str(), 0); in SelinuxRestoreContext()
|
D | init.cpp | 100 using android::snapshot::SnapshotManager;
|
/system/core/fs_mgr/libsnapshot/ |
D | snapshot.cpp | 92 SnapshotManager::~SnapshotManager() {} in ~SnapshotManager() 94 std::unique_ptr<SnapshotManager> SnapshotManager::New(IDeviceInfo* info) { in New() 98 return std::unique_ptr<SnapshotManager>(new SnapshotManager(info)); in New() 101 std::unique_ptr<SnapshotManager> SnapshotManager::NewForFirstStageMount(IDeviceInfo* info) { in NewForFirstStageMount() 117 SnapshotManager::SnapshotManager(IDeviceInfo* device) : device_(device) { in SnapshotManager() function in android::snapshot::SnapshotManager 141 bool SnapshotManager::BeginUpdate() { in BeginUpdate() 173 bool SnapshotManager::CancelUpdate() { in CancelUpdate() 184 bool SnapshotManager::TryCancelUpdate(bool* needs_merge) { in TryCancelUpdate() 210 std::string SnapshotManager::ReadUpdateSourceSlotSuffix() { in ReadUpdateSourceSlotSuffix() 220 SnapshotManager::Slot SnapshotManager::GetCurrentSlot() { in GetCurrentSlot() [all …]
|
D | snapshotctl.cpp | 48 return SnapshotManager::New()->Dump(std::cout); in DumpCmdHandler() 54 return SnapshotManager::New()->MapAllSnapshots(5000ms); in MapCmdHandler() 59 return SnapshotManager::New()->UnmapAllSnapshots(); in UnmapCmdHandler()
|
D | utility.h | 86 AutoDeleteSnapshot(SnapshotManager* manager, SnapshotManager::LockedFile* lock, in AutoDeleteSnapshot() 94 SnapshotManager* manager_ = nullptr; 95 SnapshotManager::LockedFile* lock_ = nullptr;
|
D | device_info.h | 28 class DeviceInfo final : public SnapshotManager::IDeviceInfo {
|
D | snapshot_test.cpp | 82 std::unique_ptr<SnapshotManager> sm; 399 std::unique_ptr<SnapshotManager> NewManagerForFirstStageMount( in NewManagerForFirstStageMount() 405 std::unique_ptr<SnapshotManager> NewManagerForFirstStageMount(TestDeviceInfo* info) { in NewManagerForFirstStageMount() 407 auto init = SnapshotManager::NewForFirstStageMount(info); in NewManagerForFirstStageMount() 419 std::unique_ptr<SnapshotManager::LockedFile> lock_; 790 std::unique_ptr<SnapshotManager::LockedFile> lock_; 1471 auto new_sm = SnapshotManager::New(new TestDeviceInfo(fake_super, "_b")); in TEST_F() 1606 auto init = SnapshotManager::New(new TestDeviceInfo(fake_super, "_b")); in TEST_F() 1719 auto new_sm = SnapshotManager::New(new TestDeviceInfo(fake_super, "_b")); in TEST_F() 1751 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()
|
D | snapshot_fuzz_utils.cpp | 434 auto snapshot = SnapshotManager::New(ret.device_info /* takes ownership */); in CheckCreateSnapshotManager()
|
/system/core/fs_mgr/libsnapshot/include/libsnapshot/ |
D | mock_device_info.h | 23 class MockDeviceInfo : public SnapshotManager::IDeviceInfo {
|
D | snapshot.h | 301 class SnapshotManager final : public ISnapshotManager { 313 ~SnapshotManager(); 318 static std::unique_ptr<SnapshotManager> New(IDeviceInfo* device = nullptr); 322 static std::unique_ptr<SnapshotManager> NewForFirstStageMount(IDeviceInfo* device = nullptr); 424 explicit SnapshotManager(IDeviceInfo* info); 716 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/core/fs_mgr/libsnapshot/android/snapshot/ |
D | snapshot_fuzz.proto | 30 // Controls the behavior of the test SnapshotManager.
|
D | snapshot.proto | 71 // When SnapshotManager creates a COW device, it first searches for unused
|
/system/core/fastboot/device/ |
D | commands.cpp | 62 using android::snapshot::SnapshotManager; 674 auto sm = SnapshotManager::New(); in SnapshotUpdateHandler()
|
/system/update_engine/aosp/ |
D | dynamic_partition_control_android.cc | 71 using android::snapshot::SnapshotManager; 131 snapshot_ = SnapshotManager::New(); in DynamicPartitionControlAndroid()
|