Home
last modified time | relevance | path

Searched refs:partition (Results 1 – 25 of 86) sorted by relevance

1234

/build/make/core/packaging/
Dflags.mk31 define generate-partition-aconfig-flag-file
45 $(foreach partition, $(_FLAG_PARTITIONS), \
46 …$(eval aconfig_flag_summaries_protobuf.$(partition) := $(PRODUCT_OUT)/$(partition)/etc/aconfig_fla…
47 $(eval $(call generate-partition-aconfig-flag-file, \
48 $(TARGET_OUT_FLAGS)/$(partition)/aconfig_flags.pb, \
49 $(aconfig_flag_summaries_protobuf.$(partition)), \
50 $(sort $(foreach m,$(call register-names-for-partition, $(partition)), \
58 $(sort $(foreach partition, $(filter $(IMAGES_TO_BUILD), $(_FLAG_PARTITIONS)), \
59 $(aconfig_flag_summaries_protobuf.$(partition)) \
64 $(eval $(call generate-partition-aconfig-flag-file, \
[all …]
/build/make/core/
Dbuild_rro_package.mk18 partition :=
20 partition := $(TARGET_OUT_ODM)
22 partition := $(TARGET_OUT_VENDOR)
24 partition := $(TARGET_OUT_SYSTEM_EXT)
26 partition := $(TARGET_OUT_PRODUCT)
30 LOCAL_MODULE_PATH := $(partition)/overlay
32 LOCAL_MODULE_PATH := $(partition)/overlay/$(LOCAL_RRO_THEME)
41 partition :=
Drelease_config.scl98 fail("At least 1 partition is required")
103 for partition in partitions:
104 if partition == "all":
107 elif partition not in _flag_partitions:
108 fail("Invalid partition: " + partition + ", allowed partitions: " +
200 # Record which flags go on which partition
203 for partition in flag["partitions"]:
204 if partition == "all":
207 for partition in _flag_partitions:
208 partitions.setdefault(partition, []).append(flag["name"])
[all …]
/build/make/tools/releasetools/merge/
Dmerge_utils.py210 partition = partition_match.group(1).lower()
212 if partition not in ('meta', 'images', 'prebuilt_images'):
213 partition_set.add(partition)
251 partition = namelist.split('/')[0].lower()
254 if partition == 'meta':
257 if partition in ('images', 'prebuilt_images'):
276 if partition in seen_partitions:
278 seen_partitions.append(partition)
280 if (framework and partition in _FRAMEWORK_PARTITIONS) or (
281 not framework and partition not in _FRAMEWORK_PARTITIONS):
[all …]
Dmerge_compatibility_checks.py46 partition: path
47 for partition, path in partition_map.items()
48 if partition in ('system', 'system_ext', 'product', 'vendor', 'odm')
112 def get_file(partition, path): argument
113 if partition not in partition_map:
115 partition)
117 file_path = os.path.join(target_files_dir, partition_map[partition], path)
191 for partition in partition_map.keys():
194 target_files_dir, partition)
Dmerge_builds.py124 for partition in common.AVB_PARTITIONS:
126 "%s.img" % partition)
128 partitions[partition] = partition_path
134 for partition in common.AVB_VBMETA_PARTITIONS:
135 chained_partitions = merged_dict.get("avb_%s" % partition, "").strip()
137 partitions[partition] = os.path.join(OPTIONS.product_out_vendor,
138 "%s.img" % partition)
143 vbmeta_partitions.append(partition)
/build/make/tools/releasetools/testdata/
Dapkcerts_vendor.txt1 name="TestSystem1.apk" certificate="not_selected" private_key="not_selected" partition="system"
2 name="TestSystem2.apk" certificate="not_selected" private_key="not_selected" partition="system"
3 …y/testkey.x509.pem" private_key="build/make/target/product/security/testkey.pk8" partition="vendor"
4 …rity/testkey.x509.pem" private_key="build/make/target/product/security/testkey.pk8" partition="odm"
5 name="TestProduct.apk" certificate="not_selected" private_key="not_selected" partition="product"
6 name="TestSystemExt.apk" certificate="not_selected" private_key="not_selected" partition="system_ex…
Dapkcerts_framework.txt1 …y/testkey.x509.pem" private_key="build/make/target/product/security/testkey.pk8" partition="system"
2 …y/testkey.x509.pem" private_key="build/make/target/product/security/testkey.pk8" partition="system"
3 name="TestVendor.apk" certificate="not_selected" private_key="not_selected" partition="vendor"
4 name="TestOdm.apk" certificate="not_selected" private_key="not_selected" partition="odm"
5 …/testkey.x509.pem" private_key="build/make/target/product/security/testkey.pk8" partition="product"
6 …stkey.x509.pem" private_key="build/make/target/product/security/testkey.pk8" partition="system_ext"
Dapexkeys_vendor.txt1 …ected" container_certificate="not_selected" container_private_key="not_selected" partition="system"
2 …cted" container_certificate="not_selected" container_private_key="not_selected" partition="product"
3 …ected" container_certificate="not_selected" container_private_key="not_selected" partition="system"
4 … container_private_key="packages/modules/vndk/apex/com.android.vndk.current.pk8" partition="vendor"
5 …d" container_certificate="not_selected" container_private_key="not_selected" partition="system_ext"
6 …d" container_certificate="not_selected" container_private_key="not_selected" partition="system_ext"
7 …d" container_certificate="not_selected" container_private_key="not_selected" partition="system_ext"
Dapkcerts_merge.txt1 …rity/testkey.x509.pem" private_key="build/make/target/product/security/testkey.pk8" partition="odm"
2 …/testkey.x509.pem" private_key="build/make/target/product/security/testkey.pk8" partition="product"
3 …y/testkey.x509.pem" private_key="build/make/target/product/security/testkey.pk8" partition="system"
4 …y/testkey.x509.pem" private_key="build/make/target/product/security/testkey.pk8" partition="system"
5 …stkey.x509.pem" private_key="build/make/target/product/security/testkey.pk8" partition="system_ext"
6 …y/testkey.x509.pem" private_key="build/make/target/product/security/testkey.pk8" partition="vendor"
Dapexkeys_framework.txt1 …9.pem" container_private_key="external/conscrypt/apex/com.android.conscrypt.pk8" partition="system"
2 …ey="selected" container_certificate="selected" container_private_key="selected" partition="product"
3 …id.runtime.x509.pem" container_private_key="bionic/apex/com.android.runtime.pk8" partition="system"
4 …ected" container_certificate="not_selected" container_private_key="not_selected" partition="vendor"
5 … container_private_key="packages/modules/vndk/apex/com.android.vndk.v27.pk8" partition="system_ext"
6 … container_private_key="packages/modules/vndk/apex/com.android.vndk.v28.pk8" partition="system_ext"
7 … container_private_key="packages/modules/vndk/apex/com.android.vndk.v29.pk8" partition="system_ext"
Dapexkeys_merge.txt1 …9.pem" container_private_key="external/conscrypt/apex/com.android.conscrypt.pk8" partition="system"
2 …ey="selected" container_certificate="selected" container_private_key="selected" partition="product"
3 …id.runtime.x509.pem" container_private_key="bionic/apex/com.android.runtime.pk8" partition="system"
4 … container_private_key="packages/modules/vndk/apex/com.android.vndk.current.pk8" partition="vendor"
5 … container_private_key="packages/modules/vndk/apex/com.android.vndk.v27.pk8" partition="system_ext"
6 … container_private_key="packages/modules/vndk/apex/com.android.vndk.v28.pk8" partition="system_ext"
7 … container_private_key="packages/modules/vndk/apex/com.android.vndk.v29.pk8" partition="system_ext"
/build/make/tools/releasetools/
Dbuild_super_image.py61 def GetArgumentsForImage(partition, group, image=None): argument
65 "{}:readonly:{}:{}".format(partition, image_size, group)]
67 cmd += ["--image", "{}={}".format(partition, image)]
114 for partition in partition_list:
115 image = info_dict.get("{}_image".format(partition))
120 cmd += GetArgumentsForImage(partition, group, image)
127 cmd += GetArgumentsForImage(partition + "_a", group + "_a", image)
130 if partition == "system" and "system_other_image" in info_dict:
134 cmd += GetArgumentsForImage(partition + "_b", group + "_b", other_image)
162 for partition in partition_list:
[all …]
Dota_package_parser.py143 def PrintDataInfo(self, partition): argument
144 logging.info("\nReading data info for {} partition:".format(partition))
145 new_data = self.package.getinfo(partition + ".new.dat")
146 patch_data = self.package.getinfo(partition + ".patch.dat")
163 def AnalyzePartition(self, partition): argument
164 assert partition in ("system", "vendor")
165 assert partition + ".new.dat" in self.package.namelist()
166 assert partition + ".patch.dat" in self.package.namelist()
167 assert partition + ".transfer.list" in self.package.namelist()
169 self.PrintDataInfo(partition)
[all …]
Dcommon.py153 partition: str
160 self.partition, self.rollback_index_location, self.pubkey_path)
434 for partition in PARTITIONS_WITH_BUILD_PROP:
436 fingerprint = self.CalculatePartitionFingerprint(partition)
438 self._partition_fingerprints[partition] = fingerprint
534 def _GetRawBuildProp(self, prop, partition): argument
536 partition) if partition else 'build.prop'
542 def GetPartitionBuildProp(self, prop, partition): argument
547 prop_partition = "bootimage" if partition == "boot" or partition == "init_boot" else partition
556 prop_val = self._GetRawBuildProp(prop, partition)
[all …]
Dedify_generator.py257 def TunePartition(self, partition, *options): argument
260 p = fstab[partition]
262 raise ValueError("Partition %s cannot be tuned\n" % (partition,))
267 common.ErrorCode.TUNE_PARTITION_FAILURE, partition))
269 def FormatPartition(self, partition): argument
275 p = fstab[partition]
281 def WipeBlockDevice(self, partition): argument
282 if partition not in ("/system", "/vendor"):
283 raise ValueError(("WipeBlockDevice doesn't work on %s\n") % (partition,))
285 size = self.info.get(partition.lstrip("/") + "_size", None)
[all …]
Dota_utils.py213 for partition in sorted(set(PARTITIONS_WITH_BUILD_PROP) & ab_partitions):
215 '{}.build.prop'.format(partition))
221 partition_state.partition_name = partition
228 partition))
230 runtime_build_info.GetPartitionFingerprint(partition))
238 'ro.build.date.utc', partition)
387 for partition in sorted(set(PARTITIONS_WITH_BUILD_PROP) & ab_partitions):
389 partition_prop = source_info.get('{}.build.prop'.format(partition))
393 partition_prop = target_info.get('{}.build.prop'.format(partition))
399 'ro.build.date.utc', partition)
[all …]
Dnon_ab_ota.py71 for partition in partition_names:
72 if not HasPartition(target_zip, partition):
76 tgt = common.GetUserImage(partition, OPTIONS.input_tmp, target_zip,
79 block_diff_dict[partition] = common.BlockDifference(partition, tgt,
83 block_diff_dict[partition] = GetIncrementalBlockDifferenceForPartition(
84 partition)
103 if diff.partition in block_diff_dict:
106 " script.", diff.partition)
107 block_diff_dict[diff.partition] = diff
214 progress_dict = {partition: 0.1 for partition in block_diff_dict}
[all …]
/build/make/tools/
Dmk2bp_partition.py76 partition = row[2]
77 makefile_by_partition.setdefault(partition, set()).add(row[0])
78 partitions.add(partition)
86 for partition in sorted(partitions):
87 number_file = len(makefile_by_partition[partition])
89 writer.writerow([partition, number_file])
90 for makefile in sorted(makefile_by_partition[partition]):
Dgenerate-enforce-rro-android-manifest.py57 partition = args.partition
69 f.write(ANDROID_MANIFEST_TEMPLATE % (package_name, partition, package_name, priority))
/build/make/tools/fs_config/
DAndroid.bp84 …cmd: "$(location fs_config_generator) passwd --partition=system --aid-header=$(location :android_f…
101 …cmd: "$(location fs_config_generator) passwd --partition=vendor --aid-header=$(location :android_f…
119 …cmd: "$(location fs_config_generator) passwd --partition=odm --aid-header=$(location :android_file…
137 …cmd: "$(location fs_config_generator) passwd --partition=product --aid-header=$(location :android_…
155 …cmd: "$(location fs_config_generator) passwd --partition=system_ext --aid-header=$(location :andro…
176 …cmd: "$(location fs_config_generator) group --partition=system --aid-header=$(location :android_fi…
193 …cmd: "$(location fs_config_generator) group --partition=vendor --aid-header=$(location :android_fi…
211 …cmd: "$(location fs_config_generator) group --partition=odm --aid-header=$(location :android_files…
229 …cmd: "$(location fs_config_generator) group --partition=product --aid-header=$(location :android_f…
247 …cmd: "$(location fs_config_generator) group --partition=system_ext --aid-header=$(location :androi…
[all …]
Dfs_config_generator.py363 partition, name, start, value = range_match.groups()
364 partition = partition.lower()
370 if partition == 'oem':
371 partition = 'vendor'
373 if partition not in ranges_by_name:
374 ranges_by_name[partition] = {}
375 if name not in ranges_by_name[partition]:
376 ranges_by_name[partition][name] = [None, None]
377 if ranges_by_name[partition][name][0 if start else 1] is not None:
379 "Start" if start else "End", name, partition)))
[all …]
/build/make/tools/fs_config/end_to_end_test/
Drun_test.sh6 --partition system \
18 --partition system \
30 --partition vendor \
41 --partition vendor \
52 --partition product \
63 --partition product \
/build/soong/java/
Drro.go99 var partition string
101 partition = ctx.DeviceConfig().OdmPath()
103 partition = ctx.DeviceConfig().VendorPath()
105 partition = ctx.DeviceConfig().SystemExtPath()
107 partition = ctx.DeviceConfig().ProductPath()
109 return partition
176 partition := rroPartition(ctx)
177 …r.installDir = android.PathForModuleInPartitionInstall(ctx, partition, "overlay", String(r.propert…
/build/soong/apex/
Dkey.go105 partition string member
116 ….Sprintf(format, e.name, "PRESIGNED", "PRESIGNED", "PRESIGNED", "PRESIGNED", e.partition, signTool)
118 …e, e.publicKey, e.privateKey, e.containerCertificate, e.containerPrivateKey, e.partition, signTool)
133 partition: m.PartitionTag(ctx.DeviceConfig()),
140 partition: m.PartitionTag(ctx.DeviceConfig()),
146 partition: m.PartitionTag(ctx.DeviceConfig()),

1234