Home
last modified time | relevance | path

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

/system/update_engine/common/
Dconstants.cc30 const char kPrefsAttemptInProgress[] = "attempt-in-progress"; variable
Dconstants.h35 extern const char kPrefsAttemptInProgress[];
/system/update_engine/
Dpayload_state_unittest.cc1151 EXPECT_CALL(*prefs, GetBoolean(kPrefsAttemptInProgress, _)); in TEST()
1185 fake_prefs.SetBoolean(kPrefsAttemptInProgress, true); in TEST()
1196 EXPECT_FALSE(fake_prefs.Exists(kPrefsAttemptInProgress)); in TEST()
1221 EXPECT_FALSE(fake_prefs.Exists(kPrefsAttemptInProgress)); in TEST()
1226 EXPECT_TRUE(fake_prefs.Exists(kPrefsAttemptInProgress)); in TEST()
1231 EXPECT_FALSE(fake_prefs.Exists(kPrefsAttemptInProgress)); in TEST()
Dpayload_state.cc646 prefs_->SetBoolean(kPrefsAttemptInProgress, true); in PersistAttemptMetrics()
650 prefs_->Delete(kPrefsAttemptInProgress); in ClearPersistedAttemptMetrics()
655 if (!prefs_->GetBoolean(kPrefsAttemptInProgress, &attempt_in_progress)) in ReportAndClearPersistedAttemptMetrics()