Searched refs:MetadataParseResult (Results 1 – 6 of 6) sorted by relevance
65 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 …]
34 enum class MetadataParseResult { enum56 MetadataParseResult ParsePayloadHeader(const brillo::Blob& payload,
480 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 …]
352 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()
152 MetadataParseResult ParsePayloadMetadata(const brillo::Blob& payload,
372 MetadataParseResult::kSuccess) { in VerifyPayloadApplicable()