Searched refs:powerwash_safe_prefs (Results 1 – 6 of 6) sorted by relevance
88 inline PrefsInterface* powerwash_safe_prefs() override { in powerwash_safe_prefs() function149 inline void set_powerwash_safe_prefs(PrefsInterface* powerwash_safe_prefs) { in set_powerwash_safe_prefs() argument151 (powerwash_safe_prefs ? powerwash_safe_prefs in set_powerwash_safe_prefs()
87 PrefsInterface* powerwash_safe_prefs() override { in powerwash_safe_prefs() function
1728 auto* powerwash_safe_prefs = SystemState::Get()->powerwash_safe_prefs(); in MoveToPrefs() local1731 if (!prefs_->Exists(key) && powerwash_safe_prefs->Exists(key)) { in MoveToPrefs()1733 if (!powerwash_safe_prefs->GetString(key, &value) || in MoveToPrefs()1740 powerwash_safe_prefs->Delete(key); in MoveToPrefs()
2457 FakePrefs powerwash_safe_prefs; in TEST_F() local2458 EXPECT_TRUE(powerwash_safe_prefs.SetString(key1, "powerwash-last-active")); in TEST_F()2459 EXPECT_TRUE(powerwash_safe_prefs.SetString(key2, "powerwash-last-rollcall")); in TEST_F()2460 FakeSystemState::Get()->set_powerwash_safe_prefs(&powerwash_safe_prefs); in TEST_F()2475 EXPECT_FALSE(FakeSystemState::Get()->powerwash_safe_prefs()->Exists(key1)); in TEST_F()2476 EXPECT_FALSE(FakeSystemState::Get()->powerwash_safe_prefs()->Exists(key2)); in TEST_F()
83 powerwash_safe_prefs_ = SystemState::Get()->powerwash_safe_prefs(); in Initialize()
94 virtual PrefsInterface* powerwash_safe_prefs() = 0;