Home
last modified time | relevance | path

Searched refs:manifest (Results 1 – 22 of 22) sorted by relevance

/system/update_engine/payload_consumer/
Ddelta_performer_unittest.cc102 void RunManifestValidation(const DeltaArchiveManifest& manifest, in RunManifestValidation() argument
109 performer_.manifest_.CopyFrom(manifest); in RunManifestValidation()
535 DeltaArchiveManifest manifest; in TEST_F() local
536 manifest.mutable_new_kernel_info(); in TEST_F()
537 manifest.mutable_new_rootfs_info(); in TEST_F()
538 manifest.set_minor_version(kFullPayloadMinorVersion); in TEST_F()
540 RunManifestValidation(manifest, in TEST_F()
548 DeltaArchiveManifest manifest; in TEST_F() local
549 manifest.mutable_old_kernel_info(); in TEST_F()
550 manifest.mutable_old_rootfs_info(); in TEST_F()
[all …]
Ddelta_performer_integration_test.cc595 DeltaArchiveManifest manifest; in ApplyDeltaFile() local
598 &manifest, in ApplyDeltaFile()
606 EXPECT_FALSE(manifest.has_signatures_offset()); in ApplyDeltaFile()
607 EXPECT_FALSE(manifest.has_signatures_size()); in ApplyDeltaFile()
609 EXPECT_TRUE(manifest.has_signatures_offset()); in ApplyDeltaFile()
610 EXPECT_TRUE(manifest.has_signatures_size()); in ApplyDeltaFile()
613 &state->delta[state->metadata_size + manifest.signatures_offset()], in ApplyDeltaFile()
614 manifest.signatures_size())); in ApplyDeltaFile()
632 EXPECT_EQ(expected_sig_data_length, manifest.signatures_size()); in ApplyDeltaFile()
637 EXPECT_EQ(0, manifest.install_operations_size()); in ApplyDeltaFile()
[all …]
/system/update_engine/scripts/update_payload/
Dtest_utils.py137 self.manifest = update_metadata_pb2.DeltaArchiveManifest()
165 _SetMsgField(self.manifest, 'block_size', block_size)
178 part_info = (self.manifest.new_kernel_info if is_new
179 else self.manifest.old_kernel_info)
182 part_info = (self.manifest.new_rootfs_info if is_new
183 else self.manifest.old_rootfs_info)
192 operations = (self.manifest.kernel_install_operations if is_kernel
193 else self.manifest.install_operations)
211 _SetMsgField(self.manifest, 'signatures_offset', sigs_offset)
212 _SetMsgField(self.manifest, 'signatures_size', sigs_size)
[all …]
Dpayload.py114 self.manifest = None
201 self.manifest = update_metadata_pb2.DeltaArchiveManifest()
202 self.manifest.ParseFromString(manifest_raw)
233 if self.manifest.HasField('old_image_info'):
235 _DescribeImageInfo('Old Image', self.manifest.old_image_info)
237 if self.manifest.HasField('new_image_info'):
239 _DescribeImageInfo('New Image', self.manifest.new_image_info)
253 return (self.manifest.HasField('old_kernel_info') or
254 self.manifest.HasField('old_rootfs_info') or
256 for partition in self.manifest.partitions))
Dapplier.py212 self.block_size = payload.manifest.block_size
213 self.minor_version = payload.manifest.minor_version
572 self.payload.manifest.install_operations, 'rootfs',
574 self.payload.manifest.new_rootfs_info, old_rootfs_part,
575 self.payload.manifest.old_rootfs_info)
579 self.payload.manifest.kernel_install_operations, 'kernel',
581 self.payload.manifest.new_kernel_info, old_kernel_part,
582 self.payload.manifest.old_kernel_info)
Dblock_tracer.py107 operations = self.payload.manifest.kernel_install_operations
110 operations = self.payload.manifest.install_operations
Dchecker.py517 self.minor_version = self._CheckOptionalField(self.payload.manifest,
545 manifest = self.payload.manifest
549 actual_block_size = self._CheckMandatoryField(manifest, 'block_size',
556 self.sigs_offset = self._CheckOptionalField(manifest, 'signatures_offset',
558 self.sigs_size = self._CheckOptionalField(manifest, 'signatures_size',
564 oki_msg, oki_report = self._CheckOptionalSubMsg(manifest,
566 ori_msg, ori_report = self._CheckOptionalSubMsg(manifest,
605 manifest, 'new_kernel_info', report, 'manifest')
613 manifest, 'new_rootfs_info', report, 'manifest')
1140 last_ops_section = (self.payload.manifest.kernel_install_operations or
[all …]
Dchecker_unittest.py95 payload.manifest = self.mox.CreateMock(
985 args = (payload_checker.payload.manifest.install_operations, report,
1075 payload.manifest.minor_version = minor_version
/system/libvintf/
DVintfObject.cpp155 std::unique_ptr<HalManifest> manifest; member
164 const HalManifest *manifest; member
185 parseStatus = tryParse(xml, gHalManifestConverter, &pkg.fwk.manifest, &pkg.dev.manifest); in checkCompatibility()
210 pkg.fwk.manifest.get(), mount, mountSystem, &updated.fwk.manifest, in checkCompatibility()
215 pkg.dev.manifest.get(), mount, mountVendor, &updated.dev.manifest, in checkCompatibility()
240 if (updated.fwk.manifest == nullptr) { in checkCompatibility()
244 if (updated.dev.manifest == nullptr) { in checkCompatibility()
263 if (updated.dev.manifest && updated.fwk.matrix) { in checkCompatibility()
264 if (!updated.dev.manifest->checkCompatibility(*updated.fwk.matrix, error)) { in checkCompatibility()
271 if (updated.fwk.manifest && updated.dev.matrix) { in checkCompatibility()
[all …]
/system/update_engine/payload_generator/
Dpayload_signer.cc94 DeltaArchiveManifest manifest; in AddSignatureBlobToPayload() local
100 &manifest, in AddSignatureBlobToPayload()
126 if (manifest.has_signatures_size()) { in AddSignatureBlobToPayload()
131 if (manifest.signatures_size() != signature_blob.size()) { in AddSignatureBlobToPayload()
133 << "(current:" << manifest.signatures_size() in AddSignatureBlobToPayload()
145 &manifest); in AddSignatureBlobToPayload()
149 TEST_AND_RETURN_FALSE(manifest.AppendToString(&serialized_manifest)); in AddSignatureBlobToPayload()
166 manifest.signatures_offset(); in AddSignatureBlobToPayload()
217 DeltaArchiveManifest* manifest) { in AddSignatureToManifest() argument
219 manifest->set_signatures_offset(signature_blob_offset); in AddSignatureToManifest()
[all …]
Dpayload_signer_unittest.cc137 DeltaArchiveManifest manifest; in DoWriteAndLoadPayloadTest() local
141 &manifest, in DoWriteAndLoadPayloadTest()
Dpayload_signer.h62 DeltaArchiveManifest* manifest);
/system/libvintf/test/
Dmain.cpp891 HalManifest manifest; in TEST_F() local
892 EXPECT_TRUE(gHalManifestConverter(&manifest, manifestXml)); in TEST_F()
893 EXPECT_TRUE(manifest.checkCompatibility(matrix, &error)) << error; in TEST_F()
913 HalManifest manifest; in TEST_F() local
914 EXPECT_TRUE(gHalManifestConverter(&manifest, manifestXml)); in TEST_F()
915 EXPECT_FALSE(manifest.checkCompatibility(matrix, &error)) in TEST_F()
944 HalManifest manifest; in TEST_F() local
945 EXPECT_TRUE(gHalManifestConverter(&manifest, manifestXml)); in TEST_F()
946 EXPECT_FALSE(manifest.checkCompatibility(matrix, &error)) in TEST_F()
976 HalManifest manifest; in TEST_F() local
[all …]
/system/sepolicy/prebuilts/api/26.0/public/
Disolated_app.te2 ### Services with isolatedProcess=true in their manifest.
/system/sepolicy/public/
Disolated_app.te2 ### Services with isolatedProcess=true in their manifest.
/system/nvram/core/tests/
Drules.mk25 $(LOCAL_DIR)/manifest.c
/system/sepolicy/prebuilts/api/26.0/private/
Disolated_app.te2 ### Services with isolatedProcess=true in their manifest.
Dfile_contexts283 /(vendor|system/vendor)/manifest.xml u:object_r:vendor_configs_file:s0
/system/sepolicy/private/
Disolated_app.te2 ### Services with isolatedProcess=true in their manifest.
Dfile_contexts290 /(vendor|system/vendor)/manifest.xml u:object_r:vendor_configs_file:s0
/system/update_engine/
Dupdate_metadata.proto29 // char manifest[];
/system/extras/simpleperf/
DREADME.md492 It means [android:debuggable](https://developer.android.com/guide/topics/manifest/application-eleme…