Home
last modified time | relevance | path

Searched refs:kPrefsAttemptInProgress (Results 1 – 4 of 4) sorted by relevance

/system/update_engine/common/
Dconstants.cc34 const char kPrefsAttemptInProgress[] = "attempt-in-progress"; variable
Dconstants.h43 extern const char kPrefsAttemptInProgress[];
/system/update_engine/cros/
Dpayload_state_unittest.cc1163 EXPECT_CALL(*prefs, GetBoolean(kPrefsAttemptInProgress, _)); in TEST_F()
1186 fake_prefs->SetBoolean(kPrefsAttemptInProgress, true); in TEST_F()
1196 EXPECT_FALSE(fake_prefs->Exists(kPrefsAttemptInProgress)); in TEST_F()
1215 EXPECT_FALSE(fake_prefs->Exists(kPrefsAttemptInProgress)); in TEST_F()
1220 EXPECT_TRUE(fake_prefs->Exists(kPrefsAttemptInProgress)); in TEST_F()
1225 EXPECT_FALSE(fake_prefs->Exists(kPrefsAttemptInProgress)); in TEST_F()
Dpayload_state.cc707 prefs_->SetBoolean(kPrefsAttemptInProgress, true); in PersistAttemptMetrics()
711 prefs_->Delete(kPrefsAttemptInProgress); in ClearPersistedAttemptMetrics()
716 if (!prefs_->GetBoolean(kPrefsAttemptInProgress, &attempt_in_progress)) in ReportAndClearPersistedAttemptMetrics()