Home
last modified time | relevance | path

Searched refs:RollbackToTargetVersion (Results 1 – 10 of 10) sorted by relevance

/system/update_engine/update_manager/
Denterprise_device_policy_impl.cc84 const RollbackToTargetVersion* rollback_to_target_version_p = in UpdateCheckAllowed()
88 case RollbackToTargetVersion::kUnspecified: in UpdateCheckAllowed()
91 case RollbackToTargetVersion::kDisabled: in UpdateCheckAllowed()
96 case RollbackToTargetVersion::kRollbackAndPowerwash: in UpdateCheckAllowed()
101 case RollbackToTargetVersion::kRollbackAndRestoreIfPossible: in UpdateCheckAllowed()
107 case RollbackToTargetVersion::kMaxValue: in UpdateCheckAllowed()
Dboxed_value.cc138 string BoxedValue::ValuePrinter<RollbackToTargetVersion>(const void* value) { in ValuePrinter()
139 const RollbackToTargetVersion* val = in ValuePrinter()
140 reinterpret_cast<const RollbackToTargetVersion*>(value); in ValuePrinter()
142 case RollbackToTargetVersion::kUnspecified: in ValuePrinter()
144 case RollbackToTargetVersion::kDisabled: in ValuePrinter()
146 case RollbackToTargetVersion::kRollbackAndPowerwash: in ValuePrinter()
148 case RollbackToTargetVersion::kRollbackAndRestoreIfPossible: in ValuePrinter()
150 case RollbackToTargetVersion::kMaxValue: in ValuePrinter()
Dboxed_value_unittest.cc197 BoxedValue(new RollbackToTargetVersion( in TEST()
198 RollbackToTargetVersion::kUnspecified)) in TEST()
202 new RollbackToTargetVersion(RollbackToTargetVersion::kDisabled)) in TEST()
205 BoxedValue(new RollbackToTargetVersion( in TEST()
206 RollbackToTargetVersion::kRollbackAndPowerwash)) in TEST()
210 BoxedValue(new RollbackToTargetVersion( in TEST()
211 RollbackToTargetVersion::kRollbackAndRestoreIfPossible)) in TEST()
Dreal_device_policy_provider.h75 Variable<RollbackToTargetVersion>* var_rollback_to_target_version() override { in var_rollback_to_target_version()
149 RollbackToTargetVersion* rollback_to_target_version) const;
197 AsyncCopyVariable<RollbackToTargetVersion> var_rollback_to_target_version_{
Drollback_prefs.h29 enum class RollbackToTargetVersion { enum
Dfake_device_policy_provider.h53 FakeVariable<RollbackToTargetVersion>* var_rollback_to_target_version() in var_rollback_to_target_version()
104 FakeVariable<RollbackToTargetVersion> var_rollback_to_target_version_{
Dreal_device_policy_provider.cc133 RollbackToTargetVersion* rollback_to_target_version) const { in ConvertRollbackToTargetVersion()
141 static_cast<int>(RollbackToTargetVersion::kMaxValue)) { in ConvertRollbackToTargetVersion()
145 static_cast<RollbackToTargetVersion>(rollback_to_target_version_int); in ConvertRollbackToTargetVersion()
Ddevice_policy_provider.h53 virtual Variable<RollbackToTargetVersion>*
Dchromeos_policy_unittest.cc134 RollbackToTargetVersion rollback_to_target_version) { in TestRollbackAllowed()
143 ->reset(new RollbackToTargetVersion(rollback_to_target_version)); in TestRollbackAllowed()
278 true, RollbackToTargetVersion::kRollbackAndPowerwash)); in TEST_F()
284 true, RollbackToTargetVersion::kRollbackAndRestoreIfPossible)); in TEST_F()
288 EXPECT_FALSE(TestRollbackAllowed(true, RollbackToTargetVersion::kDisabled)); in TEST_F()
293 TestRollbackAllowed(true, RollbackToTargetVersion::kUnspecified)); in TEST_F()
298 TestRollbackAllowed(false, RollbackToTargetVersion::kUnspecified)); in TEST_F()
305 true, RollbackToTargetVersion::kRollbackAndPowerwash)); in TEST_F()
311 EXPECT_FALSE(TestRollbackAllowed(true, RollbackToTargetVersion::kDisabled)); in TEST_F()
318 TestRollbackAllowed(true, RollbackToTargetVersion::kUnspecified)); in TEST_F()
[all …]
Dreal_device_policy_provider_unittest.cc266 RollbackToTargetVersion::kRollbackAndPowerwash, in TEST_F()