Lines Matching refs:status
25 const char* UpdateStatusToString(const UpdateStatus& status) { in UpdateStatusToString() argument
26 switch (status) { in UpdateStatusToString()
55 bool StringToUpdateStatus(const std::string& s, UpdateStatus* status) { in StringToUpdateStatus() argument
57 *status = UpdateStatus::IDLE; in StringToUpdateStatus()
60 *status = UpdateStatus::CHECKING_FOR_UPDATE; in StringToUpdateStatus()
63 *status = UpdateStatus::UPDATE_AVAILABLE; in StringToUpdateStatus()
66 *status = UpdateStatus::NEED_PERMISSION_TO_UPDATE; in StringToUpdateStatus()
69 *status = UpdateStatus::DOWNLOADING; in StringToUpdateStatus()
72 *status = UpdateStatus::VERIFYING; in StringToUpdateStatus()
75 *status = UpdateStatus::FINALIZING; in StringToUpdateStatus()
78 *status = UpdateStatus::UPDATED_NEED_REBOOT; in StringToUpdateStatus()
81 *status = UpdateStatus::REPORTING_ERROR_EVENT; in StringToUpdateStatus()
84 *status = UpdateStatus::ATTEMPTING_ROLLBACK; in StringToUpdateStatus()
87 *status = UpdateStatus::DISABLED; in StringToUpdateStatus()