Home
last modified time | relevance | path

Searched refs:kPrefsPreviousVersion (Results 1 – 7 of 7) sorted by relevance

/system/update_engine/aosp/
Dupdate_attempter_android_unittest.cc82 prefs_.SetString(kPrefsPreviousVersion, build_version); in TEST_F()
106 prefs_.SetString(kPrefsPreviousVersion, "00001"); // Set the fake version in TEST_F()
132 prefs_.SetString(kPrefsPreviousVersion, "56789"); in TEST_F()
Dupdate_attempter_android.cc851 prefs_->GetString(kPrefsPreviousVersion, &build_version); in CollectAndReportUpdateMetricsOnUpdateFinished()
897 if (!prefs_->Exists(kPrefsPreviousVersion)) { in UpdatePrefsAndReportUpdateMetricsOnReboot()
899 prefs_->SetString(kPrefsPreviousVersion, current_version); in UpdatePrefsAndReportUpdateMetricsOnReboot()
910 if (prefs_->GetString(kPrefsPreviousVersion, &previous_version) && in UpdatePrefsAndReportUpdateMetricsOnReboot()
930 prefs_->SetString(kPrefsPreviousVersion, current_version); in UpdatePrefsAndReportUpdateMetricsOnReboot()
/system/update_engine/common/
Dconstants.cc76 const char kPrefsPreviousVersion[] = "previous-version"; variable
Dconstants.h78 extern const char kPrefsPreviousVersion[];
/system/update_engine/cros/
Domaha_request_builder_xml.cc176 if (!prefs->GetString(kPrefsPreviousVersion, &prev_version)) { in GetAppBody()
189 LOG_IF(WARNING, !prefs->SetString(kPrefsPreviousVersion, "")) in GetAppBody()
Dupdate_attempter.cc1129 prefs_->SetString(kPrefsPreviousVersion, in ProcessingDoneInternal()
1438 ret_value = prefs_->SetString(kPrefsPreviousVersion, "") && ret_value; in ResetStatus()
1713 if (!prefs_->GetString(kPrefsPreviousVersion, &prev_version_)) { in UpdateEngineStarted()
Domaha_request_action_unittest.cc1698 EXPECT_CALL(prefs, GetString(kPrefsPreviousVersion, _)) in TEST_F()
1702 EXPECT_CALL(prefs, SetString(kPrefsPreviousVersion, _)).Times(0); in TEST_F()
2325 fake_prefs_->SetString(kPrefsPreviousVersion, ""); in TEST_F()
2342 fake_prefs_->SetString(kPrefsPreviousVersion, ""); in TEST_F()
2364 fake_prefs_->SetString(kPrefsPreviousVersion, "1.2.3.4"); in TEST_F()
2381 EXPECT_TRUE(fake_prefs_->Exists(kPrefsPreviousVersion)); in TEST_F()
2383 EXPECT_TRUE(fake_prefs_->GetString(kPrefsPreviousVersion, &prev_version)); in TEST_F()