Home
last modified time | relevance | path

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

/system/update_engine/payload_consumer/
Dpayload_metadata.cc65 MetadataParseResult PayloadMetadata::ParsePayloadHeader( in ParsePayloadHeader()
70 return MetadataParseResult::kInsufficientData; in ParsePayloadHeader()
76 return MetadataParseResult::kError; in ParsePayloadHeader()
93 return MetadataParseResult::kError; in ParsePayloadHeader()
99 return MetadataParseResult::kError; in ParsePayloadHeader()
103 return MetadataParseResult::kInsufficientData; in ParsePayloadHeader()
117 return MetadataParseResult::kError; in ParsePayloadHeader()
128 return MetadataParseResult::kError; in ParsePayloadHeader()
138 return MetadataParseResult::kError; in ParsePayloadHeader()
141 return MetadataParseResult::kSuccess; in ParsePayloadHeader()
[all …]
Dpayload_metadata.h34 enum class MetadataParseResult { enum
56 MetadataParseResult ParsePayloadHeader(const brillo::Blob& payload,
Ddelta_performer.cc480 MetadataParseResult DeltaPerformer::ParsePayloadMetadata( in ParsePayloadMetadata()
485 MetadataParseResult result = in ParsePayloadMetadata()
487 if (result != MetadataParseResult::kSuccess) in ParsePayloadMetadata()
504 return MetadataParseResult::kError; in ParsePayloadMetadata()
512 return MetadataParseResult::kInsufficientData; in ParsePayloadMetadata()
533 return MetadataParseResult::kError; in ParsePayloadMetadata()
545 return MetadataParseResult::kError; in ParsePayloadMetadata()
557 return MetadataParseResult::kError; in ParsePayloadMetadata()
561 return MetadataParseResult::kSuccess; in ParsePayloadMetadata()
593 MetadataParseResult result = ParsePayloadMetadata(buffer_, error); in Write()
[all …]
Ddelta_performer_unittest.cc352 MetadataParseResult expected_result, actual_result; in DoMetadataSignatureTest()
359 expected_result = MetadataParseResult::kError; in DoMetadataSignatureTest()
365 expected_result = MetadataParseResult::kError; in DoMetadataSignatureTest()
380 expected_result = MetadataParseResult::kSuccess; in DoMetadataSignatureTest()
387 expected_result = MetadataParseResult::kSuccess; in DoMetadataSignatureTest()
925 EXPECT_EQ(MetadataParseResult::kSuccess, in TEST_F()
Ddelta_performer.h152 MetadataParseResult ParsePayloadMetadata(const brillo::Blob& payload,
/system/update_engine/
Dupdate_attempter_android.cc372 MetadataParseResult::kSuccess) { in VerifyPayloadApplicable()