Home
last modified time | relevance | path

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

/system/update_engine/
Dmock_metrics_reporter.h35 void(bool success, const std::string& rollback_version));
Dmetrics_reporter_interface.h59 bool success, const std::string& rollback_version) = 0;
Dmetrics_reporter_stub.h39 bool success, const std::string& rollback_version) override {} in ReportEnterpriseRollbackMetrics() argument
Dmetrics_reporter_android.h39 bool success, const std::string& rollback_version) override {} in ReportEnterpriseRollbackMetrics() argument
Dpayload_state.cc1120 string rollback_version; in LoadRollbackVersion() local
1122 &rollback_version)) { in LoadRollbackVersion()
1123 SetRollbackVersion(rollback_version); in LoadRollbackVersion()
1127 void PayloadState::SetRollbackVersion(const string& rollback_version) { in SetRollbackVersion() argument
1129 LOG(INFO) << "Blacklisting version " << rollback_version; in SetRollbackVersion()
1130 rollback_version_ = rollback_version; in SetRollbackVersion()
1131 powerwash_safe_prefs_->SetString(kPrefsRollbackVersion, rollback_version); in SetRollbackVersion()
Dmetrics_reporter_omaha.h116 bool success, const std::string& rollback_version) override;
Dpayload_state_unittest.cc1021 string rollback_version = "2345.0.0"; in TEST() local
1023 params.Init(rollback_version, "", false); in TEST()
1027 SetString(kPrefsRollbackVersion, rollback_version)); in TEST()
1030 EXPECT_EQ(rollback_version, payload_state.GetRollbackVersion()); in TEST()
1033 rollback_version = "2345.0.1"; in TEST()
1036 .WillOnce(DoAll(SetArgPointee<1>(rollback_version), Return(true))); in TEST()
1038 SetString(kPrefsRollbackVersion, rollback_version)); in TEST()
1040 EXPECT_EQ(rollback_version, payload_state.GetRollbackVersion()); in TEST()
Dmetrics_reporter_omaha.cc532 bool success, const string& rollback_version) { in ReportEnterpriseRollbackMetrics() argument
533 int value = utils::VersionPrefix(rollback_version); in ReportEnterpriseRollbackMetrics()
Dpayload_state.h363 void SetRollbackVersion(const std::string& rollback_version);
Domaha_request_action.cc1760 string rollback_version = in ShouldIgnoreUpdate() local
1762 if (!rollback_version.empty()) { in ShouldIgnoreUpdate()
1763 LOG(INFO) << "Detected previous rollback from version " << rollback_version; in ShouldIgnoreUpdate()
1764 if (rollback_version == response.version) { in ShouldIgnoreUpdate()
Domaha_request_action_unittest.cc1061 string rollback_version = "1234.0.0"; in TEST_F() local
1068 .WillRepeatedly(Return(rollback_version)); in TEST_F()
1070 fake_update_response_.version = rollback_version; in TEST_F()