/system/apex/apexd/ |
D | apex_manifest_test.cpp | 30 std::string ToString(const ApexManifest& manifest) { in ToString() argument 32 manifest.SerializeToString(&out); in ToString() 39 ApexManifest manifest; in TEST() local 40 manifest.set_name("com.android.example.apex"); in TEST() 41 manifest.set_version(1); in TEST() 42 auto apex_manifest = ParseManifest(ToString(manifest)); in TEST() 50 ApexManifest manifest; in TEST() local 51 manifest.set_version(1); in TEST() 52 auto apex_manifest = ParseManifest(ToString(manifest)); in TEST() 60 ApexManifest manifest; in TEST() local [all …]
|
D | apexd_private.h | 35 std::string GetPackageMountPoint(const ApexManifest& manifest); 36 std::string GetPackageTempMountPoint(const ApexManifest& manifest); 37 std::string GetActiveMountPoint(const ApexManifest& manifest);
|
/system/linkerconfig/modules/ |
D | apex.cc | 39 for (const auto& [path, manifest] : apex::GetActivePackages(apex_root)) { in ScanActiveApexes() 42 ApexInfo info(manifest.name(), in ScanActiveApexes() 44 {manifest.providenativelibs().begin(), in ScanActiveApexes() 45 manifest.providenativelibs().end()}, in ScanActiveApexes() 46 {manifest.requirenativelibs().begin(), in ScanActiveApexes() 47 manifest.requirenativelibs().end()}, in ScanActiveApexes() 48 {manifest.jnilibs().begin(), manifest.jnilibs().end()}, in ScanActiveApexes() 51 apexes.emplace(manifest.name(), std::move(info)); in ScanActiveApexes()
|
/system/update_engine/scripts/ |
D | payload_info.py | 72 manifest = self.payload.manifest 73 DisplayValue('Number of partitions', len(manifest.partitions)) 74 for partition in manifest.partitions: 78 DisplayValue('Block size', manifest.block_size) 79 DisplayValue('Minor version', manifest.minor_version) 97 manifest = self.payload.manifest 98 if manifest.HasField('signatures_offset'): 99 signature_msg = 'blob_offset=%d' % manifest.signatures_offset 100 if manifest.signatures_size: 101 signature_msg += ' (%d bytes)' % manifest.signatures_size [all …]
|
/system/libvintf/test/ |
D | LibVintfTest.cpp | 266 HalManifest manifest; in TEST_F() local 267 EXPECT_TRUE(gHalManifestConverter(&manifest, manifestXml)); in TEST_F() 268 EXPECT_EQ(expectedManifest, manifest); in TEST_F() 1009 HalManifest manifest; in TEST_F() local 1010 EXPECT_TRUE(gHalManifestConverter(&manifest, manifestXml)); in TEST_F() 1011 EXPECT_TRUE(manifest.checkCompatibility(matrix, &error)) << error; in TEST_F() 1031 HalManifest manifest; in TEST_F() local 1032 EXPECT_TRUE(gHalManifestConverter(&manifest, manifestXml)); in TEST_F() 1033 EXPECT_FALSE(manifest.checkCompatibility(matrix, &error)) in TEST_F() 1062 HalManifest manifest; in TEST_F() local [all …]
|
/system/apex/libs/libapexutil/ |
D | apexutil.cpp | 41 ApexManifest manifest; in ParseApexManifest() local 42 if (!manifest.ParseFromString(content)) { in ParseApexManifest() 45 return manifest; in ParseApexManifest() 71 auto manifest = ParseApexManifest(apex_path + "/apex_manifest.pb"); in GetActivePackages() local 72 if (manifest.ok()) { in GetActivePackages() 73 apexes.emplace(std::move(apex_path), std::move(*manifest)); in GetActivePackages() 75 LOG(WARNING) << manifest.error(); in GetActivePackages()
|
D | apexutil_test.cpp | 42 ApexManifest manifest; in CreateApexManifest() local 43 manifest.set_name(apex_name); in CreateApexManifest() 44 manifest.set_version(version); in CreateApexManifest() 45 return manifest; in CreateApexManifest()
|
/system/update_engine/ |
D | dynamic_partition_test_utils.h | 122 inline DynamicPartitionGroup* AddGroup(DeltaArchiveManifest* manifest, in AddGroup() argument 125 auto* g = manifest->mutable_dynamic_partition_metadata()->add_groups(); in AddGroup() 131 inline void AddPartition(DeltaArchiveManifest* manifest, in AddPartition() argument 136 auto* p = manifest->add_partitions(); in AddPartition() 145 DeltaArchiveManifest manifest; in PartitionSuffixSizesToManifest() local 147 AddGroup(&manifest, std::string(kDefaultGroup) + suffix, kDefaultGroupSize); in PartitionSuffixSizesToManifest() 155 &manifest, in PartitionSuffixSizesToManifest() 156 manifest.mutable_dynamic_partition_metadata()->mutable_groups( in PartitionSuffixSizesToManifest() 163 return manifest; in PartitionSuffixSizesToManifest() 169 DeltaArchiveManifest manifest; in PartitionSizesToManifest() local [all …]
|
D | dynamic_partition_control_android.cc | 402 const DeltaArchiveManifest& manifest, in PreparePartitionsForUpdate() argument 440 is_target_dynamic_ = !manifest.dynamic_partition_metadata().groups().empty(); in PreparePartitionsForUpdate() 446 manifest.dynamic_partition_metadata().snapshot_enabled(); in PreparePartitionsForUpdate() 462 source_slot, target_slot, manifest, required_size)) { in PreparePartitionsForUpdate() 500 source_slot, target_slot, manifest, delete_source)); in PreparePartitionsForUpdate() 721 const DeltaArchiveManifest& manifest, in PrepareDynamicPartitionsForUpdate() argument 727 for (const auto& group : manifest.dynamic_partition_metadata().groups()) { in PrepareDynamicPartitionsForUpdate() 752 DeleteSourcePartitions(builder.get(), source_slot, manifest)); in PrepareDynamicPartitionsForUpdate() 755 if (!UpdatePartitionMetadata(builder.get(), target_slot, manifest)) { in PrepareDynamicPartitionsForUpdate() 767 const DeltaArchiveManifest& manifest, in PrepareSnapshotPartitionsForUpdate() argument [all …]
|
D | dynamic_partition_control_android.h | 46 const DeltaArchiveManifest& manifest, 192 const DeltaArchiveManifest& manifest, 210 const DeltaArchiveManifest& manifest); 216 const DeltaArchiveManifest& manifest, 246 const DeltaArchiveManifest& manifest);
|
/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(); 53 method public java.util.List<hal.manifest.Hal> getHal(); 54 method public hal.manifest.Kernel getKernel(); 55 method public hal.manifest.Sepolicy getSepolicy(); 56 method public hal.manifest.SystemSdk getSystemSdk(); 59 method public java.util.List<hal.manifest.VendorNdk> getVendorNdk(); [all …]
|
/system/update_engine/payload_generator/ |
D | payload_properties.cc | 92 DeltaArchiveManifest manifest; in LoadFromPayload() local 95 payload_path_, &manifest, &metadata_signatures)); in LoadFromPayload() 122 is_delta_ = manifest.has_old_image_info() || in LoadFromPayload() 123 std::any_of(manifest.partitions().begin(), in LoadFromPayload() 124 manifest.partitions().end(), in LoadFromPayload() 129 if (manifest.has_new_image_info()) { in LoadFromPayload() 130 target_version_ = manifest.new_image_info().version(); in LoadFromPayload() 136 if (is_delta_ && manifest.has_old_image_info()) { in LoadFromPayload() 137 source_version_ = manifest.old_image_info().version(); in LoadFromPayload()
|
D | payload_signer.cc | 122 DeltaArchiveManifest manifest; in AddSignatureBlobToPayload() local 123 TEST_AND_RETURN_FALSE(payload_metadata.GetManifest(payload, &manifest)); in AddSignatureBlobToPayload() 126 if (manifest.has_signatures_size()) { in AddSignatureBlobToPayload() 131 if (manifest.signatures_size() != payload_signature.size()) { in AddSignatureBlobToPayload() 133 << "(current:" << manifest.signatures_size() in AddSignatureBlobToPayload() 144 &manifest); in AddSignatureBlobToPayload() 148 TEST_AND_RETURN_FALSE(manifest.AppendToString(&serialized_manifest)); in AddSignatureBlobToPayload() 165 metadata_size + metadata_signature_size + manifest.signatures_offset(); in AddSignatureBlobToPayload() 241 DeltaArchiveManifest* manifest) { in AddSignatureToManifest() argument 243 manifest->set_signatures_offset(signature_blob_offset); in AddSignatureToManifest() [all …]
|
/system/linkerconfig/modules/tests/ |
D | apex_testbase.h | 36 ::apex::proto::ApexManifest manifest; in PrepareApex() 37 manifest.set_name(apex_name); in PrepareApex() 39 manifest.add_providenativelibs(lib); in PrepareApex() 42 manifest.add_requirenativelibs(lib); in PrepareApex() 45 manifest.add_jnilibs(lib); in PrepareApex() 48 manifest.SerializeAsString()); in PrepareApex()
|
/system/apex/apexer/ |
D | apex_manifest.py | 51 manifest = apex_manifest_pb2.ApexManifest() 52 manifest.ParseFromString(manifestFile.read()) 53 return manifest 55 def toJsonString(manifest): argument 56 return MessageToJson(manifest, indent=2)
|
D | apexer.py | 36 from manifest import android_ns 37 from manifest import find_child_with_attribute 38 from manifest import get_children_with_tag 39 from manifest import get_indent 40 from manifest import parse_manifest 41 from manifest import write_xml 262 if not os.path.exists(args.manifest): 263 print("Manifest file '" + args.manifest + "' does not exist") 266 if not os.path.isfile(args.manifest): 267 print("Manifest file '" + args.manifest + "' is not a file") [all …]
|
/system/libhidl/vintfdata/ |
D | Android.mk | 25 SYSTEM_MANIFEST_INPUT_FILES := $(LOCAL_PATH)/manifest.xml 72 LOCAL_MODULE_STEM := manifest.xml 76 GEN := $(local-generated-sources-dir)/manifest.xml 92 LOCAL_MODULE_STEM := manifest.xml 96 GEN := $(local-generated-sources-dir)/manifest.xml 110 LOCAL_MODULE_STEM := manifest.xml 114 GEN := $(local-generated-sources-dir)/manifest.xml
|
/system/apex/apexer/testdata/ |
D | Android.bp | 30 manifest: "manifest.json", 40 manifest: "manifest.json", 51 manifest: "manifest.json", 62 manifest: "manifest.json",
|
/system/update_engine/scripts/update_payload/ |
D | test_utils.py | 147 self.manifest = update_metadata_pb2.DeltaArchiveManifest() 175 _SetMsgField(self.manifest, 'block_size', block_size) 186 partition = next((x for x in self.manifest.partitions 189 partition = self.manifest.partitions.add() 201 partition = next((x for x in self.manifest.partitions 204 partition = self.manifest.partitions.add() 224 _SetMsgField(self.manifest, 'signatures_offset', sigs_offset) 225 _SetMsgField(self.manifest, 'signatures_size', sigs_size) 229 _SetMsgField(self.manifest, 'minor_version', minor_version) 252 manifest = self.manifest.SerializeToString() [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) 267 for partition in self.manifest.partitions))
|
/system/apex/apexd/apexd_testdata/ |
D | Android.bp | 27 manifest: "manifest.json", 37 manifest: "manifest.json", 50 manifest: "manifest.json", 63 manifest: "manifest_v2.json", 72 manifest: "manifest_v2.json", 90 manifest: "manifest_v3.json", 106 manifest: "manifest_preinstall.json", 123 manifest: "manifest_postinstall.json", 140 manifest: "manifest_prepostinstall.fail.json", 157 manifest: "manifest_no_inst_key.json", [all …]
|
/system/update_engine/payload_consumer/ |
D | delta_performer_unittest.cc | 172 void RunManifestValidation(const DeltaArchiveManifest& manifest, in RunManifestValidation() argument 179 performer_.manifest_.CopyFrom(manifest); in RunManifestValidation() 770 DeltaArchiveManifest manifest; in TEST_F() local 772 auto part = manifest.add_partitions(); in TEST_F() 776 manifest.set_minor_version(kFullPayloadMinorVersion); in TEST_F() 778 RunManifestValidation(manifest, in TEST_F() 786 DeltaArchiveManifest manifest; in TEST_F() local 788 auto part = manifest.add_partitions(); in TEST_F() 793 manifest.set_minor_version(kMaxSupportedMinorPayloadVersion); in TEST_F() 795 RunManifestValidation(manifest, in TEST_F() [all …]
|
D | delta_performer_integration_test.cc | 638 DeltaArchiveManifest manifest; in ApplyDeltaFile() local 639 EXPECT_TRUE(payload_metadata.GetManifest(state->delta, &manifest)); in ApplyDeltaFile() 641 EXPECT_FALSE(manifest.has_signatures_offset()); in ApplyDeltaFile() 642 EXPECT_FALSE(manifest.has_signatures_size()); in ApplyDeltaFile() 644 EXPECT_TRUE(manifest.has_signatures_offset()); in ApplyDeltaFile() 645 EXPECT_TRUE(manifest.has_signatures_size()); in ApplyDeltaFile() 649 manifest.signatures_offset()], in ApplyDeltaFile() 650 manifest.signatures_size())); in ApplyDeltaFile() 668 EXPECT_EQ(expected_sig_data_length, manifest.signatures_size()); in ApplyDeltaFile() 676 manifest.partitions().begin(), in ApplyDeltaFile() [all …]
|
/system/teeui/tools/framebufferizer/ |
D | Android.bp | 7 manifest: "manifest-teeui-framebufferizer.mf",
|
/system/core/fs_mgr/libsnapshot/ |
D | snapshot_metadata_updater.cpp | 40 const DeltaArchiveManifest& manifest) in SnapshotMetadataUpdater() argument 42 partial_update_ = manifest.partial_update(); in SnapshotMetadataUpdater() 44 if (!manifest.has_dynamic_partition_metadata()) { in SnapshotMetadataUpdater() 51 const auto& metadata_groups = manifest.dynamic_partition_metadata().groups(); in SnapshotMetadataUpdater() 60 for (const auto& p : manifest.partitions()) { in SnapshotMetadataUpdater()
|