Home
last modified time | relevance | path

Searched refs:manifest_ (Results 1 – 13 of 13) 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()
81 SnapshotMetadataUpdater updater(builder_.get(), target_slot_, manifest_); in UpdateAndExport()
137 DeltaArchiveManifest manifest_; member in android::snapshot::SnapshotMetadataUpdaterTest
180 auto product = manifest_.add_partitions(); in TEST_P()
193 auto product = manifest_.add_partitions(); in TEST_P()
224 auto product = manifest_.add_partitions(); in TEST_P()
258 auto product = manifest_.add_partitions(); in TEST_P()
[all …]
Dsnapshot_test.cpp857 auto dynamic_partition_metadata = manifest_.mutable_dynamic_partition_metadata(); in SetUp()
871 sys_ = manifest_.add_partitions(); in SetUp()
875 vnd_ = manifest_.add_partitions(); in SetUp()
879 prd_ = manifest_.add_partitions(); in SetUp()
887 ASSERT_TRUE(FillFakeMetadata(src_.get(), manifest_, "_a")); in SetUp()
1072 e->set_num_blocks(size_bytes / manifest_.block_size()); in AddOperation()
1085 DeltaArchiveManifest manifest_; member in android::snapshot::SnapshotUpdateTest
1121 ASSERT_TRUE(sm->CreateUpdateSnapshots(manifest_)); in TEST_F()
1212 ASSERT_TRUE(sm->CreateUpdateSnapshots(manifest_)); in TEST_F()
1305 ASSERT_TRUE(sm->CreateUpdateSnapshots(manifest_)); in TEST_F()
[all …]
Dmake_cow_from_ab_ota.cpp102 DeltaArchiveManifest manifest_; member in android::snapshot::PayloadConverter
118 if (manifest_.has_dynamic_partition_metadata()) { in Run()
119 const auto& dpm = manifest_.dynamic_partition_metadata(); in Run()
136 for (const auto& update : manifest_.partitions()) { in Run()
668 if (!manifest_.ParseFromArray(manifest.get(), manifest_size)) { in OpenPayload()
/system/update_engine/payload_consumer/
Ddelta_performer.cc252 bool source_may_exist = manifest_.partial_update() || in OpenCurrentPartition()
384 if (!payload_metadata_.GetManifest(payload, &manifest_)) { in ParsePayloadMetadata()
446 block_size_ = manifest_.block_size(); in Write()
594 if (manifest_.has_signatures_offset() && manifest_.has_signatures_size() && in Write()
596 if (manifest_.signatures_offset() != buffer_offset_) { in Write()
598 << manifest_.signatures_offset() in Write()
603 CopyDataToBuffer(&c_bytes, &count, manifest_.signatures_size()); in Write()
605 if (buffer_.size() < manifest_.signatures_size()) in Write()
630 for (const PartitionUpdate& partition : manifest_.partitions()) { in ParseManifestPartitions()
650 manifest_.clear_partitions(); in ParseManifestPartitions()
[all …]
Ddelta_performer.h351 DeltaArchiveManifest manifest_; variable
Dpartition_writer_unittest.cc113 DeltaArchiveManifest manifest_{}; member in chromeos_update_engine::PartitionWriterTest
Ddelta_performer_unittest.cc187 performer_.manifest_.CopyFrom(manifest); in RunManifestValidation()
Ddelta_performer_integration_test.cc156 performer.manifest_.CopyFrom(manifest); in RunManifestValidation()
/system/update_engine/payload_generator/
Dpayload_file.cc67 manifest_.set_minor_version(config.version.minor); in Init()
68 manifest_.set_block_size(config.block_size); in Init()
69 manifest_.set_max_timestamp(config.max_timestamp); in Init()
72 *(manifest_.mutable_dynamic_partition_metadata()) = in Init()
76 manifest_.set_partial_update(true); in Init()
88 *manifest_.mutable_apex_info() = in Init()
142 manifest_.clear_partitions(); in WritePayload()
144 PartitionUpdate* partition = manifest_.add_partitions(); in WritePayload()
196 next_blob_offset, signature_blob_length, &manifest_); in WritePayload()
201 TEST_AND_RETURN_FALSE(manifest_.SerializeToString(&serialized_manifest)); in WritePayload()
[all …]
Dpayload_file.h86 DeltaArchiveManifest manifest_; variable
/system/apex/apexd/
Dapex_file.h52 const ::apex::proto::ApexManifest& GetManifest() const { return manifest_; } in GetManifest()
69 manifest_(std::move(manifest)), in ApexFile()
77 ::apex::proto::ApexManifest manifest_;
/system/update_engine/aosp/
Ddynamic_partition_test_utils.h202 : manifest_(PartitionSuffixSizesToManifest(partition_sizes)) {} in MetadataMatcher()
204 : manifest_(manifest) {} in MetadataMatcher()
209 for (const auto& group : manifest_.dynamic_partition_metadata().groups()) { in MatchAndExplain()
219 const auto& partition_updates = manifest_.partitions(); in MatchAndExplain()
251 *os << "expect: " << manifest_; in DescribeTo()
255 *os << "expect not: " << manifest_; in DescribeNegationTo()
259 DeltaArchiveManifest manifest_;
Ddynamic_partition_control_android_unittest.cc1029 manifest_ = in SetUp()
1033 manifest_.mutable_dynamic_partition_metadata()->set_snapshot_enabled(true); in ExpectCreateUpdateSnapshots()
1038 EXPECT_EQ(&manifest_, &manifest); in ExpectCreateUpdateSnapshots()
1045 source(), target(), manifest_, true /* update */, required_size); in PreparePartitionsForUpdate()
1048 DeltaArchiveManifest manifest_; member in chromeos_update_engine::SnapshotPartitionTestP
1105 EXPECT_EQ(&manifest_, &manifest); in TEST_P()