Home
last modified time | relevance | path

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

/system/update_engine/cros/
Dpayload_state.h148 enum class AttemptType { enum
169 void AttemptStarted(AttemptType attempt_type);
585 AttemptType attempt_type_;
Dpayload_state.cc76 attempt_type_(AttemptType::kUpdate) { in PayloadState()
193 void PayloadState::AttemptStarted(AttemptType attempt_type) { in AttemptStarted()
218 if (attempt_type == AttemptType::kUpdate) in AttemptStarted()
225 AttemptStarted(AttemptType::kUpdate); in UpdateResumed()
232 AttemptStarted(AttemptType::kUpdate); in UpdateRestarted()
241 case AttemptType::kUpdate: in UpdateSucceeded()
247 case AttemptType::kRollback: in UpdateSucceeded()
275 case AttemptType::kUpdate: in UpdateFailed()
280 case AttemptType::kRollback: in UpdateFailed()
457 AttemptStarted(AttemptType::kRollback); in Rollback()