Searched refs:kPrefsNumReboots (Results 1 – 7 of 7) sorted by relevance
/system/update_engine/ |
D | update_attempter_android_unittest.cc | 83 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()
|
D | update_attempter_android.cc | 827 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()
|
D | payload_state_unittest.cc | 134 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()
|
D | metrics_utils.cc | 356 prefs->SetInt64(kPrefsNumReboots, num_reboots); in SetNumReboots()
|
D | payload_state.cc | 1124 SetNumReboots(GetPersistedValue(kPrefsNumReboots, prefs_)); in LoadNumReboots()
|
/system/update_engine/common/ |
D | constants.cc | 57 const char kPrefsNumReboots[] = "num-reboots"; variable
|
D | constants.h | 60 extern const char kPrefsNumReboots[];
|