Home
last modified time | relevance | path

Searched refs:snapshot_ (Results 1 – 5 of 5) sorted by relevance

/system/update_engine/
Dcleanup_previous_update_action.cc63 snapshot_(snapshot), in CleanupPreviousUpdateAction()
115 CHECK(snapshot_ != nullptr); in StartActionInternal()
116 merge_stats_ = snapshot_->GetSnapshotMergeStatsInstance(); in StartActionInternal()
161 metadata_device_ = snapshot_->EnsureMetadataMounted(); in CheckSlotMarkedSuccessfulOrSchedule()
175 snapshot_->RecoveryCreateSnapshotDevices(metadata_device_); in CheckSlotMarkedSuccessfulOrSchedule()
224 auto state = snapshot_->ProcessUpdateState( in WaitForMergeOrSchedule()
233 if (!snapshot_->CancelUpdate()) { in WaitForMergeOrSchedule()
295 snapshot_->GetUpdateState(&percentage); in OnMergePercentageUpdate()
348 if (snapshot_->InitiateMerge()) { in InitiateMergeAndWait()
354 auto state = snapshot_->GetUpdateState(); in InitiateMergeAndWait()
Ddynamic_partition_control_android.cc114 snapshot_ = SnapshotManager::New(); in DynamicPartitionControlAndroid()
116 snapshot_ = SnapshotManagerStub::New(); in DynamicPartitionControlAndroid()
118 CHECK(snapshot_ != nullptr) << "Cannot initialize SnapshotManager."; in DynamicPartitionControlAndroid()
168 success = snapshot_->MapUpdateSnapshot(params, path); in MapPartitionInternal()
244 success &= snapshot_->UnmapUpdateSnapshot(target_partition_name); in UnmapPartitionOnDeviceMapper()
491 TEST_AND_RETURN_FALSE(snapshot_->CancelUpdate()); in PreparePartitionsForUpdate()
770 if (!snapshot_->BeginUpdate()) { in PrepareSnapshotPartitionsForUpdate()
774 auto ret = snapshot_->CreateUpdateSnapshots(manifest); in PrepareSnapshotPartitionsForUpdate()
874 if (snapshot_->GetUpdateState() == UpdateState::Initiated) { in FinishUpdate()
876 return snapshot_->FinishedSnapshotWrites(powerwash_required); in FinishUpdate()
[all …]
Dcleanup_previous_update_action.h70 android::snapshot::ISnapshotManager* snapshot_; variable
Ddynamic_partition_control_android_unittest.cc928 snapshot_ = new NiceMock<MockSnapshotManager>(); in SetUp()
929 dynamicControl().snapshot_.reset(snapshot_); // takes ownership in SetUp()
930 EXPECT_CALL(*snapshot_, BeginUpdate()).WillOnce(Return(true)); in SetUp()
931 EXPECT_CALL(*snapshot_, EnsureMetadataMounted()) in SetUp()
940 EXPECT_CALL(*snapshot_, CreateUpdateSnapshots(_)) in ExpectCreateUpdateSnapshots()
953 MockSnapshotManager* snapshot_ = nullptr; member in chromeos_update_engine::SnapshotPartitionTestP
994 EXPECT_CALL(*snapshot_, CancelUpdate()).WillOnce(Return(true)); in TEST_P()
Ddynamic_partition_control_android.h273 std::unique_ptr<android::snapshot::ISnapshotManager> snapshot_; variable