• Home
  • Raw
  • Download

Lines Matching refs:fake_prefs

232     prefs_ = FakeSystemState::Get()->fake_prefs();  in SetUp()
616 FakeSystemState::Get()->fake_prefs()->SetString(kPrefsUpdateCompletedOnBootId, in TEST_F()
1100 auto* fake_prefs = FakeSystemState::Get()->fake_prefs(); in DecrementUpdateCheckCountTestStart() local
1103 EXPECT_TRUE(fake_prefs->SetInt64(kPrefsUpdateCheckCount, initial_value)); in DecrementUpdateCheckCountTestStart()
1122 EXPECT_TRUE(fake_prefs->Exists(kPrefsUpdateCheckCount)); in DecrementUpdateCheckCountTestStart()
1125 EXPECT_TRUE(fake_prefs->GetInt64(kPrefsUpdateCheckCount, &new_value)); in DecrementUpdateCheckCountTestStart()
1133 EXPECT_TRUE(fake_prefs->SetInt64(kPrefsUpdateCheckCount, initial_value)); in DecrementUpdateCheckCountTestStart()
1135 EXPECT_TRUE(fake_prefs->Exists(kPrefsUpdateCheckCount)); in DecrementUpdateCheckCountTestStart()
1136 EXPECT_TRUE(fake_prefs->GetInt64(kPrefsUpdateCheckCount, &new_value)); in DecrementUpdateCheckCountTestStart()
1155 auto* fake_prefs = FakeSystemState::Get()->fake_prefs(); in NoScatteringDoneDuringManualUpdateTestStart() local
1159 fake_prefs->SetInt64(kPrefsWallClockScatteringWaitPeriod, initial_value)); in NoScatteringDoneDuringManualUpdateTestStart()
1160 EXPECT_TRUE(fake_prefs->SetInt64(kPrefsUpdateCheckCount, initial_value)); in NoScatteringDoneDuringManualUpdateTestStart()
1185 EXPECT_FALSE(fake_prefs->Exists(kPrefsWallClockScatteringWaitPeriod)); in NoScatteringDoneDuringManualUpdateTestStart()
1189 EXPECT_FALSE(fake_prefs->Exists(kPrefsUpdateCheckCount)); in NoScatteringDoneDuringManualUpdateTestStart()
1226 auto* fake_prefs = FakeSystemState::Get()->fake_prefs(); in StagingSetsPrefsAndTurnsOffScatteringStart() local
1229 EXPECT_TRUE(fake_prefs->GetInt64(kPrefsUpdateCheckCount, &update_count)); in StagingSetsPrefsAndTurnsOffScatteringStart()
1231 EXPECT_TRUE(fake_prefs->GetInt64(kPrefsWallClockStagingWaitPeriod, in StagingSetsPrefsAndTurnsOffScatteringStart()
1248 EXPECT_FALSE(fake_prefs->Exists(kPrefsWallClockScatteringWaitPeriod)); in StagingSetsPrefsAndTurnsOffScatteringStart()
1931 FakeSystemState::Get()->fake_prefs()->SetInt64( in TEST_F()
1956 FakeSystemState::Get()->fake_prefs()->SetInt64( in TEST_F()
2453 FakePrefs fake_prefs; in TEST_F() local
2454 EXPECT_TRUE(fake_prefs.SetString(key2, "current-rollcall")); in TEST_F()
2455 FakeSystemState::Get()->set_prefs(&fake_prefs); in TEST_F()
2466 fake_prefs.GetString(key1, &pref_value_1); in TEST_F()
2470 fake_prefs.GetString(key2, &pref_value_2); in TEST_F()