Home | History | Annotate | Download | only in update_engine

Lines Matching refs:fake_prefs

40 #include "update_engine/common/fake_prefs.h"
262 FakePrefs fake_prefs;
265 fake_prefs.SetString(kPrefsUpdateCompletedOnBootId, boot_id);
266 fake_system_state_.set_prefs(&fake_prefs);
777 FakePrefs fake_prefs;
778 attempter_.prefs_ = &fake_prefs;
782 EXPECT_TRUE(fake_prefs.SetInt64(kPrefsUpdateCheckCount, initial_value));
801 EXPECT_TRUE(fake_prefs.Exists(kPrefsUpdateCheckCount));
804 EXPECT_TRUE(fake_prefs.GetInt64(kPrefsUpdateCheckCount, &new_value));
812 EXPECT_TRUE(fake_prefs.SetInt64(kPrefsUpdateCheckCount, initial_value));
814 fake_prefs.Exists(kPrefsUpdateCheckCount));
815 EXPECT_TRUE(fake_prefs.GetInt64(kPrefsUpdateCheckCount, &new_value));
832 FakePrefs fake_prefs;
833 attempter_.prefs_ = &fake_prefs;
836 fake_system_state_.set_prefs(&fake_prefs);
838 EXPECT_TRUE(fake_prefs.SetInt64(kPrefsWallClockWaitPeriod, initial_value));
839 EXPECT_TRUE(fake_prefs.SetInt64(kPrefsUpdateCheckCount, initial_value));
864 EXPECT_FALSE(fake_prefs.Exists(kPrefsWallClockWaitPeriod));
868 EXPECT_FALSE(fake_prefs.Exists(kPrefsUpdateCheckCount));
876 FakePrefs fake_prefs;
879 fake_system_state_.set_prefs(&fake_prefs);
944 FakePrefs fake_prefs;
945 fake_system_state_.set_prefs(&fake_prefs);