/system/update_engine/scripts/ |
D | payload_info.py | 71 manifest = self.payload.manifest 73 DisplayValue('Number of partitions', len(manifest.partitions)) 74 for partition in manifest.partitions: 78 DisplayValue('Number of operations', len(manifest.install_operations)) 80 len(manifest.kernel_install_operations)) 81 DisplayValue('Block size', manifest.block_size) 82 DisplayValue('Minor version', manifest.minor_version) 100 manifest = self.payload.manifest 101 if manifest.HasField('signatures_offset'): 102 signature_msg = 'blob_offset=%d' % manifest.signatures_offset [all …]
|
/system/libvintf/test/ |
D | LibVintfTest.cpp | 262 HalManifest manifest; in TEST_F() local 263 EXPECT_TRUE(gHalManifestConverter(&manifest, manifestXml)); in TEST_F() 264 EXPECT_EQ(expectedManifest, manifest); in TEST_F() 1005 HalManifest manifest; in TEST_F() local 1006 EXPECT_TRUE(gHalManifestConverter(&manifest, manifestXml)); in TEST_F() 1007 EXPECT_TRUE(manifest.checkCompatibility(matrix, &error)) << error; in TEST_F() 1027 HalManifest manifest; in TEST_F() local 1028 EXPECT_TRUE(gHalManifestConverter(&manifest, manifestXml)); in TEST_F() 1029 EXPECT_FALSE(manifest.checkCompatibility(matrix, &error)) in TEST_F() 1058 HalManifest manifest; in TEST_F() local [all …]
|
D | AssembleVintfTest.cpp | 196 auto manifest = [](size_t level) { in TEST_F() local 230 getInstance()->setCheckInputStream(makeStream(manifest(1))); in TEST_F() 247 getInstance()->setCheckInputStream(makeStream(manifest(2))); in TEST_F() 264 getInstance()->setCheckInputStream(makeStream(manifest(3))); in TEST_F()
|
/system/libvintf/xsd/halManifest/api/ |
D | current.txt | 2 package hal.manifest { 10 method public hal.manifest.Hal.Transport getTransport(); 12 method public java.util.List<hal.manifest.Interface> get_interface(); 16 method public void setTransport(hal.manifest.Hal.Transport); 36 method public java.util.List<hal.manifest.Kernel.Config> getConfig(); 51 method public java.util.List<hal.manifest.Hal> getHal(); 52 method public hal.manifest.Kernel getKernel(); 53 method public hal.manifest.Sepolicy getSepolicy(); 54 method public hal.manifest.SystemSdk getSystemSdk(); 57 method public java.util.List<hal.manifest.VendorNdk> getVendorNdk(); [all …]
|
/system/update_engine/payload_consumer/ |
D | delta_performer_unittest.cc | 165 void RunManifestValidation(const DeltaArchiveManifest& manifest, in RunManifestValidation() argument 172 performer_.manifest_.CopyFrom(manifest); in RunManifestValidation() 761 DeltaArchiveManifest manifest; in TEST_F() local 762 manifest.mutable_new_kernel_info(); in TEST_F() 763 manifest.mutable_new_rootfs_info(); in TEST_F() 764 manifest.set_minor_version(kFullPayloadMinorVersion); in TEST_F() 766 RunManifestValidation(manifest, in TEST_F() 774 DeltaArchiveManifest manifest; in TEST_F() local 775 manifest.mutable_old_kernel_info(); in TEST_F() 776 manifest.mutable_old_rootfs_info(); in TEST_F() [all …]
|
D | delta_performer_integration_test.cc | 582 DeltaArchiveManifest manifest; in ApplyDeltaFile() local 583 EXPECT_TRUE(payload_metadata.GetManifest(state->delta, &manifest)); in ApplyDeltaFile() 585 EXPECT_FALSE(manifest.has_signatures_offset()); in ApplyDeltaFile() 586 EXPECT_FALSE(manifest.has_signatures_size()); in ApplyDeltaFile() 588 EXPECT_TRUE(manifest.has_signatures_offset()); in ApplyDeltaFile() 589 EXPECT_TRUE(manifest.has_signatures_size()); in ApplyDeltaFile() 592 &state->delta[state->metadata_size + manifest.signatures_offset()], in ApplyDeltaFile() 593 manifest.signatures_size())); in ApplyDeltaFile() 610 EXPECT_EQ(expected_sig_data_length, manifest.signatures_size()); in ApplyDeltaFile() 615 EXPECT_EQ(0, manifest.install_operations_size()); in ApplyDeltaFile() [all …]
|
/system/update_engine/scripts/update_payload/ |
D | test_utils.py | 146 self.manifest = update_metadata_pb2.DeltaArchiveManifest() 174 _SetMsgField(self.manifest, 'block_size', block_size) 186 part_info = (self.manifest.new_kernel_info if is_new 187 else self.manifest.old_kernel_info) 189 part_info = (self.manifest.new_rootfs_info if is_new 190 else self.manifest.old_rootfs_info) 198 operations = (self.manifest.kernel_install_operations if is_kernel 199 else self.manifest.install_operations) 217 _SetMsgField(self.manifest, 'signatures_offset', sigs_offset) 218 _SetMsgField(self.manifest, 'signatures_size', sigs_size) [all …]
|
D | payload.py | 127 self.manifest = None 215 self.manifest = update_metadata_pb2.DeltaArchiveManifest() 216 self.manifest.ParseFromString(manifest_raw) 248 if self.manifest.HasField('old_image_info'): 249 _DescribeImageInfo('Old Image', self.manifest.old_image_info) 251 if self.manifest.HasField('new_image_info'): 252 _DescribeImageInfo('New Image', self.manifest.new_image_info) 266 return (self.manifest.HasField('old_kernel_info') or 267 self.manifest.HasField('old_rootfs_info') or 269 for partition in self.manifest.partitions))
|
D | checker.py | 583 self.minor_version = self._CheckOptionalField(self.payload.manifest, 613 manifest = self.payload.manifest 617 actual_block_size = self._CheckMandatoryField(manifest, 'block_size', 624 self.sigs_offset = self._CheckOptionalField(manifest, 'signatures_offset', 626 self.sigs_size = self._CheckOptionalField(manifest, 'signatures_size', 634 manifest, 'old_%s_info' % proto_name, report) 636 manifest, 'new_%s_info' % proto_name, report, 'manifest') 643 for part in manifest.partitions: 652 self._CheckElemNotPresent(manifest, 'old_%s_info' % part, 'manifest') 653 self._CheckElemNotPresent(manifest, 'new_%s_info' % part, 'manifest') [all …]
|
D | applier.py | 237 self.block_size = payload.manifest.block_size 238 self.minor_version = payload.manifest.minor_version 641 manifest = self.payload.manifest 644 new_part_info[real_name] = getattr(manifest, 'new_%s_info' % proto_name) 645 old_part_info[real_name] = getattr(manifest, 'old_%s_info' % proto_name) 647 install_operations.append((common.ROOTFS, manifest.install_operations)) 649 manifest.kernel_install_operations)) 651 for part in manifest.partitions:
|
/system/update_engine/payload_generator/ |
D | payload_signer.cc | 117 DeltaArchiveManifest manifest; in AddSignatureBlobToPayload() local 118 TEST_AND_RETURN_FALSE(payload_metadata.GetManifest(payload, &manifest)); in AddSignatureBlobToPayload() 121 if (manifest.has_signatures_size()) { in AddSignatureBlobToPayload() 126 if (manifest.signatures_size() != payload_signature.size()) { in AddSignatureBlobToPayload() 128 << "(current:" << manifest.signatures_size() in AddSignatureBlobToPayload() 140 &manifest); in AddSignatureBlobToPayload() 144 TEST_AND_RETURN_FALSE(manifest.AppendToString(&serialized_manifest)); in AddSignatureBlobToPayload() 161 metadata_size + metadata_signature_size + manifest.signatures_offset(); in AddSignatureBlobToPayload() 211 DeltaArchiveManifest* manifest) { in AddSignatureToManifest() argument 213 manifest->set_signatures_offset(signature_blob_offset); in AddSignatureToManifest() [all …]
|
/system/libhidl/vintfdata/ |
D | Android.mk | 25 FRAMEWORK_MANIFEST_INPUT_FILES := $(LOCAL_PATH)/manifest.xml 68 LOCAL_MODULE_STEM := manifest.xml 72 GEN := $(local-generated-sources-dir)/manifest.xml 91 LOCAL_MODULE_STEM := manifest.xml 94 GEN := $(local-generated-sources-dir)/manifest.xml
|
/system/apex/apexd/apexd_testdata/ |
D | Android.bp | 27 manifest: "manifest.json", 36 manifest: "manifest_v2.json", 52 manifest: "manifest_preinstall.json", 69 manifest: "manifest_postinstall.json", 86 manifest: "manifest_prepostinstall.fail.json", 103 manifest: "manifest_no_inst_key.json", 119 manifest: "manifest_different_app.json",
|
/system/apex/shim/build/ |
D | Android.bp | 53 manifest: "manifest_v3.json", 62 manifest: "manifest_v2.json", 86 manifest: "manifest_v2.json", 102 manifest: "manifest_v2.json", 119 manifest: "manifest_v2.json", 128 manifest: "manifest_v2_with_pre_install_hook.json", 137 manifest: "manifest_v2_with_post_install_hook.json", 167 manifest: "manifest.json", 197 manifest: "manifest_not_pre_installed.json",
|
/system/apex/apexd/ |
D | apexd_private.h | 37 std::string GetPackageMountPoint(const ApexManifest& manifest); 38 std::string GetActiveMountPoint(const ApexManifest& manifest);
|
D | apexd.cpp | 612 std::string GetPackageTempMountPoint(const ApexManifest& manifest) { in GetPackageTempMountPoint() argument 614 apexd_private::GetPackageMountPoint(manifest).c_str()); in GetPackageTempMountPoint() 1028 const ApexManifest& manifest = apex.GetManifest(); in UnmountPackage() local 1039 gMountedApexes.ForallMountedApexes(manifest.name(), fn); in UnmountPackage() 1050 std::string mount_point = apexd_private::GetActiveMountPoint(manifest); in UnmountPackage() 1062 gMountedApexes.RemoveMountedApex(manifest.name(), apex.GetPath()); in UnmountPackage() 1098 std::string GetPackageMountPoint(const ApexManifest& manifest) { in GetPackageMountPoint() argument 1099 return StringPrintf("%s/%s", kApexRoot, GetPackageId(manifest).c_str()); in GetPackageMountPoint() 1102 std::string GetActiveMountPoint(const ApexManifest& manifest) { in GetActiveMountPoint() argument 1103 return StringPrintf("%s/%s", kApexRoot, manifest.name().c_str()); in GetActiveMountPoint() [all …]
|
D | apexd_prepostinstall.cpp | 162 const ApexManifest& manifest = apex_file->GetManifest(); in RunFnInstall() local 163 hook = (manifest.*fn)(); in RunFnInstall() 164 mount_point = apexd_private::GetPackageMountPoint(manifest); in RunFnInstall() 165 active_point = apexd_private::GetActiveMountPoint(manifest); in RunFnInstall()
|
D | apex_file.h | 61 size_t image_size, ApexManifest& manifest, in ApexFile() argument 67 manifest_(std::move(manifest)), in ApexFile()
|
/system/apex/apexer/ |
D | apexer.py | 149 if not os.path.exists(args.manifest): 150 print("Manifest file '" + args.manifest + "' does not exist") 153 if not os.path.isfile(args.manifest): 154 print("Manifest file '" + args.manifest + "' is not a file") 201 with open(args.manifest, "r") as f: 205 print("'" + args.manifest + "' is not a valid manifest file") 209 print("Cannot read manifest file: '" + args.manifest + "'") 226 print('Copying ' + args.manifest + ' to ' + manifest_file) 227 shutil.copyfile(args.manifest, manifest_file) 346 shutil.copyfile(args.manifest, os.path.join(content_dir, 'apex_manifest.json'))
|
/system/timezone/zone_compactor/ |
D | Android.bp | 19 manifest: "main/manifest/MANIFEST.mf",
|
/system/core/adb/fastdeploy/ |
D | Android.bp | 35 manifest: "deploypatchgenerator/manifest.txt",
|
/system/timezone/tzlookup_generator/ |
D | Android.bp | 30 manifest: "src/main/manifest/MANIFEST.mf",
|
/system/tools/xsdc/ |
D | Android.bp | 7 manifest: "MANIFEST.MF"
|
/system/libvintf/ |
D | AssembleVintf.cpp | 264 bool checkDualFile(const HalManifest& manifest, const CompatibilityMatrix& matrix) { in checkDualFile() argument 267 if (!manifest.checkCompatibility(matrix, &error)) { in checkDualFile() 275 auto unused = manifest.checkUnusedHals(matrix); in checkDualFile() 312 bool setDeviceManifestKernel(HalManifest* manifest) { in setDeviceManifestKernel() argument 335 manifest->device.mKernel = std::make_optional<KernelInfo>(); in setDeviceManifestKernel() 336 manifest->device.mKernel->mVersion = kernelVer; in setDeviceManifestKernel() 337 manifest->device.mKernel->mConfigs = parser.configs(); in setDeviceManifestKernel() 446 bool setDeviceFcmVersion(HalManifest* manifest) { in setDeviceFcmVersion() argument 454 if (manifest->level() != Level::UNSPECIFIED) { in setDeviceFcmVersion() 458 manifest->mLevel = Level::LEGACY; in setDeviceFcmVersion() [all …]
|
/system/timezone/testing/data/test1/apex/ |
D | Android.bp | 22 manifest: "manifest.json",
|