Home
last modified time | relevance | path

Searched refs:AttemptType (Results 1 – 2 of 2) sorted by relevance

/system/update_engine/
Dpayload_state.h148 enum class AttemptType { enum
167 void AttemptStarted(AttemptType attempt_type);
587 AttemptType attempt_type_;
Dpayload_state.cc76 attempt_type_(AttemptType::kUpdate) { in PayloadState()
194 void PayloadState::AttemptStarted(AttemptType attempt_type) { in AttemptStarted()
219 if (attempt_type == AttemptType::kUpdate) in AttemptStarted()
226 AttemptStarted(AttemptType::kUpdate); in UpdateResumed()
233 AttemptStarted(AttemptType::kUpdate); in UpdateRestarted()
242 case AttemptType::kUpdate: in UpdateSucceeded()
248 case AttemptType::kRollback: in UpdateSucceeded()
276 case AttemptType::kUpdate: in UpdateFailed()
281 case AttemptType::kRollback: in UpdateFailed()
457 AttemptStarted(AttemptType::kRollback); in Rollback()