Home
last modified time | relevance | path

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

/system/update_engine/payload_generator/
Dpayload_properties.cc93 PayloadMetadata payload_metadata; in LoadFromPayload() local
96 TEST_AND_RETURN_FALSE(payload_metadata.ParsePayloadFile( in LoadFromPayload()
99 metadata_size_ = payload_metadata.GetMetadataSize(); in LoadFromPayload()
114 if (payload_metadata.GetMetadataSignatureSize() > 0) { in LoadFromPayload()
Dpayload_signer.cc99 PayloadMetadata payload_metadata; in AddSignatureBlobToPayload() local
100 TEST_AND_RETURN_FALSE(payload_metadata.ParsePayloadHeader(payload)); in AddSignatureBlobToPayload()
101 uint64_t metadata_size = payload_metadata.GetMetadataSize(); in AddSignatureBlobToPayload()
103 payload_metadata.GetMetadataSignatureSize(); in AddSignatureBlobToPayload()
120 TEST_AND_RETURN_FALSE(payload_metadata.GetManifest(payload, &manifest)); in AddSignatureBlobToPayload()
238 PayloadMetadata payload_metadata; in VerifySignedPayload() local
239 TEST_AND_RETURN_FALSE(payload_metadata.ParsePayloadHeader(payload)); in VerifySignedPayload()
241 TEST_AND_RETURN_FALSE(payload_metadata.GetManifest(payload, &manifest)); in VerifySignedPayload()
244 uint64_t metadata_size = payload_metadata.GetMetadataSize(); in VerifySignedPayload()
246 payload_metadata.GetMetadataSignatureSize(); in VerifySignedPayload()
/system/update_engine/aosp/
Dbinder_service_android.cc176 const std::string payload_metadata{ in verifyPayloadApplicable() local
179 << payload_metadata << "."; in verifyPayloadApplicable()
182 service_delegate_->VerifyPayloadApplicable(payload_metadata, &error); in verifyPayloadApplicable()
207 const std::string payload_metadata{ in allocateSpaceForPayload() local
210 LOG(INFO) << "Received a request of allocating space for " << payload_metadata in allocateSpaceForPayload()
215 payload_metadata, str_headers, &error)); in allocateSpaceForPayload()
Dcow_converter.cc137 PayloadMetadata payload_metadata; in main() local
153 if (payload_metadata.ParsePayloadHeader(payload, payload_size, nullptr) != in main()
159 if (!payload_metadata.GetManifest(payload, payload_size, &manifest)) { in main()
Dota_extractor.cc240 PayloadMetadata payload_metadata; in main() local
254 if (payload_metadata.ParsePayloadHeader(payload + FLAGS_payload_offset, in main()
262 if (!payload_metadata.GetManifest(payload + FLAGS_payload_offset, in main()
274 payload_metadata, in main()
Dupdate_attempter_android.cc555 PayloadMetadata payload_metadata; in VerifyPayloadParseManifest() local
556 if (payload_metadata.ParsePayloadHeader(metadata, &errorcode) != in VerifyPayloadParseManifest()
565 uint64_t metadata_size = payload_metadata.GetMetadataSize() + in VerifyPayloadParseManifest()
566 payload_metadata.GetMetadataSignatureSize(); in VerifyPayloadParseManifest()
591 metadata.data(), payload_metadata.GetMetadataSize(), &metadata_hash)); in VerifyPayloadParseManifest()
616 errorcode = payload_metadata.ValidateMetadataSignature( in VerifyPayloadParseManifest()
626 if (!payload_metadata.GetManifest(metadata, manifest)) { in VerifyPayloadParseManifest()
/system/update_engine/payload_consumer/
Ddelta_performer_integration_test.cc639 PayloadMetadata payload_metadata; in ApplyDeltaFile() local
640 ASSERT_TRUE(payload_metadata.ParsePayloadHeader(state->delta)); in ApplyDeltaFile()
641 state->metadata_size = payload_metadata.GetMetadataSize(); in ApplyDeltaFile()
645 payload_metadata.GetMetadataSignatureSize(); in ApplyDeltaFile()
649 ASSERT_TRUE(payload_metadata.GetManifest(state->delta, &manifest)); in ApplyDeltaFile()
/system/sepolicy/microdroid/system/private/
Dproperty_contexts174 apexd.payload_metadata.path u:object_r:apexd_payload_metadata_prop:s0 exact string
/system/update_engine/
DAndroid.bp269 "payload_consumer/payload_metadata.cc",
/system/sepolicy/private/
Dproperty_contexts851 apexd.payload_metadata.path u:object_r:apexd_payload_metadata_prop:s0 exact string