/system/update_engine/payload_generator/ |
D | payload_signer.cc | 101 uint64_t metadata_size = payload_metadata.GetMetadataSize(); in AddSignatureBlobToPayload() local 111 payload.erase(payload.begin() + metadata_size, in AddSignatureBlobToPayload() 112 payload.begin() + metadata_size + metadata_signature_size); in AddSignatureBlobToPayload() 113 payload.insert(payload.begin() + metadata_size, in AddSignatureBlobToPayload() 124 payload.resize(manifest.signatures_offset() + metadata_size + in AddSignatureBlobToPayload() 130 payload.size() - metadata_size - metadata_signature_size, in AddSignatureBlobToPayload() 139 payload.begin() + metadata_size); in AddSignatureBlobToPayload() 147 metadata_size = serialized_manifest.size() + manifest_offset; in AddSignatureBlobToPayload() 150 LOG(INFO) << "Updated metadata size: " << metadata_size; in AddSignatureBlobToPayload() 152 metadata_size + metadata_signature_size + manifest.signatures_offset(); in AddSignatureBlobToPayload() [all …]
|
D | payload_file.cc | 220 uint64_t metadata_size = in WritePayload() local 249 metadata_size += sizeof(metadata_signature_size); in WritePayload() 262 payload_file, metadata_size, &metadata_hash)); in WritePayload() 292 metadata_size, in WritePayload() 294 metadata_size + signature_blob_length + manifest.signatures_offset(), in WritePayload() 300 *metadata_size_out = metadata_size; in WritePayload() 349 void PayloadFile::ReportPayloadUsage(uint64_t metadata_size) const { in ReportPayloadUsage() 365 object_counts[DeltaObject("<manifest-metadata>", -1, metadata_size)] = 1; in ReportPayloadUsage() 366 total_size += metadata_size; in ReportPayloadUsage()
|
D | payload_properties_unittest.cc | 93 uint64_t metadata_size; in SetUp() local 95 payload_file_.path(), data_file.path(), "", &metadata_size)); in SetUp() 107 R"("metadata_size":165,)" in TEST_F()
|
D | payload_signer.h | 69 const uint64_t metadata_size, 116 size_t metadata_size,
|
D | delta_diff_generator.h | 43 uint64_t* metadata_size);
|
D | payload_signer_unittest.cc | 167 uint64_t metadata_size; in TEST_F() local 172 &metadata_size)); in TEST_F()
|
D | delta_diff_generator.cc | 165 uint64_t* metadata_size) { in GenerateUpdatePayloadFile() argument 252 output_path, data_file.path(), private_key_path, metadata_size)); in GenerateUpdatePayloadFile() 255 << "metadata size = " << *metadata_size; in GenerateUpdatePayloadFile()
|
D | payload_file.h | 88 void ReportPayloadUsage(uint64_t metadata_size) const;
|
D | generate_delta_main.cc | 805 uint64_t metadata_size{}; in Main() local 807 payload_config, FLAGS_out_file, FLAGS_private_key, &metadata_size)) { in Main() 811 string metadata_size_string = std::to_string(metadata_size); in Main()
|
/system/update_engine/scripts/update_payload/ |
D | payload.py | 151 self.metadata_size = None 268 self.metadata_size = self.header.size + self.header.manifest_len 269 self.data_offset = self.metadata_size + self.header.metadata_signature_len 300 metadata_size=0, report_out_file=None, assert_type=None, argument 327 metadata_size=metadata_size,
|
D | checker.py | 1161 def Run(self, pubkey_file_name=None, metadata_sig_file=None, metadata_size=0, argument 1188 if metadata_size and self.payload.metadata_size != metadata_size: 1190 'vs given(%d)' % (self.payload.metadata_size, 1191 metadata_size))
|
/system/update_engine/ |
D | download_action_android_unittest.cc | 109 uint64_t metadata_size; in TEST_F() local 113 manifest_file.path(), blob_file.path(), private_key, &metadata_size); in TEST_F() 119 data.resize(metadata_size + signature_blob_length); in TEST_F() 126 .WillRepeatedly(DoAll(SetArgPointee<1>(metadata_size), Return(true))); in TEST_F()
|
/system/extras/partition_tools/ |
D | lpmake.cc | 173 static uint64_t CalculateBlockDeviceSize(uint32_t alignment, uint32_t metadata_size, in CalculateBlockDeviceSize() argument 180 ret += metadata_slots * metadata_size * 2; in CalculateBlockDeviceSize() 238 uint32_t metadata_size = 0; in main() local 273 if (!android::base::ParseUint(optarg, &metadata_size)) { in main() 388 CalculateBlockDeviceSize(alignment, metadata_size, metadata_slots, partitions); in main() 403 if (!metadata_size) { in main() 432 MetadataBuilder::New(block_devices, super_name, metadata_size, metadata_slots); in main()
|
D | lpdump.cc | 281 uint64_t metadata_size = super_device->first_logical_sector * LP_SECTOR_SIZE; in DumpMetadataSize() local 282 cout << metadata_size << std::endl; in DumpMetadataSize()
|
/system/update_engine/payload_consumer/ |
D | install_plan.h | 84 uint64_t metadata_size = 0; // size of the metadata member 97 metadata_size == that.metadata_size &&
|
D | delta_performer_integration_test.cc | 85 uint64_t metadata_size; member 579 &state->metadata_size)); in GenerateDeltaFile() 600 signature_size, state->delta_file->path(), &state->metadata_size)); in GenerateDeltaFile() 606 signature_size, state->delta_file->path(), &state->metadata_size)); in GenerateDeltaFile() 618 SignGeneratedPayload(state->delta_file->path(), &state->metadata_size); in GenerateDeltaFile() 641 state->metadata_size = payload_metadata.GetMetadataSize(); in ApplyDeltaFile() 642 LOG(INFO) << "Metadata size: " << state->metadata_size; in ApplyDeltaFile() 658 &state->delta[state->metadata_size + state->metadata_signature_size + in ApplyDeltaFile() 734 EXPECT_CALL(prefs, SetInt64(kPrefsManifestMetadataSize, state->metadata_size)) in ApplyDeltaFile() 757 state->metadata_size))) in ApplyDeltaFile() [all …]
|
D | delta_performer_fuzzer.cc | 68 .metadata_size = data_provider.ConsumeIntegralInRange<uint64_t>(0, 1000), in FuzzDeltaPerformer()
|
D | delta_performer_unittest.cc | 247 &payload_.metadata_size)); in GeneratePayload() 339 payload_.metadata_size = expected_metadata_size; in DoMetadataSizeTest() 403 payload_.metadata_size, in DoMetadataSignatureTest() 428 EXPECT_EQ(payload_.metadata_size, performer_.metadata_size_); in DoMetadataSignatureTest() 876 payload_.metadata_size = manifest_offset + manifest_size; in TEST_F()
|
D | delta_performer.cc | 308 if (payload_->metadata_size != metadata_size_) { in ParsePayloadMetadata() 310 << payload_->metadata_size in ParsePayloadMetadata() 342 if (payload_->metadata_size == metadata_size_) { in ParsePayloadMetadata() 348 << payload_->metadata_size in ParsePayloadMetadata()
|
D | install_plan.cc | 138 {"metadata_size", base::NumberToString(payload.metadata_size)}, in ToString()
|
/system/media/audio_utils/fuzz/sndfile_fuzzer/ |
D | sndfile_fuzzer.cpp | 79 size_t metadata_size = sizeof(desired_frame_count) + sizeof(input_format); in LLVMFuzzerTestOneInput() local 80 if (size < metadata_size) { in LLVMFuzzerTestOneInput()
|
/system/update_engine/scripts/ |
D | paycheck.py | 151 args.part_sizes is not None or args.metadata_size) 229 metadata_size=int(args.metadata_size),
|
D | update_device.py | 299 metadata_size=payload.metadata_size,
|
/system/update_engine/aosp/ |
D | update_attempter_android.cc | 258 &payload.metadata_size)) { in ApplyPayload() 259 payload.metadata_size = 0; in ApplyPayload() 492 uint64_t metadata_size = payload_metadata.GetMetadataSize() + in VerifyPayloadParseManifest() local 494 if (metadata_size < kMaxPayloadHeaderSize || in VerifyPayloadParseManifest() 495 metadata_size > in VerifyPayloadParseManifest() 500 "Invalid metadata size: " + std::to_string(metadata_size)); in VerifyPayloadParseManifest() 502 metadata.resize(metadata_size); in VerifyPayloadParseManifest()
|
D | update_attempter_android_integration_test.cc | 293 uint64_t metadata_size = 0; in ApplyPayload() local 299 &metadata_size)); in ApplyPayload() 309 {kPayloadPropertyMetadataSize + ("=" + std::to_string(metadata_size)), in ApplyPayload()
|