Home
last modified time | relevance | path

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

/system/update_engine/aosp/
Dupdate_attempter_android_unittest.cc84 prefs_.SetInt64(kPrefsNumReboots, 1); in TEST_F()
99 ASSERT_TRUE(prefs_.Exists(kPrefsNumReboots)); in TEST_F()
101 ASSERT_TRUE(prefs_.GetInt64(kPrefsNumReboots, &reboot_count)); in TEST_F()
122 EXPECT_FALSE(prefs_.Exists(kPrefsNumReboots)); in TEST_F()
130 prefs_.SetInt64(kPrefsNumReboots, 3); in TEST_F()
164 EXPECT_FALSE(prefs_.Exists(kPrefsNumReboots)); in TEST_F()
Dupdate_attempter_android.cc849 metrics_utils::GetPersistedValue(kPrefsNumReboots, prefs_); in CollectAndReportUpdateMetricsOnUpdateFinished()
918 if (is_reboot && prefs_->Exists(kPrefsNumReboots)) { in UpdatePrefsAndReportUpdateMetricsOnReboot()
921 metrics_utils::GetPersistedValue(kPrefsNumReboots, prefs_); in UpdatePrefsAndReportUpdateMetricsOnReboot()
968 prefs_->Delete(kPrefsNumReboots); in ClearMetricsPrefs()
/system/update_engine/common/
Dconstants.cc57 const char kPrefsNumReboots[] = "num-reboots"; variable
Dconstants.h62 extern const char kPrefsNumReboots[];
/system/update_engine/cros/
Dpayload_state_unittest.cc138 EXPECT_CALL(*prefs, SetInt64(kPrefsNumReboots, 0)).Times(AtLeast(1)); in TEST_F()
181 EXPECT_CALL(*prefs, SetInt64(kPrefsNumReboots, 0)).Times(AtLeast(1)); in TEST_F()
229 EXPECT_CALL(*prefs, SetInt64(kPrefsNumReboots, 0)).Times(AtLeast(1)); in TEST_F()
273 EXPECT_CALL(*prefs, SetInt64(kPrefsNumReboots, _)).Times(AtLeast(1)); in TEST_F()
404 EXPECT_CALL(*prefs, SetInt64(kPrefsNumReboots, 0)).Times(AtLeast(1)); in TEST_F()
952 EXPECT_CALL(*prefs, SetInt64(kPrefsNumReboots, 1)).Times(AtLeast(1)); in TEST_F()
Dpayload_state.cc1112 SetNumReboots(GetPersistedValue(kPrefsNumReboots, prefs_)); in LoadNumReboots()
/system/update_engine/
Dmetrics_utils.cc317 prefs->SetInt64(kPrefsNumReboots, num_reboots); in SetNumReboots()