Searched refs:fake_prefs (Results 1 – 6 of 6) sorted by relevance
262 FakePrefs fake_prefs; in TEST_F() local265 fake_prefs.SetString(kPrefsUpdateCompletedOnBootId, boot_id); in TEST_F()266 fake_system_state_.set_prefs(&fake_prefs); in TEST_F()773 FakePrefs fake_prefs; in DecrementUpdateCheckCountTestStart() local774 attempter_.prefs_ = &fake_prefs; in DecrementUpdateCheckCountTestStart()778 EXPECT_TRUE(fake_prefs.SetInt64(kPrefsUpdateCheckCount, initial_value)); in DecrementUpdateCheckCountTestStart()797 EXPECT_TRUE(fake_prefs.Exists(kPrefsUpdateCheckCount)); in DecrementUpdateCheckCountTestStart()800 EXPECT_TRUE(fake_prefs.GetInt64(kPrefsUpdateCheckCount, &new_value)); in DecrementUpdateCheckCountTestStart()808 EXPECT_TRUE(fake_prefs.SetInt64(kPrefsUpdateCheckCount, initial_value)); in DecrementUpdateCheckCountTestStart()810 EXPECT_TRUE(fake_prefs.Exists(kPrefsUpdateCheckCount)); in DecrementUpdateCheckCountTestStart()[all …]
1039 FakePrefs fake_prefs; in TEST() local1047 fake_system_state.set_prefs(&fake_prefs); in TEST()1098 FakePrefs fake_prefs; in TEST() local1105 fake_system_state.set_prefs(&fake_prefs); in TEST()1113 EXPECT_TRUE(fake_prefs.Exists(kPrefsSystemUpdatedMarker)); in TEST()1133 EXPECT_FALSE(fake_prefs.Exists(kPrefsSystemUpdatedMarker)); in TEST()1180 FakePrefs fake_prefs; in TEST() local1184 fake_system_state.set_prefs(&fake_prefs); in TEST()1185 fake_prefs.SetBoolean(kPrefsAttemptInProgress, true); in TEST()1196 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()
502 'common/fake_prefs.cc',
946 common/fake_prefs.cc \