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_android.h37 bool success, const std::string& rollback_version) override {} in ReportEnterpriseRollbackMetrics() argument
Dmetrics_reporter_stub.h37 bool success, const std::string& rollback_version) override {} in ReportEnterpriseRollbackMetrics() argument
Dmetrics_reporter_interface.h57 bool success, const std::string& rollback_version) = 0;
Dpayload_state.cc1148 string rollback_version; in LoadRollbackVersion() local
1150 &rollback_version)) { in LoadRollbackVersion()
1151 SetRollbackVersion(rollback_version); in LoadRollbackVersion()
1155 void PayloadState::SetRollbackVersion(const string& rollback_version) { in SetRollbackVersion() argument
1157 LOG(INFO) << "Excluding version " << rollback_version; in SetRollbackVersion()
1158 rollback_version_ = rollback_version; in SetRollbackVersion()
1159 powerwash_safe_prefs_->SetString(kPrefsRollbackVersion, rollback_version); in SetRollbackVersion()
Dmetrics_reporter_omaha.h114 bool success, const std::string& rollback_version) override;
Dpayload_state_unittest.cc1020 string rollback_version = "2345.0.0"; in TEST() local
1022 params.Init(rollback_version, "", false); in TEST()
1031 SetString(kPrefsRollbackVersion, rollback_version)); in TEST()
1034 EXPECT_EQ(rollback_version, payload_state.GetRollbackVersion()); in TEST()
1037 rollback_version = "2345.0.1"; in TEST()
1040 .WillOnce(DoAll(SetArgPointee<1>(rollback_version), Return(true))); in TEST()
1042 SetString(kPrefsRollbackVersion, rollback_version)); in TEST()
1044 EXPECT_EQ(rollback_version, payload_state.GetRollbackVersion()); in TEST()
Dmetrics_reporter_omaha.cc528 bool success, const string& rollback_version) { in ReportEnterpriseRollbackMetrics() argument
529 int value = utils::VersionPrefix(rollback_version); in ReportEnterpriseRollbackMetrics()
Dpayload_state.h374 void SetRollbackVersion(const std::string& rollback_version);
Domaha_request_action.cc1493 string rollback_version = in ShouldIgnoreUpdate() local
1495 if (!rollback_version.empty()) { in ShouldIgnoreUpdate()
1496 LOG(INFO) << "Detected previous rollback from version " << rollback_version; in ShouldIgnoreUpdate()
1497 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()
989 string rollback_version = "1234.0.0"; in TEST_F() local
992 fake_update_response_.version = rollback_version; in TEST_F()
998 .WillRepeatedly(Return(rollback_version)); in TEST_F()