/system/update_engine/payload_generator/ |
D | payload_signer.cc | 95 uint64_t metadata_size, major_version; in AddSignatureBlobToPayload() local 102 &metadata_size, in AddSignatureBlobToPayload() 116 payload.erase(payload.begin() + metadata_size, in AddSignatureBlobToPayload() 117 payload.begin() + metadata_size + metadata_signature_size); in AddSignatureBlobToPayload() 118 payload.insert(payload.begin() + metadata_size, in AddSignatureBlobToPayload() 142 payload.size() - metadata_size - metadata_signature_size, in AddSignatureBlobToPayload() 152 payload.begin() + metadata_size); in AddSignatureBlobToPayload() 160 metadata_size = serialized_manifest.size() + manifest_offset; in AddSignatureBlobToPayload() 163 LOG(INFO) << "Updated metadata size: " << metadata_size; in AddSignatureBlobToPayload() 165 uint64_t signatures_offset = metadata_size + metadata_signature_size + in AddSignatureBlobToPayload() [all …]
|
D | payload_signer_unittest.cc | 133 uint64_t metadata_size; in DoWriteAndLoadPayloadTest() local 135 payload.WritePayload(payload_path, "/dev/null", "", &metadata_size)); in DoWriteAndLoadPayloadTest() 145 EXPECT_EQ(metadata_size, payload_metadata_blob.size()); in DoWriteAndLoadPayloadTest() 147 EXPECT_EQ(metadata_size, load_metadata_size); in DoWriteAndLoadPayloadTest() 226 uint64_t metadata_size; in TEST_F() local 228 payload.WritePayload(payload_path, "/dev/null", "", &metadata_size)); in TEST_F() 237 &metadata_size)); in TEST_F() 254 uint64_t metadata_size; in TEST_F() local 259 &metadata_size)); in TEST_F()
|
D | payload_file.cc | 186 uint64_t metadata_size = in WritePayload() local 214 metadata_size += sizeof(metadata_signature_size); in WritePayload() 230 metadata_size, in WritePayload() 263 metadata_size, in WritePayload() 265 metadata_size + metadata_signature_size + manifest_.signatures_offset(), in WritePayload() 271 ReportPayloadUsage(metadata_size); in WritePayload() 272 *metadata_size_out = metadata_size; in WritePayload() 323 void PayloadFile::ReportPayloadUsage(uint64_t metadata_size) const { in ReportPayloadUsage() 338 metadata_size)); in ReportPayloadUsage() 339 total_size += metadata_size; in ReportPayloadUsage()
|
D | delta_diff_generator.cc | 57 uint64_t* metadata_size) { in GenerateUpdatePayloadFile() argument 129 private_key_path, metadata_size)); in GenerateUpdatePayloadFile() 132 << "metadata size = " << *metadata_size; in GenerateUpdatePayloadFile()
|
D | payload_signer.h | 86 const uint64_t metadata_size, 133 size_t metadata_size,
|
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 | 588 uint64_t metadata_size; in Main() local 592 &metadata_size)) { in Main() 596 string metadata_size_string = std::to_string(metadata_size); in Main()
|
/system/update_engine/payload_consumer/ |
D | install_plan.cc | 48 (metadata_size == that.metadata_size) && in operator ==() 79 << ", metadata size: " << metadata_size in Dump()
|
D | delta_performer_integration_test.cc | 75 uint64_t metadata_size; member 542 &state->metadata_size)); in GenerateDeltaFile() 560 &state->metadata_size)); in GenerateDeltaFile() 566 &state->metadata_size)); in GenerateDeltaFile() 578 SignGeneratedPayload(state->delta_path, &state->metadata_size); in GenerateDeltaFile() 600 &state->metadata_size, in ApplyDeltaFile() 602 LOG(INFO) << "Metadata size: " << state->metadata_size; in ApplyDeltaFile() 613 &state->delta[state->metadata_size + manifest.signatures_offset()], in ApplyDeltaFile() 697 state->metadata_size)).WillOnce(Return(true)); in ApplyDeltaFile() 723 install_plan->metadata_size = state->metadata_size; in ApplyDeltaFile() [all …]
|
D | install_plan.h | 61 uint64_t metadata_size{0}; // size of the metadata
|
D | delta_performer_unittest.cc | 221 payload_path, blob_path, private_key, &install_plan_.metadata_size)); in GeneratePayload() 288 install_plan_.metadata_size = expected_metadata_size; in DoMetadataSizeTest() 343 install_plan_.metadata_size, in DoMetadataSignatureTest() 374 EXPECT_EQ(install_plan_.metadata_size, performer_.GetMetadataSize()); in DoMetadataSignatureTest() 750 performer_.metadata_size_ = install_plan_.metadata_size; in TEST_F()
|
D | delta_performer.cc | 522 if (install_plan_->metadata_size != metadata_size_) { in ParsePayloadMetadata() 524 << install_plan_->metadata_size in ParsePayloadMetadata() 541 if (install_plan_->metadata_size == metadata_size_) { in ParsePayloadMetadata() 547 << install_plan_->metadata_size in ParsePayloadMetadata()
|
/system/update_engine/ |
D | omaha_response.h | 50 off_t metadata_size = 0; member
|
D | omaha_response_handler_action.cc | 90 install_plan_.metadata_size = response.metadata_size; in PerformAction()
|
D | update_attempter_android.cc | 156 &install_plan_.metadata_size)) { in ApplyPayload() 157 install_plan_.metadata_size = 0; in ApplyPayload()
|
D | payload_state_unittest.cc | 71 response->metadata_size = 558123; in SetupPayloadStateWith2Urls() 152 response.metadata_size = 58123; in TEST() 205 response.metadata_size = 558123; in TEST()
|
D | payload_state.cc | 824 static_cast<uintmax_t>(response_.metadata_size), in CalculateResponseSignature()
|
D | omaha_request_action.cc | 905 output_object->metadata_size = ParseInt(attrs[kTagMetadataSize]); in ParseParams()
|
/system/update_engine/scripts/update_payload/ |
D | payload.py | 117 self.metadata_size = None 210 self.metadata_size = self.header.size + self.header.manifest_len 211 self.data_offset = self.metadata_size + self.header.metadata_signature_len
|
/system/extras/perfprofd/quipper/ |
D | perf_reader.cc | 1117 u64 metadata_offset, metadata_size; in ReadMetadata() local 1120 !ReadDataFromBuffer(data, sizeof(metadata_size), "metadata size", in ReadMetadata() 1121 &offset, &metadata_size)) { in ReadMetadata() 1125 if (data.size < metadata_offset + metadata_size) { in ReadMetadata() 1132 if (!ReadTracingMetadata(data, metadata_offset, metadata_size)) { in ReadMetadata() 1137 if (!ReadBuildIDMetadata(data, type, metadata_offset, metadata_size)) in ReadMetadata() 1147 if (!ReadStringMetadata(data, type, metadata_offset, metadata_size)) in ReadMetadata() 1151 if (!ReadUint32Metadata(data, type, metadata_offset, metadata_size)) in ReadMetadata() 1155 if (!ReadUint64Metadata(data, type, metadata_offset, metadata_size)) in ReadMetadata() 1161 if (!ReadCPUTopologyMetadata(data, type, metadata_offset, metadata_size)) in ReadMetadata() [all …]
|