/system/core/fs_mgr/libsnapshot/ |
D | snapshot_metadata_updater_test.cpp | 56 group_ = manifest_.mutable_dynamic_partition_metadata()->add_groups(); in SetUp() 61 system_ = manifest_.add_partitions(); in SetUp() 64 vendor_ = manifest_.add_partitions(); in SetUp() 68 ASSERT_TRUE(FillFakeMetadata(builder_.get(), manifest_, target_suffix_)); in SetUp() 77 SnapshotMetadataUpdater updater(builder_.get(), target_slot_, manifest_); in UpdateAndExport() 134 DeltaArchiveManifest manifest_; member in android::snapshot::SnapshotMetadataUpdaterTest 177 auto product = manifest_.add_partitions(); in TEST_P() 190 auto product = manifest_.add_partitions(); in TEST_P() 221 auto product = manifest_.add_partitions(); in TEST_P() 255 auto product = manifest_.add_partitions(); in TEST_P() [all …]
|
D | snapshot_test.cpp | 787 group_ = manifest_.mutable_dynamic_partition_metadata()->add_groups(); in SetUp() 793 sys_ = manifest_.add_partitions(); in SetUp() 796 vnd_ = manifest_.add_partitions(); in SetUp() 799 prd_ = manifest_.add_partitions(); in SetUp() 806 ASSERT_TRUE(FillFakeMetadata(src_.get(), manifest_, "_a")); in SetUp() 953 e->set_num_blocks(size_bytes / manifest_.block_size()); in AddOperation() 966 DeltaArchiveManifest manifest_; member in android::snapshot::SnapshotUpdateTest 996 ASSERT_TRUE(sm->CreateUpdateSnapshots(manifest_)); in TEST_F() 1050 ASSERT_TRUE(sm->CreateUpdateSnapshots(manifest_)); in TEST_F() 1060 ASSERT_TRUE(sm->CreateUpdateSnapshots(manifest_)); in TEST_F() [all …]
|
/system/update_engine/payload_generator/ |
D | payload_file.cc | 66 manifest_.set_minor_version(config.version.minor); in Init() 69 *(manifest_.mutable_old_image_info()) = config.source.image_info; in Init() 72 *(manifest_.mutable_new_image_info()) = config.target.image_info; in Init() 74 manifest_.set_block_size(config.block_size); in Init() 75 manifest_.set_max_timestamp(config.max_timestamp); in Init() 78 *(manifest_.mutable_dynamic_partition_metadata()) = in Init() 82 manifest_.set_partial_update(true); in Init() 131 manifest_.clear_partitions(); in WritePayload() 133 PartitionUpdate* partition = manifest_.add_partitions(); in WritePayload() 175 next_blob_offset, signature_blob_length, &manifest_); in WritePayload() [all …]
|
D | payload_file.h | 84 DeltaArchiveManifest manifest_; variable
|
/system/update_engine/payload_consumer/ |
D | delta_performer.cc | 323 bool source_may_exist = manifest_.partial_update() || in OpenCurrentPartition() 431 if (manifest_.has_minor_version()) { in GetMinorVersion() 432 return manifest_.minor_version(); in GetMinorVersion() 534 if (!payload_metadata_.GetManifest(payload, &manifest_)) { in ParsePayloadMetadata() 595 block_size_ = manifest_.block_size(); in Write() 745 if (manifest_.has_signatures_offset() && manifest_.has_signatures_size() && in Write() 747 if (manifest_.signatures_offset() != buffer_offset_) { in Write() 749 << manifest_.signatures_offset() in Write() 754 CopyDataToBuffer(&c_bytes, &count, manifest_.signatures_size()); in Write() 756 if (buffer_.size() < manifest_.signatures_size()) in Write() [all …]
|
D | delta_performer.h | 362 DeltaArchiveManifest manifest_; variable
|
D | delta_performer_unittest.cc | 179 performer_.manifest_.CopyFrom(manifest); in RunManifestValidation()
|
/system/apex/apexd/ |
D | apex_file.h | 53 const ApexManifest& GetManifest() const { return manifest_; } in GetManifest() 67 manifest_(std::move(manifest)), in ApexFile() 74 ApexManifest manifest_; variable
|
D | apex_file.cpp | 365 if (!MessageDifferencer::Equals(manifest_, *verifiedManifest)) { in VerifyManifestMatches()
|
/system/update_engine/ |
D | dynamic_partition_test_utils.h | 200 : manifest_(PartitionSuffixSizesToManifest(partition_sizes)) {} in MetadataMatcher() 202 : manifest_(manifest) {} in MetadataMatcher() 207 for (const auto& group : manifest_.dynamic_partition_metadata().groups()) { in MatchAndExplain() 217 const auto& partition_updates = manifest_.partitions(); in MatchAndExplain() 249 *os << "expect: " << manifest_; in DescribeTo() 253 *os << "expect not: " << manifest_; in DescribeNegationTo() 257 DeltaArchiveManifest manifest_;
|
D | dynamic_partition_control_android_unittest.cc | 935 manifest_ = in SetUp() 939 manifest_.mutable_dynamic_partition_metadata()->set_snapshot_enabled(true); in ExpectCreateUpdateSnapshots() 944 EXPECT_EQ(&manifest_, &manifest); in ExpectCreateUpdateSnapshots() 951 source(), target(), manifest_, true /* update */, required_size); in PreparePartitionsForUpdate() 954 DeltaArchiveManifest manifest_; member in chromeos_update_engine::SnapshotPartitionTestP 1004 EXPECT_EQ(&manifest_, &manifest); in TEST_P()
|