Home
last modified time | relevance | path

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

/system/update_engine/payload_generator/
Dpayload_properties.cc85 PayloadMetadata payload_metadata; in LoadFromPayload() local
88 TEST_AND_RETURN_FALSE(payload_metadata.ParsePayloadFile( in LoadFromPayload()
91 metadata_size_ = payload_metadata.GetMetadataSize(); in LoadFromPayload()
106 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()
251 PayloadMetadata payload_metadata; in VerifySignedPayload() local
252 TEST_AND_RETURN_FALSE(payload_metadata.ParsePayloadHeader(payload)); in VerifySignedPayload()
254 TEST_AND_RETURN_FALSE(payload_metadata.GetManifest(payload, &manifest)); in VerifySignedPayload()
257 uint64_t metadata_size = payload_metadata.GetMetadataSize(); in VerifySignedPayload()
259 payload_metadata.GetMetadataSignatureSize(); in VerifySignedPayload()
/system/update_engine/aosp/
Dbinder_service_android.cc162 const std::string payload_metadata{ in verifyPayloadApplicable() local
165 << payload_metadata << "."; in verifyPayloadApplicable()
168 service_delegate_->VerifyPayloadApplicable(payload_metadata, &error); in verifyPayloadApplicable()
193 const std::string payload_metadata{ in allocateSpaceForPayload() local
196 LOG(INFO) << "Received a request of allocating space for " << payload_metadata in allocateSpaceForPayload()
201 payload_metadata, str_headers, &error)); in allocateSpaceForPayload()
Dcow_converter.cc97 PayloadMetadata payload_metadata; in main() local
113 if (payload_metadata.ParsePayloadHeader(payload, payload_size, nullptr) != in main()
119 if (!payload_metadata.GetManifest(payload, payload_size, &manifest)) { in main()
Dupdate_attempter_android.cc447 PayloadMetadata payload_metadata; in VerifyPayloadParseManifest() local
448 if (payload_metadata.ParsePayloadHeader(metadata, &errorcode) != in VerifyPayloadParseManifest()
455 uint64_t metadata_size = payload_metadata.GetMetadataSize() + in VerifyPayloadParseManifest()
456 payload_metadata.GetMetadataSignatureSize(); in VerifyPayloadParseManifest()
483 errorcode = payload_metadata.ValidateMetadataSignature( in VerifyPayloadParseManifest()
491 if (!payload_metadata.GetManifest(metadata, manifest)) { in VerifyPayloadParseManifest()
/system/update_engine/payload_consumer/
Ddelta_performer_integration_test.cc647 PayloadMetadata payload_metadata; in ApplyDeltaFile() local
648 EXPECT_TRUE(payload_metadata.ParsePayloadHeader(state->delta)); in ApplyDeltaFile()
649 state->metadata_size = payload_metadata.GetMetadataSize(); in ApplyDeltaFile()
652 payload_metadata.GetMetadataSignatureSize(); in ApplyDeltaFile()
656 EXPECT_TRUE(payload_metadata.GetManifest(state->delta, &manifest)); in ApplyDeltaFile()
/system/update_engine/
DBUILD.gn157 "payload_consumer/payload_metadata.cc",
DAndroid.bp238 "payload_consumer/payload_metadata.cc",