/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 | 187 uint64_t metadata_size = in WritePayload() local 215 metadata_size += sizeof(metadata_signature_size); in WritePayload() 231 metadata_size, in WritePayload() 264 metadata_size, in WritePayload() 266 metadata_size + metadata_signature_size + manifest_.signatures_offset(), in WritePayload() 272 ReportPayloadUsage(metadata_size); in WritePayload() 273 *metadata_size_out = metadata_size; in WritePayload() 322 void PayloadFile::ReportPayloadUsage(uint64_t metadata_size) const { in ReportPayloadUsage() 337 metadata_size)); in ReportPayloadUsage() 338 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 | 599 uint64_t metadata_size; in Main() local 603 &metadata_size)) { in Main() 607 string metadata_size_string = std::to_string(metadata_size); in Main()
|
/system/update_engine/payload_consumer/ |
D | install_plan.h | 60 uint64_t metadata_size = 0; // size of the metadata member 70 return size == that.size && metadata_size == that.metadata_size &&
|
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->payloads = {{.metadata_size = state->metadata_size, in ApplyDeltaFile() [all …]
|
D | delta_performer_unittest.cc | 167 payload_path, blob_path, private_key, &payload_.metadata_size)); in GeneratePayload() 234 payload_.metadata_size = expected_metadata_size; in DoMetadataSizeTest() 289 payload_.metadata_size, in DoMetadataSignatureTest() 320 EXPECT_EQ(payload_.metadata_size, performer_.GetMetadataSize()); in DoMetadataSignatureTest() 688 performer_.metadata_size_ = payload_.metadata_size; in TEST_F()
|
D | install_plan.cc | 71 payload.metadata_size, in Dump()
|
D | delta_performer.cc | 524 if (payload_->metadata_size != metadata_size_) { in ParsePayloadMetadata() 526 << payload_->metadata_size in ParsePayloadMetadata() 543 if (payload_->metadata_size == metadata_size_) { in ParsePayloadMetadata() 549 << payload_->metadata_size in ParsePayloadMetadata()
|
/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/update_engine/ |
D | omaha_response.h | 46 uint64_t metadata_size = 0; member
|
D | omaha_response_handler_action.cc | 100 .metadata_size = package.metadata_size, in PerformAction()
|
D | update_attempter_android.cc | 162 &payload.metadata_size)) { in ApplyPayload() 163 payload.metadata_size = 0; in ApplyPayload()
|
D | omaha_request_action_unittest.cc | 589 EXPECT_EQ(11u, response.packages[0].metadata_size); in TEST_F() 593 EXPECT_EQ(22u, response.packages[1].metadata_size); in TEST_F() 618 EXPECT_EQ(11u, response.packages[0].metadata_size); in TEST_F() 623 EXPECT_EQ(33u, response.packages[1].metadata_size); in TEST_F() 647 EXPECT_EQ(11u, response.packages[0].metadata_size); in TEST_F() 651 EXPECT_EQ(33u, response.packages[1].metadata_size); in TEST_F() 679 EXPECT_EQ(11u, response.packages[0].metadata_size); in TEST_F() 684 EXPECT_EQ(22u, response.packages[1].metadata_size); in TEST_F() 688 EXPECT_EQ(33u, response.packages[2].metadata_size); in TEST_F()
|
D | payload_state_unittest.cc | 70 .metadata_size = 558123, in SetupPayloadStateWith2Urls() 149 .metadata_size = 58123, in TEST() 204 .metadata_size = 558123, in TEST()
|
D | omaha_request_action.cc | 847 base::StringToUint64(metadata_sizes[i], &out_package.metadata_size); in ParsePackage() 848 LOG(INFO) << "Payload metadata size = " << out_package.metadata_size in ParsePackage()
|
D | payload_state.cc | 835 static_cast<uintmax_t>(package.metadata_size), in CalculateResponseSignature()
|
/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 …]
|