Home
last modified time | relevance | path

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

/system/update_engine/update_manager/
Denterprise_device_policy_impl.cc93 result->rollback_allowed = false; in UpdateCheckAllowed()
97 result->rollback_allowed = true; in UpdateCheckAllowed()
103 result->rollback_allowed = true; in UpdateCheckAllowed()
109 result->rollback_allowed = false; in UpdateCheckAllowed()
Ddefault_policy.cc44 result->rollback_allowed = false; in UpdateCheckAllowed()
Dandroid_things_policy.cc56 result->rollback_allowed = false; in UpdateCheckAllowed()
Dpolicy.h52 bool rollback_allowed; member
Dchromeos_policy.cc209 result->rollback_allowed = false; in UpdateCheckAllowed()
Dchromeos_policy_unittest.cc149 return result.rollback_allowed; in TestRollbackAllowed()
/system/update_engine/
Dmock_update_attempter.h38 bool rollback_allowed,
Domaha_request_params.h129 inline void set_rollback_allowed(bool rollback_allowed) { in set_rollback_allowed() argument
130 rollback_allowed_ = rollback_allowed; in set_rollback_allowed()
133 inline bool rollback_allowed() const { return rollback_allowed_; } in rollback_allowed() function
Dupdate_attempter.h86 bool rollback_allowed,
341 bool rollback_allowed,
Dupdate_attempter.cc241 bool rollback_allowed, in Update() argument
276 rollback_allowed, in Update()
349 bool rollback_allowed, in CalculateUpdateParams() argument
366 omaha_request_params_->set_rollback_allowed(rollback_allowed); in CalculateUpdateParams()
419 << omaha_request_params_->rollback_allowed() in CalculateUpdateParams()
948 params.rollback_allowed, in OnUpdateScheduled()
Domaha_response_handler_action.cc143 if (!params->rollback_allowed()) { in PerformAction()
Dupdate_attempter_unittest.cc1258 EXPECT_TRUE(fake_system_state_.request_params()->rollback_allowed()); in TEST_F()
1267 EXPECT_FALSE(fake_system_state_.request_params()->rollback_allowed()); in TEST_F()
1336 .rollback_allowed = false}; in TEST_F()
1338 EXPECT_FALSE(fake_system_state_.request_params()->rollback_allowed()); in TEST_F()
1343 .rollback_allowed = true}; in TEST_F()
1345 EXPECT_TRUE(fake_system_state_.request_params()->rollback_allowed()); in TEST_F()
Dmetrics_reporter_omaha.cc231 if (system_state->request_params()->rollback_allowed()) { in ReportUpdateCheckMetrics()
Domaha_request_action_unittest.cc2011 bool rollback_allowed = i / 2 == 0; in TEST_F() local
2018 request_params_.set_rollback_allowed(rollback_allowed); in TEST_F()
2031 if (rollback_allowed && target_version_set) { in TEST_F()
Domaha_request_action.cc169 if (params->rollback_allowed()) { in GetAppBody()