Home
last modified time | relevance | path

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

/system/update_engine/aosp/
Dupdate_attempter_android_unittest.cc102 prefs_.SetInt64(kPrefsNumReboots, 1); in TEST_F()
117 ASSERT_TRUE(prefs_.Exists(kPrefsNumReboots)); in TEST_F()
119 ASSERT_TRUE(prefs_.GetInt64(kPrefsNumReboots, &reboot_count)); in TEST_F()
141 EXPECT_FALSE(prefs_.Exists(kPrefsNumReboots)); in TEST_F()
149 prefs_.SetInt64(kPrefsNumReboots, 3); in TEST_F()
183 EXPECT_FALSE(prefs_.Exists(kPrefsNumReboots)); in TEST_F()
Dupdate_attempter_android.cc1014 metrics_utils::GetPersistedValue(kPrefsNumReboots, prefs_); in CollectAndReportUpdateMetricsOnUpdateFinished()
1131 if (prefs_->Exists(kPrefsNumReboots)) { in UpdateStateAfterReboot()
1133 metrics_utils::GetPersistedValue(kPrefsNumReboots, prefs_); in UpdateStateAfterReboot()
1190 prefs_->Delete(kPrefsNumReboots); in ClearMetricsPrefs()
/system/update_engine/common/
Dconstants.h75 static constexpr const auto& kPrefsNumReboots = "num-reboots"; variable
/system/update_engine/
Dmetrics_utils.cc323 prefs->SetInt64(kPrefsNumReboots, num_reboots); in SetNumReboots()