Lines Matching refs:ErrorCode
65 return CompletePostinstall(ErrorCode::kPostinstallPowerwashError); in PerformAction()
88 return CompletePostinstall(ErrorCode::kSuccess); in PerformPartitionPostinstall()
93 return CompletePostinstall(ErrorCode::kSuccess); in PerformPartitionPostinstall()
104 return CompletePostinstall(ErrorCode::kSuccess); in PerformPartitionPostinstall()
113 return CompletePostinstall(ErrorCode::kPostinstallRunnerError); in PerformPartitionPostinstall()
139 return CompletePostinstall(ErrorCode::kPostinstallRunnerError); in PerformPartitionPostinstall()
148 return CompletePostinstall(ErrorCode::kPostinstallRunnerError); in PerformPartitionPostinstall()
306 ErrorCode error_code = ErrorCode::kPostinstallRunnerError; in CompletePartitionPostinstall()
312 error_code = ErrorCode::kPostinstallBootedFromFirmwareB; in CompletePartitionPostinstall()
319 error_code = ErrorCode::kPostinstallFirmwareRONotUpdatable; in CompletePartitionPostinstall()
337 void PostinstallRunnerAction::CompletePostinstall(ErrorCode error_code) { in CompletePostinstall()
340 if (error_code == ErrorCode::kSuccess) { in CompletePostinstall()
343 error_code = ErrorCode::kPostinstallRunnerError; in CompletePostinstall()
346 error_code = ErrorCode::kUpdatedButNotActive; in CompletePostinstall()
353 if (error_code != ErrorCode::kSuccess && in CompletePostinstall()
354 error_code != ErrorCode::kUpdatedButNotActive) { in CompletePostinstall()