Home
last modified time | relevance | path

Searched refs:powerwash_safe_prefs (Results 1 – 6 of 6) sorted by relevance

/system/update_engine/cros/
Dfake_system_state.h88 inline PrefsInterface* powerwash_safe_prefs() override { in powerwash_safe_prefs() function
149 inline void set_powerwash_safe_prefs(PrefsInterface* powerwash_safe_prefs) { in set_powerwash_safe_prefs() argument
151 (powerwash_safe_prefs ? powerwash_safe_prefs in set_powerwash_safe_prefs()
Dreal_system_state.h87 PrefsInterface* powerwash_safe_prefs() override { in powerwash_safe_prefs() function
Dupdate_attempter.cc1728 auto* powerwash_safe_prefs = SystemState::Get()->powerwash_safe_prefs(); in MoveToPrefs() local
1731 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()
Dupdate_attempter_unittest.cc2457 FakePrefs powerwash_safe_prefs; in TEST_F() local
2458 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()
Dpayload_state.cc83 powerwash_safe_prefs_ = SystemState::Get()->powerwash_safe_prefs(); in Initialize()
/system/update_engine/common/
Dsystem_state.h94 virtual PrefsInterface* powerwash_safe_prefs() = 0;