Searched refs:RollbackToTargetVersion (Results 1 – 10 of 10) sorted by relevance
84 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()
138 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()
197 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()
75 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_{
29 enum class RollbackToTargetVersion { enum
53 FakeVariable<RollbackToTargetVersion>* var_rollback_to_target_version() in var_rollback_to_target_version()104 FakeVariable<RollbackToTargetVersion> var_rollback_to_target_version_{
133 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()
53 virtual Variable<RollbackToTargetVersion>*
134 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 …]
266 RollbackToTargetVersion::kRollbackAndPowerwash, in TEST_F()