Searched refs:fake_prefs (Results 1 – 6 of 6) sorted by relevance
254 FakePrefs fake_prefs; in TEST_F() local257 fake_prefs.SetString(kPrefsUpdateCompletedOnBootId, boot_id); in TEST_F()258 fake_system_state_.set_prefs(&fake_prefs); in TEST_F()764 FakePrefs fake_prefs; in DecrementUpdateCheckCountTestStart() local765 attempter_.prefs_ = &fake_prefs; in DecrementUpdateCheckCountTestStart()769 EXPECT_TRUE(fake_prefs.SetInt64(kPrefsUpdateCheckCount, initial_value)); in DecrementUpdateCheckCountTestStart()788 EXPECT_TRUE(fake_prefs.Exists(kPrefsUpdateCheckCount)); in DecrementUpdateCheckCountTestStart()791 EXPECT_TRUE(fake_prefs.GetInt64(kPrefsUpdateCheckCount, &new_value)); in DecrementUpdateCheckCountTestStart()799 EXPECT_TRUE(fake_prefs.SetInt64(kPrefsUpdateCheckCount, initial_value)); in DecrementUpdateCheckCountTestStart()801 EXPECT_TRUE(fake_prefs.Exists(kPrefsUpdateCheckCount)); in DecrementUpdateCheckCountTestStart()[all …]
1053 FakePrefs fake_prefs; in TEST() local1061 fake_system_state.set_prefs(&fake_prefs); in TEST()1115 FakePrefs fake_prefs; in TEST() local1122 fake_system_state.set_prefs(&fake_prefs); in TEST()1131 EXPECT_TRUE(fake_prefs.Exists(kPrefsSystemUpdatedMarker)); in TEST()1151 EXPECT_FALSE(fake_prefs.Exists(kPrefsSystemUpdatedMarker)); in TEST()1198 FakePrefs fake_prefs; in TEST() local1202 fake_system_state.set_prefs(&fake_prefs); in TEST()1203 fake_prefs.SetBoolean(kPrefsAttemptInProgress, true); in TEST()1214 EXPECT_FALSE(fake_prefs.Exists(kPrefsAttemptInProgress)); in TEST()[all …]
137 FakePrefs fake_prefs; in TEST_F() local138 fake_system_state_.set_prefs(&fake_prefs); in TEST_F()145 fake_prefs.SetString(kPrefsOmahaEolStatus, "security-only"); in TEST_F()
85 FakePrefs fake_prefs; in TEST() local88 fake_system_state.set_prefs(&fake_prefs); in TEST()
494 'common/fake_prefs.cc',
928 common/fake_prefs.cc \