Home
last modified time | relevance | path

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

/system/update_engine/
Dpayload_state.h155 enum class AttemptType { enum
169 void AttemptStarted(AttemptType attempt_type);
570 AttemptType attempt_type_;
Dpayload_state.cc66 attempt_type_(AttemptType::kUpdate) { in PayloadState()
177 void PayloadState::AttemptStarted(AttemptType attempt_type) { in AttemptStarted()
202 if (attempt_type == AttemptType::kUpdate) in AttemptStarted()
209 AttemptStarted(AttemptType::kUpdate); in UpdateResumed()
216 AttemptStarted(AttemptType::kUpdate); in UpdateRestarted()
225 case AttemptType::kUpdate: in UpdateSucceeded()
231 case AttemptType::kRollback: in UpdateSucceeded()
259 case AttemptType::kUpdate: in UpdateFailed()
264 case AttemptType::kRollback: in UpdateFailed()
424 AttemptStarted(AttemptType::kRollback); in Rollback()