Searched refs:MetadataParseResult (Results 1 – 6 of 6) sorted by relevance
50 MetadataParseResult PayloadMetadata::ParsePayloadHeader( in ParsePayloadHeader()54 return MetadataParseResult::kInsufficientData; in ParsePayloadHeader()60 return MetadataParseResult::kError; in ParsePayloadHeader()66 return MetadataParseResult::kInsufficientData; in ParsePayloadHeader()82 return MetadataParseResult::kError; in ParsePayloadHeader()98 return MetadataParseResult::kError; in ParsePayloadHeader()115 return MetadataParseResult::kError; in ParsePayloadHeader()117 return MetadataParseResult::kSuccess; in ParsePayloadHeader()122 return ParsePayloadHeader(payload, &error) == MetadataParseResult::kSuccess; in ParsePayloadHeader()
35 enum class MetadataParseResult { enum57 MetadataParseResult ParsePayloadHeader(const brillo::Blob& payload,
443 MetadataParseResult DeltaPerformer::ParsePayloadMetadata( in ParsePayloadMetadata()448 MetadataParseResult result = in ParsePayloadMetadata()450 if (result != MetadataParseResult::kSuccess) in ParsePayloadMetadata()467 return MetadataParseResult::kError; in ParsePayloadMetadata()483 return MetadataParseResult::kError; in ParsePayloadMetadata()490 return MetadataParseResult::kInsufficientData; in ParsePayloadMetadata()512 return MetadataParseResult::kError; in ParsePayloadMetadata()525 return MetadataParseResult::kError; in ParsePayloadMetadata()537 return MetadataParseResult::kError; in ParsePayloadMetadata()541 return MetadataParseResult::kSuccess; in ParsePayloadMetadata()[all …]
364 MetadataParseResult expected_result, actual_result; in DoMetadataSignatureTest()374 expected_result = MetadataParseResult::kError; in DoMetadataSignatureTest()380 expected_result = MetadataParseResult::kError; in DoMetadataSignatureTest()395 expected_result = MetadataParseResult::kSuccess; in DoMetadataSignatureTest()402 expected_result = MetadataParseResult::kSuccess; in DoMetadataSignatureTest()1006 EXPECT_EQ(MetadataParseResult::kSuccess, in TEST_F()
162 MetadataParseResult ParsePayloadMetadata(const brillo::Blob& payload,
425 MetadataParseResult::kSuccess) { in VerifyPayloadParseManifest()