Home
last modified time | relevance | path

Searched refs:payload_metadata (Results 1 – 7 of 7) sorted by relevance

/system/update_engine/payload_generator/
Dpayload_properties.cc91 PayloadMetadata payload_metadata; in LoadFromPayload() local
94 TEST_AND_RETURN_FALSE(payload_metadata.ParsePayloadFile( in LoadFromPayload()
97 metadata_size_ = payload_metadata.GetMetadataSize(); in LoadFromPayload()
112 if (payload_metadata.GetMetadataSignatureSize() > 0) { in LoadFromPayload()
Dpayload_signer.cc102 PayloadMetadata payload_metadata; in AddSignatureBlobToPayload() local
103 TEST_AND_RETURN_FALSE(payload_metadata.ParsePayloadHeader(payload)); in AddSignatureBlobToPayload()
104 uint64_t metadata_size = payload_metadata.GetMetadataSize(); in AddSignatureBlobToPayload()
106 payload_metadata.GetMetadataSignatureSize(); in AddSignatureBlobToPayload()
123 TEST_AND_RETURN_FALSE(payload_metadata.GetManifest(payload, &manifest)); in AddSignatureBlobToPayload()
253 PayloadMetadata payload_metadata; in VerifySignedPayload() local
254 TEST_AND_RETURN_FALSE(payload_metadata.ParsePayloadHeader(payload)); in VerifySignedPayload()
256 TEST_AND_RETURN_FALSE(payload_metadata.GetManifest(payload, &manifest)); in VerifySignedPayload()
259 uint64_t metadata_size = payload_metadata.GetMetadataSize(); in VerifySignedPayload()
261 payload_metadata.GetMetadataSignatureSize(); in VerifySignedPayload()
/system/update_engine/
Dbinder_service_android.cc177 const std::string payload_metadata{ in verifyPayloadApplicable() local
180 << payload_metadata << "."; in verifyPayloadApplicable()
183 service_delegate_->VerifyPayloadApplicable(payload_metadata, &error); in verifyPayloadApplicable()
208 const std::string payload_metadata{ in allocateSpaceForPayload() local
211 LOG(INFO) << "Received a request of allocating space for " << payload_metadata in allocateSpaceForPayload()
216 payload_metadata, str_headers, &error)); in allocateSpaceForPayload()
Dupdate_attempter_android.cc423 PayloadMetadata payload_metadata; in VerifyPayloadParseManifest() local
424 if (payload_metadata.ParsePayloadHeader(metadata, &errorcode) != in VerifyPayloadParseManifest()
431 uint64_t metadata_size = payload_metadata.GetMetadataSize() + in VerifyPayloadParseManifest()
432 payload_metadata.GetMetadataSignatureSize(); in VerifyPayloadParseManifest()
459 errorcode = payload_metadata.ValidateMetadataSignature( in VerifyPayloadParseManifest()
467 if (!payload_metadata.GetManifest(metadata, manifest)) { in VerifyPayloadParseManifest()
DBUILD.gn161 "payload_consumer/payload_metadata.cc",
DAndroid.bp179 "payload_consumer/payload_metadata.cc",
/system/update_engine/payload_consumer/
Ddelta_performer_integration_test.cc630 PayloadMetadata payload_metadata; in ApplyDeltaFile() local
631 EXPECT_TRUE(payload_metadata.ParsePayloadHeader(state->delta)); in ApplyDeltaFile()
632 state->metadata_size = payload_metadata.GetMetadataSize(); in ApplyDeltaFile()
635 payload_metadata.GetMetadataSignatureSize(); in ApplyDeltaFile()
639 EXPECT_TRUE(payload_metadata.GetManifest(state->delta, &manifest)); in ApplyDeltaFile()