Home
last modified time | relevance | path

Searched refs:MetadataParseResult (Results 1 – 6 of 6) sorted by relevance

/system/update_engine/payload_consumer/
Dpayload_metadata.cc50 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()
Dpayload_metadata.h35 enum class MetadataParseResult { enum
57 MetadataParseResult ParsePayloadHeader(const brillo::Blob& payload,
Ddelta_performer.cc443 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 …]
Ddelta_performer_unittest.cc364 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()
Ddelta_performer.h162 MetadataParseResult ParsePayloadMetadata(const brillo::Blob& payload,
/system/update_engine/
Dupdate_attempter_android.cc425 MetadataParseResult::kSuccess) { in VerifyPayloadParseManifest()