Searched refs:kPrefsNumReboots (Results 1 – 4 of 4) sorted by relevance
102 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()
1014 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()
75 static constexpr const auto& kPrefsNumReboots = "num-reboots"; variable
323 prefs->SetInt64(kPrefsNumReboots, num_reboots); in SetNumReboots()