Home
last modified time | relevance | path

Searched refs:IsRecovery (Results 1 – 12 of 12) sorted by relevance

/system/core/fs_mgr/libsnapshot/
Ddevice_info.cpp97 bool DeviceInfo::IsRecovery() const { in IsRecovery() function in android::snapshot::DeviceInfo
131 if (IsRecovery() || IsFirstStageInit()) { in OpenImageManager()
133 .is_recovery = {IsRecovery()}, in OpenImageManager()
Ddevice_info.h40 bool IsRecovery() const override;
Dsnapshot_fuzz_utils.h126 bool IsRecovery() const override { return data_->is_recovery(); } in IsRecovery() function
Dsnapshot.cpp538 if (device_->IsRecovery() || device_->IsFirstStageInit()) { in MapCowImage()
610 if (device_->IsRecovery()) { in DeleteSnapshot()
934 if (!device_->IsRecovery() && !RemoveAllUpdateState(lock.get(), before_cancel)) { in CheckMergeState()
1293 if (device_->IsRecovery()) { in AcknowledgeMergeSuccess()
2787 !device_->IsRecovery() && cow_format_support; in CreateUpdateSnapshots()
3319 if (!device_->IsRecovery()) { in EnsureMetadataMounted()
3340 if (!device_->IsRecovery()) { in HandleImminentDataWipe()
3403 if (!device_->IsRecovery()) { in FinishMergeInRecovery()
3527 if (!device_->IsRecovery()) { in RecoveryCreateSnapshotDevices()
3542 if (!device_->IsRecovery()) { in RecoveryCreateSnapshotDevices()
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dmock_device_info.h33 MOCK_METHOD(bool, IsRecovery, (), (const, override));
Dsnapshot.h109 virtual bool IsRecovery() const = 0;
/system/update_engine/aosp/
Ddynamic_partition_control_android.cc450 TEST_AND_RETURN_FALSE(EnsureMetadataMounted() || IsRecovery()); in PreparePartitionsForUpdate()
496 if (!IsRecovery()) { in PreparePartitionsForUpdate()
667 if (!IsRecovery()) { in GetSystemOtherPath()
696 if (IsRecovery()) { in GetSystemOtherPath()
863 if (IsRecovery()) in GetSpaceLimit()
973 CHECK(!target_supports_snapshot_ || IsRecovery()) in UpdatePartitionMetadata()
979 LOG_IF(INFO, IsRecovery()) in UpdatePartitionMetadata()
1231 bool DynamicPartitionControlAndroid::IsRecovery() { in IsRecovery() function in chromeos_update_engine::DynamicPartitionControlAndroid
1246 TEST_AND_RETURN_FALSE(IsRecovery()); in DeleteSourcePartitions()
1382 if (!IsRecovery()) { in ExpectMetadataMounted()
Dmock_dynamic_partition_control_android.h86 MOCK_METHOD(bool, IsRecovery, (), (override));
Ddynamic_partition_control_android.h179 virtual bool IsRecovery();
Ddynamic_partition_control_android_unittest.cc82 ON_CALL(dynamicControl(), IsRecovery()).WillByDefault(Return(false)); in SetUp()
1075 EXPECT_CALL(dynamicControl(), IsRecovery()).WillRepeatedly(Return(true)); in TEST_P()
1094 EXPECT_CALL(dynamicControl(), IsRecovery()).WillRepeatedly(Return(true)); in TEST_P()
/system/core/fs_mgr/libsnapshot/include_test/libsnapshot/
Dtest_helpers.h92 bool IsRecovery() const override { return recovery_; } in IsRecovery() function
/system/core/fs_mgr/libdm/
Ddm.cpp169 static bool IsRecovery() { in IsRecovery() function
194 if (IsRecovery()) { in CreateDevice()