Home
last modified time | relevance | path

Searched refs:manifest_ (Results 1 – 11 of 11) sorted by relevance

/system/core/fs_mgr/libsnapshot/
Dsnapshot_metadata_updater_test.cpp56 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 …]
Dsnapshot_test.cpp787 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/
Dpayload_file.cc66 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 …]
Dpayload_file.h84 DeltaArchiveManifest manifest_; variable
/system/update_engine/payload_consumer/
Ddelta_performer.cc323 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 …]
Ddelta_performer.h362 DeltaArchiveManifest manifest_; variable
Ddelta_performer_unittest.cc179 performer_.manifest_.CopyFrom(manifest); in RunManifestValidation()
/system/apex/apexd/
Dapex_file.h53 const ApexManifest& GetManifest() const { return manifest_; } in GetManifest()
67 manifest_(std::move(manifest)), in ApexFile()
74 ApexManifest manifest_; variable
Dapex_file.cpp365 if (!MessageDifferencer::Equals(manifest_, *verifiedManifest)) { in VerifyManifestMatches()
/system/update_engine/
Ddynamic_partition_test_utils.h200 : 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_;
Ddynamic_partition_control_android_unittest.cc935 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()