/system/update_engine/payload_generator/ |
D | payload_signer.cc | 104 uint64_t metadata_size = payload_metadata.GetMetadataSize(); in AddSignatureBlobToPayload() local 114 payload.erase(payload.begin() + metadata_size, in AddSignatureBlobToPayload() 115 payload.begin() + metadata_size + metadata_signature_size); in AddSignatureBlobToPayload() 116 payload.insert(payload.begin() + metadata_size, in AddSignatureBlobToPayload() 142 payload.size() - metadata_size - metadata_signature_size, in AddSignatureBlobToPayload() 151 payload.begin() + metadata_size); in AddSignatureBlobToPayload() 159 metadata_size = serialized_manifest.size() + manifest_offset; in AddSignatureBlobToPayload() 162 LOG(INFO) << "Updated metadata size: " << metadata_size; in AddSignatureBlobToPayload() 165 metadata_size + metadata_signature_size + manifest.signatures_offset(); in AddSignatureBlobToPayload() 173 *out_metadata_size = metadata_size; in AddSignatureBlobToPayload() [all …]
|
D | payload_file.cc | 182 uint64_t metadata_size = in WritePayload() local 207 metadata_size += sizeof(metadata_signature_size); in WritePayload() 221 payload_file, metadata_size, &metadata_hash)); in WritePayload() 252 metadata_size, in WritePayload() 254 metadata_size + metadata_signature_size + manifest_.signatures_offset(), in WritePayload() 260 ReportPayloadUsage(metadata_size); in WritePayload() 261 *metadata_size_out = metadata_size; in WritePayload() 309 void PayloadFile::ReportPayloadUsage(uint64_t metadata_size) const { in ReportPayloadUsage() 325 object_counts[DeltaObject("<manifest-metadata>", -1, metadata_size)] = 1; in ReportPayloadUsage() 326 total_size += metadata_size; in ReportPayloadUsage()
|
D | payload_signer_unittest.cc | 175 uint64_t metadata_size; in TEST_F() local 177 payload_file.path(), "/dev/null", "", &metadata_size)); in TEST_F() 188 &metadata_size)); in TEST_F() 202 uint64_t metadata_size; in TEST_F() local 207 &metadata_size)); in TEST_F()
|
D | payload_properties_unittest.cc | 103 uint64_t metadata_size; in SetUp() local 105 payload_file.path(), temp_file_path, "", &metadata_size)); in SetUp() 117 R"("metadata_size":187,)" in TEST_F()
|
D | payload_signer.h | 69 const uint64_t metadata_size, 116 size_t metadata_size,
|
D | delta_diff_generator.cc | 96 uint64_t* metadata_size) { in GenerateUpdatePayloadFile() argument 176 output_path, temp_file_path, private_key_path, metadata_size)); in GenerateUpdatePayloadFile() 179 << "metadata size = " << *metadata_size; in GenerateUpdatePayloadFile()
|
D | delta_diff_generator.h | 42 uint64_t* metadata_size);
|
D | payload_file.h | 79 void ReportPayloadUsage(uint64_t metadata_size) const;
|
D | generate_delta_main.cc | 726 uint64_t metadata_size; in Main() local 728 payload_config, FLAGS_out_file, FLAGS_private_key, &metadata_size)) { in Main() 732 string metadata_size_string = std::to_string(metadata_size); in Main()
|
/system/update_engine/scripts/update_payload/ |
D | payload.py | 130 self.metadata_size = None 224 self.metadata_size = self.header.size + self.header.manifest_len 225 self.data_offset = self.metadata_size + self.header.metadata_signature_len 274 metadata_size=0, report_out_file=None, assert_type=None, argument 301 metadata_size=metadata_size,
|
D | checker.py | 1163 def Run(self, pubkey_file_name=None, metadata_sig_file=None, metadata_size=0, argument 1190 if metadata_size and self.payload.metadata_size != metadata_size: 1192 'vs given(%d)' % (self.payload.metadata_size, 1193 metadata_size))
|
/system/update_engine/payload_consumer/ |
D | install_plan.h | 63 uint64_t metadata_size = 0; // size of the metadata member 74 metadata_size == that.metadata_size &&
|
D | delta_performer_integration_test.cc | 82 uint64_t metadata_size; member 570 payload_config, state->delta_path, private_key, &state->metadata_size)); in GenerateDeltaFile() 591 signature_size, state->delta_path, &state->metadata_size)); in GenerateDeltaFile() 597 signature_size, state->delta_path, &state->metadata_size)); in GenerateDeltaFile() 609 SignGeneratedPayload(state->delta_path, &state->metadata_size); in GenerateDeltaFile() 632 state->metadata_size = payload_metadata.GetMetadataSize(); in ApplyDeltaFile() 633 LOG(INFO) << "Metadata size: " << state->metadata_size; in ApplyDeltaFile() 648 &state->delta[state->metadata_size + state->metadata_signature_size + in ApplyDeltaFile() 723 EXPECT_CALL(prefs, SetInt64(kPrefsManifestMetadataSize, state->metadata_size)) in ApplyDeltaFile() 746 state->metadata_size))) in ApplyDeltaFile() [all …]
|
D | delta_performer_fuzzer.cc | 68 .metadata_size = data_provider.ConsumeIntegralInRange<uint64_t>(0, 1000), in FuzzDeltaPerformer()
|
D | install_plan.cc | 78 payload.metadata_size, in Dump()
|
D | delta_performer_unittest.cc | 243 &payload_.metadata_size)); in GeneratePayload() 327 payload_.metadata_size = expected_metadata_size; in DoMetadataSizeTest() 391 payload_.metadata_size, in DoMetadataSignatureTest() 416 EXPECT_EQ(payload_.metadata_size, performer_.metadata_size_); in DoMetadataSignatureTest() 949 payload_.metadata_size = manifest_offset + manifest_size; in TEST_F()
|
/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/extras/partition_tools/ |
D | lpmake.cc | 134 uint32_t metadata_size = 0; in main() local 165 if (!android::base::ParseUint(optarg, &metadata_size)) { in main() 281 if (!metadata_size) { in main() 310 MetadataBuilder::New(block_devices, super_name, metadata_size, metadata_slots); in main()
|
D | lpdump.cc | 274 uint64_t metadata_size = super_device->first_logical_sector * LP_SECTOR_SIZE; in DumpMetadataSize() local 275 cout << metadata_size << std::endl; in DumpMetadataSize()
|
/system/update_engine/scripts/ |
D | paycheck.py | 153 args.part_sizes is not None or args.metadata_size) 234 metadata_size=int(args.metadata_size),
|
D | update_device.py | 254 metadata_size=payload.metadata_size,
|
/system/update_engine/ |
D | omaha_response.h | 48 uint64_t metadata_size = 0; member
|
D | update_attempter_android.cc | 213 &payload.metadata_size)) { in ApplyPayload() 214 payload.metadata_size = 0; in ApplyPayload() 431 uint64_t metadata_size = payload_metadata.GetMetadataSize() + in VerifyPayloadParseManifest() local 433 if (metadata_size < kMaxPayloadHeaderSize || in VerifyPayloadParseManifest() 434 metadata_size > in VerifyPayloadParseManifest() 439 "Invalid metadata size: " + std::to_string(metadata_size)); in VerifyPayloadParseManifest() 441 metadata.resize(metadata_size); in VerifyPayloadParseManifest()
|
D | omaha_response_handler_action.cc | 106 .metadata_size = package.metadata_size, in PerformAction()
|
D | payload_state_unittest.cc | 74 .metadata_size = 558123, in SetupPayloadStateWith2Urls() 153 .metadata_size = 58123, in TEST() 205 .metadata_size = 558123, in TEST() 1674 .metadata_size = 58123, in TEST() 1679 .metadata_size = 58123, in TEST() 1704 .metadata_size = 58123, in TEST() 1726 .metadata_size = 58123, in TEST() 1750 .metadata_size = 58123, in TEST() 1758 .metadata_size = 58123, in TEST()
|