Home
last modified time | relevance | path

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

/system/update_engine/
Dupdate_attempter_android_unittest.cc81 prefs_.SetString(kPrefsPreviousVersion, build_version); in TEST_F()
103 prefs_.SetString(kPrefsPreviousVersion, "00001"); // Set the fake version in TEST_F()
129 prefs_.SetString(kPrefsPreviousVersion, "56789"); in TEST_F()
Domaha_request_builder_xml.cc169 if (!prefs_->GetString(kPrefsPreviousVersion, &prev_version)) { in GetAppBody()
182 LOG_IF(WARNING, !prefs_->SetString(kPrefsPreviousVersion, "")) in GetAppBody()
Dupdate_attempter_android.cc829 prefs_->GetString(kPrefsPreviousVersion, &build_version); in CollectAndReportUpdateMetricsOnUpdateFinished()
874 if (!prefs_->Exists(kPrefsPreviousVersion)) { in UpdatePrefsAndReportUpdateMetricsOnReboot()
876 prefs_->SetString(kPrefsPreviousVersion, current_version); in UpdatePrefsAndReportUpdateMetricsOnReboot()
883 if (prefs_->GetString(kPrefsPreviousVersion, &previous_version) && in UpdatePrefsAndReportUpdateMetricsOnReboot()
903 prefs_->SetString(kPrefsPreviousVersion, current_version); in UpdatePrefsAndReportUpdateMetricsOnReboot()
Dupdate_attempter.cc1182 prefs_->SetString(kPrefsPreviousVersion, in ProcessingDoneInternal()
1484 ret_value = prefs_->SetString(kPrefsPreviousVersion, "") && ret_value; in ResetStatus()
1760 if (!prefs_->GetString(kPrefsPreviousVersion, &prev_version_)) { in UpdateEngineStarted()
Domaha_request_action_unittest.cc1591 EXPECT_CALL(prefs, GetString(kPrefsPreviousVersion, _)) in TEST_F()
1595 EXPECT_CALL(prefs, SetString(kPrefsPreviousVersion, _)).Times(0); in TEST_F()
2210 fake_prefs_.SetString(kPrefsPreviousVersion, ""); in TEST_F()
2227 fake_prefs_.SetString(kPrefsPreviousVersion, ""); in TEST_F()
2249 fake_prefs_.SetString(kPrefsPreviousVersion, "1.2.3.4"); in TEST_F()
2266 EXPECT_TRUE(fake_prefs_.Exists(kPrefsPreviousVersion)); in TEST_F()
2268 EXPECT_TRUE(fake_prefs_.GetString(kPrefsPreviousVersion, &prev_version)); in TEST_F()
/system/update_engine/common/
Dconstants.cc73 const char kPrefsPreviousVersion[] = "previous-version"; variable
Dconstants.h74 extern const char kPrefsPreviousVersion[];