Searched refs:kPrefsPreviousVersion (Results 1 – 7 of 7) sorted by relevance
/system/update_engine/ |
D | update_attempter_android_unittest.cc | 81 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()
|
D | omaha_request_builder_xml.cc | 169 if (!prefs_->GetString(kPrefsPreviousVersion, &prev_version)) { in GetAppBody() 182 LOG_IF(WARNING, !prefs_->SetString(kPrefsPreviousVersion, "")) in GetAppBody()
|
D | update_attempter_android.cc | 829 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()
|
D | update_attempter.cc | 1182 prefs_->SetString(kPrefsPreviousVersion, in ProcessingDoneInternal() 1484 ret_value = prefs_->SetString(kPrefsPreviousVersion, "") && ret_value; in ResetStatus() 1760 if (!prefs_->GetString(kPrefsPreviousVersion, &prev_version_)) { in UpdateEngineStarted()
|
D | omaha_request_action_unittest.cc | 1591 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/ |
D | constants.cc | 73 const char kPrefsPreviousVersion[] = "previous-version"; variable
|
D | constants.h | 74 extern const char kPrefsPreviousVersion[];
|