Home
last modified time | relevance | path

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

/system/update_engine/aosp/
Dcleanup_previous_update_action.cc64 snapshot_(snapshot), in CleanupPreviousUpdateAction()
159 CHECK(snapshot_ != nullptr); in StartActionInternal()
160 merge_stats_ = snapshot_->GetSnapshotMergeStatsInstance(); in StartActionInternal()
214 metadata_device_ = snapshot_->EnsureMetadataMounted(); in CheckSlotMarkedSuccessfulOrSchedule()
228 snapshot_->RecoveryCreateSnapshotDevices(metadata_device_); in CheckSlotMarkedSuccessfulOrSchedule()
280 snapshot_->SetMergeStatsFeatures(merge_stats_); in WaitForMergeOrSchedule()
285 auto failure_code = snapshot_->ReadMergeFailureCode(); in WaitForMergeOrSchedule()
290 auto state = snapshot_->ProcessUpdateState( in WaitForMergeOrSchedule()
299 if (!snapshot_->CancelUpdate()) { in WaitForMergeOrSchedule()
338 merge_stats_->set_merge_failure_code(snapshot_->ReadMergeFailureCode()); in WaitForMergeOrSchedule()
[all …]
Ddynamic_partition_control_android.cc140 snapshot_ = SnapshotManager::New(); in DynamicPartitionControlAndroid()
142 snapshot_ = SnapshotManagerStub::New(); in DynamicPartitionControlAndroid()
144 CHECK(snapshot_ != nullptr) << "Cannot initialize SnapshotManager."; in DynamicPartitionControlAndroid()
208 success = snapshot_->MapUpdateSnapshot(params, path); in MapPartitionInternal()
284 success &= snapshot_->UnmapUpdateSnapshot(target_partition_name); in UnmapPartitionOnDeviceMapper()
303 snapshot_->UnmapAllSnapshots(); in UnmapAllPartitions()
321 snapshot_ = SnapshotManager::New(); in Cleanup()
323 snapshot_ = SnapshotManagerStub::New(); in Cleanup()
325 CHECK(snapshot_ != nullptr) << "Cannot initialize SnapshotManager."; in Cleanup()
542 TEST_AND_RETURN_FALSE(snapshot_->CancelUpdate()); in PreparePartitionsForUpdate()
[all …]
Dcleanup_previous_update_action.h72 android::snapshot::ISnapshotManager* snapshot_; variable
Ddynamic_partition_control_android_unittest.cc1022 snapshot_ = new NiceMock<MockSnapshotManager>(); in SetUp()
1023 dynamicControl().snapshot_.reset(snapshot_); // takes ownership in SetUp()
1024 EXPECT_CALL(*snapshot_, BeginUpdate()).WillOnce(Return(true)); in SetUp()
1025 EXPECT_CALL(*snapshot_, EnsureMetadataMounted()) in SetUp()
1034 EXPECT_CALL(*snapshot_, CreateUpdateSnapshots(_)) in ExpectCreateUpdateSnapshots()
1047 MockSnapshotManager* snapshot_ = nullptr; member in chromeos_update_engine::SnapshotPartitionTestP
1095 EXPECT_CALL(*snapshot_, CancelUpdate()).WillOnce(Return(true)); in TEST_P()
Ddynamic_partition_control_android.h346 std::unique_ptr<android::snapshot::ISnapshotManager> snapshot_; variable