Home
last modified time | relevance | path

Searched refs:rollback_allowed (Results 1 – 13 of 13) sorted by relevance

/system/update_engine/update_manager/
Denterprise_device_policy_impl.cc117 result->rollback_allowed = false; in UpdateCheckAllowed()
122 result->rollback_allowed = true; in UpdateCheckAllowed()
128 result->rollback_allowed = true; in UpdateCheckAllowed()
Ddefault_policy.cc44 result->rollback_allowed = false; in UpdateCheckAllowed()
Dpolicy.h54 bool rollback_allowed{false};
Dchromeos_policy.cc222 result->rollback_allowed = false; in UpdateCheckAllowed()
Dchromeos_policy_unittest.cc149 return result.rollback_allowed; in TestRollbackAllowed()
/system/update_engine/cros/
Domaha_request_params.h144 inline void set_rollback_allowed(bool rollback_allowed) { in set_rollback_allowed() argument
145 rollback_allowed_ = rollback_allowed; in set_rollback_allowed()
148 inline bool rollback_allowed() const { return rollback_allowed_; } in rollback_allowed() function
Domaha_request_params.cc127 rollback_allowed_ = params.rollback_allowed; in Init()
Domaha_response_handler_action.cc153 if (!params->rollback_allowed()) { in PerformAction()
Dupdate_attempter_unittest.cc1643 .rollback_allowed = true, in TEST_F()
1646 EXPECT_TRUE(FakeSystemState::Get()->request_params()->rollback_allowed()); in TEST_F()
1655 EXPECT_FALSE(FakeSystemState::Get()->request_params()->rollback_allowed()); in TEST_F()
1745 .rollback_allowed = false}; in TEST_F()
1747 EXPECT_FALSE(FakeSystemState::Get()->request_params()->rollback_allowed()); in TEST_F()
1752 .rollback_allowed = true}; in TEST_F()
1754 EXPECT_TRUE(FakeSystemState::Get()->request_params()->rollback_allowed()); in TEST_F()
Domaha_request_builder_xml.cc154 if (params->rollback_allowed()) { in GetAppBody()
Dmetrics_reporter_omaha.cc213 if (SystemState::Get()->request_params()->rollback_allowed()) { in ReportUpdateCheckMetrics()
Domaha_request_action_unittest.cc1831 bool rollback_allowed = i / 2 == 0; in TEST_F() local
1835 request_params_.set_rollback_allowed(rollback_allowed); in TEST_F()
1838 if (rollback_allowed && target_version_set) { in TEST_F()
Dupdate_attempter.cc415 << omaha_request_params_->rollback_allowed() in CalculateUpdateParams()