Home
last modified time | relevance | path

Searched refs:rollback_version (Results 1 – 11 of 11) sorted by relevance

/system/update_engine/common/
Dmock_metrics_reporter.h35 void(bool success, const std::string& rollback_version));
Dmetrics_reporter_stub.h37 bool success, const std::string& rollback_version) override {} in ReportEnterpriseRollbackMetrics() argument
Dmetrics_reporter_interface.h52 bool success, const std::string& rollback_version) = 0;
/system/update_engine/aosp/
Dmetrics_reporter_android.h42 bool success, const std::string& rollback_version) override {} in ReportEnterpriseRollbackMetrics() argument
/system/update_engine/cros/
Dpayload_state.cc1133 string rollback_version; in LoadRollbackVersion() local
1135 &rollback_version)) { in LoadRollbackVersion()
1136 SetRollbackVersion(rollback_version); in LoadRollbackVersion()
1140 void PayloadState::SetRollbackVersion(const string& rollback_version) { in SetRollbackVersion() argument
1141 LOG(INFO) << "Excluding version " << rollback_version; in SetRollbackVersion()
1142 rollback_version_ = rollback_version; in SetRollbackVersion()
1143 powerwash_safe_prefs_->SetString(kPrefsRollbackVersion, rollback_version); in SetRollbackVersion()
Dmetrics_reporter_omaha.h114 bool success, const std::string& rollback_version) override;
Dpayload_state_unittest.cc1011 string rollback_version = "2345.0.0"; in TEST_F() local
1013 params.Init(rollback_version, "", {}); in TEST_F()
1023 SetString(kPrefsRollbackVersion, rollback_version)); in TEST_F()
1026 EXPECT_EQ(rollback_version, payload_state.GetRollbackVersion()); in TEST_F()
1029 rollback_version = "2345.0.1"; in TEST_F()
1032 .WillOnce(DoAll(SetArgPointee<1>(rollback_version), Return(true))); in TEST_F()
1034 SetString(kPrefsRollbackVersion, rollback_version)); in TEST_F()
1036 EXPECT_EQ(rollback_version, payload_state.GetRollbackVersion()); in TEST_F()
Dmetrics_reporter_omaha.cc463 bool success, const string& rollback_version) { in ReportEnterpriseRollbackMetrics() argument
464 int value = utils::VersionPrefix(rollback_version); in ReportEnterpriseRollbackMetrics()
Dpayload_state.h376 void SetRollbackVersion(const std::string& rollback_version);
Domaha_request_action.cc1544 string rollback_version = in ShouldIgnoreUpdate() local
1547 if (!rollback_version.empty()) { in ShouldIgnoreUpdate()
1548 LOG(INFO) << "Detected previous rollback from version " << rollback_version; in ShouldIgnoreUpdate()
1549 if (rollback_version == response.version) { in ShouldIgnoreUpdate()
Domaha_request_action_unittest.cc100 const string rollback_version = in GetRollbackVersionAttributes() local
105 return (rollback ? " _rollback=\"true\"" : "") + rollback_version + in GetRollbackVersionAttributes()
987 string rollback_version = "1234.0.0"; in TEST_F() local
990 fake_update_response_.version = rollback_version; in TEST_F()
996 .WillRepeatedly(Return(rollback_version)); in TEST_F()