Home
last modified time | relevance | path

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

/system/update_engine/
Dpayload_state.h147 enum class AttemptType { enum
162 void AttemptStarted(AttemptType attempt_type);
571 AttemptType attempt_type_;
Dpayload_state.cc73 attempt_type_(AttemptType::kUpdate) { in PayloadState()
190 void PayloadState::AttemptStarted(AttemptType attempt_type) { in AttemptStarted()
215 if (attempt_type == AttemptType::kUpdate) in AttemptStarted()
222 AttemptStarted(AttemptType::kUpdate); in UpdateResumed()
229 AttemptStarted(AttemptType::kUpdate); in UpdateRestarted()
238 case AttemptType::kUpdate: in UpdateSucceeded()
244 case AttemptType::kRollback: in UpdateSucceeded()
272 case AttemptType::kUpdate: in UpdateFailed()
277 case AttemptType::kRollback: in UpdateFailed()
447 AttemptStarted(AttemptType::kRollback); in Rollback()