Searched refs:MetadataParseResult (Results 1 – 7 of 7) sorted by relevance
51 MetadataParseResult PayloadMetadata::ParsePayloadHeader( in ParsePayloadHeader()56 MetadataParseResult PayloadMetadata::ParsePayloadHeader( in ParsePayloadHeader()60 return MetadataParseResult::kInsufficientData; in ParsePayloadHeader()77 return MetadataParseResult::kError; in ParsePayloadHeader()83 return MetadataParseResult::kInsufficientData; in ParsePayloadHeader()99 return MetadataParseResult::kError; in ParsePayloadHeader()115 return MetadataParseResult::kError; in ParsePayloadHeader()132 return MetadataParseResult::kError; in ParsePayloadHeader()134 return MetadataParseResult::kSuccess; in ParsePayloadHeader()139 return ParsePayloadHeader(payload, &error) == MetadataParseResult::kSuccess; in ParsePayloadHeader()
35 enum class MetadataParseResult { enum57 MetadataParseResult ParsePayloadHeader(const brillo::Blob& payload,59 MetadataParseResult ParsePayloadHeader(const unsigned char* payload,
292 MetadataParseResult DeltaPerformer::ParsePayloadMetadata( in ParsePayloadMetadata()297 MetadataParseResult result = in ParsePayloadMetadata()299 if (result != MetadataParseResult::kSuccess) in ParsePayloadMetadata()316 return MetadataParseResult::kError; in ParsePayloadMetadata()332 return MetadataParseResult::kError; in ParsePayloadMetadata()339 return MetadataParseResult::kInsufficientData; in ParsePayloadMetadata()362 return MetadataParseResult::kError; in ParsePayloadMetadata()375 return MetadataParseResult::kError; in ParsePayloadMetadata()387 return MetadataParseResult::kError; in ParsePayloadMetadata()391 return MetadataParseResult::kSuccess; in ParsePayloadMetadata()[all …]
380 MetadataParseResult expected_result, actual_result; in DoMetadataSignatureTest()390 expected_result = MetadataParseResult::kError; in DoMetadataSignatureTest()396 expected_result = MetadataParseResult::kError; in DoMetadataSignatureTest()411 expected_result = MetadataParseResult::kSuccess; in DoMetadataSignatureTest()418 expected_result = MetadataParseResult::kSuccess; in DoMetadataSignatureTest()934 EXPECT_EQ(MetadataParseResult::kSuccess, in TEST_F()
158 MetadataParseResult ParsePayloadMetadata(const brillo::Blob& payload,
74 using chromeos_update_engine::MetadataParseResult;114 chromeos_update_engine::MetadataParseResult::kSuccess) { in main()
449 MetadataParseResult::kSuccess) { in VerifyPayloadParseManifest()