• Home
  • Raw
  • Download

Lines Matching refs:ErrorCode

290                                     ErrorCode* error) {  in HandleOpResult()
301 if (*error == ErrorCode::kSuccess) in HandleOpResult()
302 *error = ErrorCode::kDownloadOperationExecutionError; in HandleOpResult()
481 const brillo::Blob& payload, ErrorCode* error) { in ParsePayloadMetadata()
482 *error = ErrorCode::kSuccess; in ParsePayloadMetadata()
503 *error = ErrorCode::kDownloadInvalidMetadataSize; in ParsePayloadMetadata()
532 *error = ErrorCode::kDownloadMetadataSignatureVerificationError; in ParsePayloadMetadata()
540 if (*error != ErrorCode::kSuccess) { in ParsePayloadMetadata()
550 *error = ErrorCode::kSuccess; in ParsePayloadMetadata()
556 *error = ErrorCode::kDownloadManifestParseError; in ParsePayloadMetadata()
575 bool DeltaPerformer::Write(const void* bytes, size_t count, ErrorCode* error) { in Write()
576 *error = ErrorCode::kSuccess; in Write()
605 if ((*error = ValidateManifest()) != ErrorCode::kSuccess) in Write()
640 *error = ErrorCode::kDownloadStateInitializationError; in Write()
647 *error = ErrorCode::kInstallDeviceOpenError; in Write()
673 *error = ErrorCode::kInstallDeviceOpenError; in Write()
701 if (*error != ErrorCode::kSuccess) { in Write()
709 *error = ErrorCode::kSuccess; in Write()
777 *error = ErrorCode::kDownloadPayloadVerificationError; in Write()
786 *error = ErrorCode::kDownloadPayloadVerificationError; in Write()
805 bool DeltaPerformer::ParseManifestPartitions(ErrorCode* error) { in ParseManifestPartitions()
876 *error = ErrorCode::kDownloadNewPartitionInfoError; in ParseManifestPartitions()
897 *error = ErrorCode::kDownloadNewPartitionInfoError; in ParseManifestPartitions()
916 *error = ErrorCode::kDownloadNewPartitionInfoError; in ParseManifestPartitions()
927 *error = ErrorCode::kInstallDeviceOpenError; in ParseManifestPartitions()
934 *error = ErrorCode::kInstallDeviceOpenError; in ParseManifestPartitions()
1131 ErrorCode* error) { in ValidateSourceHash()
1160 *error = ErrorCode::kDownloadStateInitializationError; in ValidateSourceHash()
1167 const InstallOperation& operation, ErrorCode* error) { in PerformSourceCopyOperation()
1243 const InstallOperation& operation, ErrorCode* error) { in ChooseSourceFD()
1424 const InstallOperation& operation, ErrorCode* error) { in PerformSourceBsdiffOperation()
1535 ErrorCode* error) { in PerformPuffDiffOperation()
1627 ErrorCode DeltaPerformer::ValidateManifest() { in ValidateManifest()
1653 return ErrorCode::kPayloadMismatchedType; in ValidateManifest()
1663 return ErrorCode::kUnsupportedMinorPayloadVersion; in ValidateManifest()
1673 return ErrorCode::kUnsupportedMinorPayloadVersion; in ValidateManifest()
1685 return ErrorCode::kPayloadMismatchedType; in ValidateManifest()
1694 return ErrorCode::kPayloadTimestampError; in ValidateManifest()
1703 return ErrorCode::kPayloadMismatchedType; in ValidateManifest()
1710 return ErrorCode::kSuccess; in ValidateManifest()
1713 ErrorCode DeltaPerformer::ValidateOperationHash( in ValidateOperationHash()
1721 return ErrorCode::kSuccess; in ValidateOperationHash()
1741 return ErrorCode::kDownloadOperationHashMissingError; in ValidateOperationHash()
1747 return ErrorCode::kSuccess; in ValidateOperationHash()
1760 return ErrorCode::kDownloadOperationHashVerificationError; in ValidateOperationHash()
1770 return ErrorCode::kDownloadOperationHashMismatch; in ValidateOperationHash()
1773 return ErrorCode::kSuccess; in ValidateOperationHash()
1784 ErrorCode DeltaPerformer::VerifyPayload( in VerifyPayload()
1790 return ErrorCode::kDownloadPayloadPubKeyVerificationError; in VerifyPayload()
1800 return ErrorCode::kPayloadSizeMismatchError; in VerifyPayload()
1804 TEST_AND_RETURN_VAL(ErrorCode::kDownloadPayloadVerificationError, in VerifyPayload()
1807 ErrorCode::kPayloadHashMismatchError, in VerifyPayload()
1813 return ErrorCode::kSuccess; in VerifyPayload()
1815 TEST_AND_RETURN_VAL(ErrorCode::kSignedDeltaPayloadExpectedError, in VerifyPayload()
1818 TEST_AND_RETURN_VAL(ErrorCode::kDownloadPayloadPubKeyVerificationError, in VerifyPayload()
1826 return ErrorCode::kDownloadPayloadPubKeyVerificationError; in VerifyPayload()
1830 return ErrorCode::kSuccess; in VerifyPayload()