Home
last modified time | relevance | path

Searched refs:PayloadMetadata (Results 1 – 11 of 11) sorted by relevance

/system/update_engine/payload_consumer/
Dpayload_metadata.cc34 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 …]
Dpayload_metadata.h41 class PayloadMetadata {
49 PayloadMetadata() = default;
117 DISALLOW_COPY_AND_ASSIGN(PayloadMetadata);
Ddelta_performer_unittest.cc834 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 …]
Ddelta_performer.h345 PayloadMetadata payload_metadata_;
Ddelta_performer_integration_test.cc639 PayloadMetadata payload_metadata; in ApplyDeltaFile()
/system/apex/apexd/
Dapex_file_repository_test.cpp605 struct PayloadMetadata { struct
608 PayloadMetadata(const std::string& path) : path(path) {} in PayloadMetadata() function
609 PayloadMetadata& apex(const std::string& name) { in apex() argument
612 PayloadMetadata& apex(const std::string& name, in apex() argument
624 ~PayloadMetadata() { in ~PayloadMetadata() argument
646 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 …]
/system/update_engine/aosp/
Dcow_converter.cc107 using chromeos_update_engine::PayloadMetadata;
137 PayloadMetadata payload_metadata; in main()
Dota_extractor.cc58 using chromeos_update_engine::PayloadMetadata;
97 const PayloadMetadata& metadata, in ExtractImagesFromOTA()
240 PayloadMetadata payload_metadata; in main()
Dupdate_attempter_android.cc555 PayloadMetadata payload_metadata; in VerifyPayloadParseManifest()
/system/update_engine/payload_generator/
Dpayload_properties.cc93 PayloadMetadata payload_metadata; in LoadFromPayload()
Dpayload_signer.cc99 PayloadMetadata payload_metadata; in AddSignatureBlobToPayload()
238 PayloadMetadata payload_metadata; in VerifySignedPayload()