Searched refs:kPrefsNumReboots (Results 1 – 7 of 7) sorted by relevance
/system/update_engine/aosp/ |
D | update_attempter_android_unittest.cc | 84 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()
|
D | update_attempter_android.cc | 849 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/ |
D | constants.cc | 57 const char kPrefsNumReboots[] = "num-reboots"; variable
|
D | constants.h | 62 extern const char kPrefsNumReboots[];
|
/system/update_engine/cros/ |
D | payload_state_unittest.cc | 138 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()
|
D | payload_state.cc | 1112 SetNumReboots(GetPersistedValue(kPrefsNumReboots, prefs_)); in LoadNumReboots()
|
/system/update_engine/ |
D | metrics_utils.cc | 317 prefs->SetInt64(kPrefsNumReboots, num_reboots); in SetNumReboots()
|