Home
last modified time | relevance | path

Searched refs:manifest_offset (Results 1 – 3 of 3) sorted by relevance

/system/update_engine/payload_consumer/
Dpayload_metadata.cc80 uint64_t manifest_offset = GetManifestOffset(); in ParsePayloadHeader() local
82 if (size < manifest_offset) in ParsePayloadHeader()
110 metadata_size_ = manifest_offset + manifest_size_; in ParsePayloadHeader()
150 uint64_t manifest_offset = GetManifestOffset(); in GetManifest() local
151 CHECK_GE(size, manifest_offset + manifest_size_); in GetManifest()
152 return out_manifest->ParseFromArray(&payload[manifest_offset], in GetManifest()
Ddelta_performer_unittest.cc874 uint64_t manifest_offset = PayloadMetadata::kDeltaManifestSizeOffset + in TEST_F() local
877 payload_.metadata_size = manifest_offset + manifest_size; in TEST_F()
882 payload_.size = manifest_offset + metadata_signature_size + 1; in TEST_F()
/system/update_engine/payload_generator/
Dpayload_signer.cc97 uint64_t manifest_offset = 20; in AddSignatureBlobToPayload() local
109 memcpy(payload.data() + manifest_offset, in AddSignatureBlobToPayload()
112 manifest_offset += sizeof(metadata_signature_size_be); in AddSignatureBlobToPayload()
150 payload.erase(payload.begin() + manifest_offset, in AddSignatureBlobToPayload()
152 payload.insert(payload.begin() + manifest_offset, in AddSignatureBlobToPayload()
159 metadata_size = serialized_manifest.size() + manifest_offset; in AddSignatureBlobToPayload()