Searched refs:fake_prefs (Results 1 – 5 of 5) 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()777 FakePrefs fake_prefs; in DecrementUpdateCheckCountTestStart() local778 attempter_.prefs_ = &fake_prefs; in DecrementUpdateCheckCountTestStart()782 EXPECT_TRUE(fake_prefs.SetInt64(kPrefsUpdateCheckCount, initial_value)); in DecrementUpdateCheckCountTestStart()801 EXPECT_TRUE(fake_prefs.Exists(kPrefsUpdateCheckCount)); in DecrementUpdateCheckCountTestStart()804 EXPECT_TRUE(fake_prefs.GetInt64(kPrefsUpdateCheckCount, &new_value)); in DecrementUpdateCheckCountTestStart()812 EXPECT_TRUE(fake_prefs.SetInt64(kPrefsUpdateCheckCount, initial_value)); in DecrementUpdateCheckCountTestStart()814 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 …]
85 FakePrefs fake_prefs; in TEST() local88 fake_system_state.set_prefs(&fake_prefs); in TEST()
487 'common/fake_prefs.cc',
907 common/fake_prefs.cc \