Searched refs:snapshot_ (Results 1 – 5 of 5) sorted by relevance
64 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()279 auto update_uses_compression = snapshot_->UpdateUsesCompression(); in WaitForMergeOrSchedule()280 auto state = snapshot_->ProcessUpdateState( in WaitForMergeOrSchedule()289 if (!snapshot_->CancelUpdate()) { in WaitForMergeOrSchedule()327 merge_stats_->set_merge_failure_code(snapshot_->ReadMergeFailureCode()); in WaitForMergeOrSchedule()352 snapshot_->GetUpdateState(&percentage); in OnMergePercentageUpdate()[all …]
131 snapshot_ = SnapshotManager::New(); in DynamicPartitionControlAndroid()133 snapshot_ = SnapshotManagerStub::New(); in DynamicPartitionControlAndroid()135 CHECK(snapshot_ != nullptr) << "Cannot initialize SnapshotManager."; in DynamicPartitionControlAndroid()194 success = snapshot_->MapUpdateSnapshot(params, path); in MapPartitionInternal()270 success &= snapshot_->UnmapUpdateSnapshot(target_partition_name); in UnmapPartitionOnDeviceMapper()289 snapshot_->UnmapAllSnapshots(); in UnmapAllPartitions()519 TEST_AND_RETURN_FALSE(snapshot_->CancelUpdate()); in PreparePartitionsForUpdate()946 if (!snapshot_->BeginUpdate()) { in PrepareSnapshotPartitionsForUpdate()950 auto ret = snapshot_->CreateUpdateSnapshots(manifest); in PrepareSnapshotPartitionsForUpdate()1052 if (snapshot_->GetUpdateState() == UpdateState::Initiated) { in FinishUpdate()[all …]
72 android::snapshot::ISnapshotManager* snapshot_; variable
1022 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::SnapshotPartitionTestP1095 EXPECT_CALL(*snapshot_, CancelUpdate()).WillOnce(Return(true)); in TEST_P()
342 std::unique_ptr<android::snapshot::ISnapshotManager> snapshot_; variable