Home
last modified time | relevance | path

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

/system/update_engine/
Dupdate_attempter_android_unittest.cc83 prefs_.SetInt64(kPrefsNumReboots, 1); in TEST_F()
96 EXPECT_TRUE(prefs_.Exists(kPrefsNumReboots)); in TEST_F()
98 EXPECT_TRUE(prefs_.GetInt64(kPrefsNumReboots, &reboot_count)); in TEST_F()
119 EXPECT_FALSE(prefs_.Exists(kPrefsNumReboots)); in TEST_F()
127 prefs_.SetInt64(kPrefsNumReboots, 3); in TEST_F()
162 EXPECT_FALSE(prefs_.Exists(kPrefsNumReboots)); in TEST_F()
Dupdate_attempter_android.cc827 metrics_utils::GetPersistedValue(kPrefsNumReboots, prefs_); in CollectAndReportUpdateMetricsOnUpdateFinished()
891 if (is_reboot && prefs_->Exists(kPrefsNumReboots)) { in UpdatePrefsAndReportUpdateMetricsOnReboot()
894 metrics_utils::GetPersistedValue(kPrefsNumReboots, prefs_); in UpdatePrefsAndReportUpdateMetricsOnReboot()
939 prefs_->Delete(kPrefsNumReboots); in ClearMetricsPrefs()
Dpayload_state_unittest.cc134 EXPECT_CALL(*prefs, SetInt64(kPrefsNumReboots, 0)).Times(AtLeast(1)); in TEST()
177 EXPECT_CALL(*prefs, SetInt64(kPrefsNumReboots, 0)).Times(AtLeast(1)); in TEST()
225 EXPECT_CALL(*prefs, SetInt64(kPrefsNumReboots, 0)).Times(AtLeast(1)); in TEST()
269 EXPECT_CALL(*prefs, SetInt64(kPrefsNumReboots, _)).Times(AtLeast(1)); in TEST()
401 EXPECT_CALL(*prefs, SetInt64(kPrefsNumReboots, 0)).Times(AtLeast(1)); in TEST()
959 EXPECT_CALL(*prefs, SetInt64(kPrefsNumReboots, 1)).Times(AtLeast(1)); in TEST()
Dmetrics_utils.cc356 prefs->SetInt64(kPrefsNumReboots, num_reboots); in SetNumReboots()
Dpayload_state.cc1124 SetNumReboots(GetPersistedValue(kPrefsNumReboots, prefs_)); in LoadNumReboots()
/system/update_engine/common/
Dconstants.cc57 const char kPrefsNumReboots[] = "num-reboots"; variable
Dconstants.h60 extern const char kPrefsNumReboots[];