Searched refs:kPrefsPreviousVersion (Results 1 – 7 of 7) sorted by relevance
/system/update_engine/aosp/ |
D | update_attempter_android_unittest.cc | 82 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()
|
D | update_attempter_android.cc | 851 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/ |
D | constants.cc | 76 const char kPrefsPreviousVersion[] = "previous-version"; variable
|
D | constants.h | 78 extern const char kPrefsPreviousVersion[];
|
/system/update_engine/cros/ |
D | omaha_request_builder_xml.cc | 176 if (!prefs->GetString(kPrefsPreviousVersion, &prev_version)) { in GetAppBody() 189 LOG_IF(WARNING, !prefs->SetString(kPrefsPreviousVersion, "")) in GetAppBody()
|
D | update_attempter.cc | 1129 prefs_->SetString(kPrefsPreviousVersion, in ProcessingDoneInternal() 1438 ret_value = prefs_->SetString(kPrefsPreviousVersion, "") && ret_value; in ResetStatus() 1713 if (!prefs_->GetString(kPrefsPreviousVersion, &prev_version_)) { in UpdateEngineStarted()
|
D | omaha_request_action_unittest.cc | 1698 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()
|