Searched refs:PayloadMetadata (Results 1 – 11 of 11) sorted by relevance
34 const uint64_t PayloadMetadata::kDeltaVersionOffset = sizeof(kDeltaMagic);35 const uint64_t PayloadMetadata::kDeltaVersionSize = 8;36 const uint64_t PayloadMetadata::kDeltaManifestSizeOffset =38 const uint64_t PayloadMetadata::kDeltaManifestSizeSize = 8;39 const uint64_t PayloadMetadata::kDeltaMetadataSignatureSizeSize = 4;41 uint64_t PayloadMetadata::GetMetadataSignatureSizeOffset() const { in GetMetadataSignatureSizeOffset()45 uint64_t PayloadMetadata::GetManifestOffset() const { in GetManifestOffset()51 MetadataParseResult PayloadMetadata::ParsePayloadHeader( in ParsePayloadHeader()56 MetadataParseResult PayloadMetadata::ParsePayloadHeader( in ParsePayloadHeader()137 bool PayloadMetadata::ParsePayloadHeader(const brillo::Blob& payload) { in ParsePayloadHeader()[all …]
41 class PayloadMetadata {49 PayloadMetadata() = default;117 DISALLOW_COPY_AND_ASSIGN(PayloadMetadata);
834 performer_.Write(&major_version, PayloadMetadata::kDeltaVersionSize)); in TEST_F()841 payload_.size = PayloadMetadata::kDeltaManifestSizeOffset + in TEST_F()842 PayloadMetadata::kDeltaManifestSizeSize + in TEST_F()843 PayloadMetadata::kDeltaMetadataSignatureSizeSize + in TEST_F()848 PayloadMetadata::kDeltaManifestSizeSize)); in TEST_F()853 PayloadMetadata::kDeltaMetadataSignatureSizeSize)); in TEST_F()869 performer_.Write(&major_version, PayloadMetadata::kDeltaVersionSize)); in TEST_F()872 uint64_t manifest_offset = PayloadMetadata::kDeltaManifestSizeOffset + in TEST_F()873 PayloadMetadata::kDeltaManifestSizeSize + in TEST_F()874 PayloadMetadata::kDeltaMetadataSignatureSizeSize; in TEST_F()[all …]
345 PayloadMetadata payload_metadata_;
639 PayloadMetadata payload_metadata; in ApplyDeltaFile()
605 struct PayloadMetadata { struct608 PayloadMetadata(const std::string& path) : path(path) {} in PayloadMetadata() function609 PayloadMetadata& apex(const std::string& name) { in apex() argument612 PayloadMetadata& apex(const std::string& name, in apex() argument624 ~PayloadMetadata() { in ~PayloadMetadata() argument646 PayloadMetadata(metadata_partition_path) in TEST_F()688 PayloadMetadata(metadata_partition_path).apex(test_apex_foo); in TEST_F()719 PayloadMetadata(metadata_partition_path) in TEST_F()749 PayloadMetadata(metadata_partition_path).apex(test_apex_foo, apex_metadata); in TEST_F()775 PayloadMetadata(metadata_partition_path).apex(test_apex_foo, apex_metadata); in TEST_F()[all …]
107 using chromeos_update_engine::PayloadMetadata;137 PayloadMetadata payload_metadata; in main()
58 using chromeos_update_engine::PayloadMetadata;97 const PayloadMetadata& metadata, in ExtractImagesFromOTA()240 PayloadMetadata payload_metadata; in main()
555 PayloadMetadata payload_metadata; in VerifyPayloadParseManifest()
93 PayloadMetadata payload_metadata; in LoadFromPayload()
99 PayloadMetadata payload_metadata; in AddSignatureBlobToPayload()238 PayloadMetadata payload_metadata; in VerifySignedPayload()