Home
last modified time | relevance | path

Searched refs:get (Results 1 – 25 of 69) sorted by relevance

123

/build/make/tools/releasetools/
Dadd_img_to_target_files.py126 image_size = OPTIONS.info_dict.get(which + "_image_size")
169 board_uses_vendorimage = OPTIONS.info_dict.get(
218 board_uses_vendorimage = OPTIONS.info_dict.get(
332 if OPTIONS.info_dict.get("avb_enable") == "true":
339 args = OPTIONS.info_dict.get("avb_dtbo_add_hash_footer_args")
361 partition_size = OPTIONS.info_dict.get(
363 key_path = OPTIONS.info_dict.get("avb_{}_key_path".format(partition_name))
364 algorithm = OPTIONS.info_dict.get("avb_{}_algorithm".format(partition_name))
365 extra_args = OPTIONS.info_dict.get(
367 partition_size = OPTIONS.info_dict.get(
[all …]
Dadd_img_to_target_files126 image_size = OPTIONS.info_dict.get(which + "_image_size")
169 board_uses_vendorimage = OPTIONS.info_dict.get(
218 board_uses_vendorimage = OPTIONS.info_dict.get(
332 if OPTIONS.info_dict.get("avb_enable") == "true":
339 args = OPTIONS.info_dict.get("avb_dtbo_add_hash_footer_args")
361 partition_size = OPTIONS.info_dict.get(
363 key_path = OPTIONS.info_dict.get("avb_{}_key_path".format(partition_name))
364 algorithm = OPTIONS.info_dict.get("avb_{}_algorithm".format(partition_name))
365 extra_args = OPTIONS.info_dict.get(
367 partition_size = OPTIONS.info_dict.get(
[all …]
Dbuild_super_image.py78 ab_update = info_dict.get("ab_update") == "true"
79 virtual_ab = info_dict.get("virtual_ab") == "true"
80 virtual_ab_retrofit = info_dict.get("virtual_ab_retrofit") == "true"
81 retrofit = info_dict.get("dynamic_partition_retrofit") == "true"
82 block_devices = shlex.split(info_dict.get("super_block_devices", "").strip())
83 groups = shlex.split(info_dict.get("super_partition_groups", "").strip())
115 image = info_dict.get("{}_image".format(partition))
136 if info_dict.get("build_non_sparse_super_partition") != "true":
154 info_dict.get("dynamic_partition_list", "").strip())
Dbuild_image.py152 fs_config = prop_dict.get("fs_config")
167 root_dir = prop_dict.get("root_dir")
209 assert prop_dict.get('fs_type', '').startswith('ext4')
218 used_blocks = int(m.groupdict().get('used_blocks'))
219 total_blocks = int(m.groupdict().get('total_blocks'))
249 fs_type = prop_dict.get("fs_type", "")
251 needs_projid = prop_dict.get("needs_projid", 0)
252 needs_casefold = prop_dict.get("needs_casefold", 0)
290 if prop_dict.get("ext4_share_dup_blocks") == "true":
318 if prop_dict.get("squashfs_disable_4k_align") == "true":
[all …]
Dcheck_partition_sizes.py84 if info_dict.get("ab_update") != "true":
86 if info_dict.get("virtual_ab_retrofit") == "true":
88 if info_dict.get("virtual_ab") == "true":
101 if info_dict.get("use_dynamic_partitions") != "true":
103 if info_dict.get("dynamic_partition_retrofit") == "true":
130 alignment = self.info_dict.get("super_partition_alignment")
139 info_dict.get("super_block_devices", "").strip().split()
140 size_list = [int(info_dict.get("super_{}_device_size".format(b), "0"))
218 groups = info_dict.get("super_partition_groups", "").strip().split()
234 group_size_list = [int(info_dict.get(
[all …]
Dvalidate_target_files.py90 if ranges.extra.get('uses_shared_blocks'):
95 incomplete = file_ranges.extra.get('incomplete', False)
122 if info_dict.get('extfs_sparse_flag') != '-s':
163 board_uses_vendorimage = info_dict.get("board_uses_vendorimage") == "true"
185 full_recovery_image = info_dict.get("full_recovery_image") == "true"
276 if info_dict.get('boot_signer') == 'true':
304 if info_dict.get('verity') == 'true':
323 if info_dict.get("system_root_image") != "true":
356 if info_dict.get("avb_enable") == "true":
371 custom_partitions = info_dict.get(
[all …]
Dimg_from_target_files.py77 OPTIONS.put_super = info.get('super_image_in_update_package') == 'true'
78 OPTIONS.dynamic_partition_list = info.get('dynamic_partition_list',
80 OPTIONS.super_device_list = info.get('super_block_devices',
82 OPTIONS.retrofit_dap = info.get('dynamic_partition_retrofit') == 'true'
83 OPTIONS.build_super = info.get('build_super_partition') == 'true'
84 OPTIONS.sparse_userimages = bool(info.get('extfs_sparse_flag'))
Dimg_from_target_files77 OPTIONS.put_super = info.get('super_image_in_update_package') == 'true'
78 OPTIONS.dynamic_partition_list = info.get('dynamic_partition_list',
80 OPTIONS.super_device_list = info.get('super_block_devices',
82 OPTIONS.retrofit_dap = info.get('dynamic_partition_retrofit') == 'true'
83 OPTIONS.build_super = info.get('build_super_partition') == 'true'
84 OPTIONS.sparse_userimages = bool(info.get('extfs_sparse_flag'))
Dsign_apex.py128 options.get('avbtool', 'avbtool'),
133 apk_keys=options.get('extra_apks', {}),
134 signing_args=options.get('payload_extra_args'),
135 codename_to_api_level_map=options.get(
Dcommon.py387 self._is_ab = info_dict.get("ab_update") == "true"
392 self._oem_props = info_dict.get("oem_fingerprint_properties")
443 def get(self, key, default=None): member in BuildInfo
444 return self.info_dict.get(key, default)
452 partition_props = self.info_dict.get(prop_file)
536 return self._partition_fingerprints.get(partition, None)
575 recovery_mount_options = self.info_dict.get("recovery_mount_options")
726 if d.get("avb_enable") == "true":
871 return self.build_props.get(prop)
947 if info_dict.get('ab_update') == 'true' and \
[all …]
Dverity_utils.py154 partition_size = prop_dict.get("partition_size")
160 verity_supported = prop_dict.get("verity") == "true"
170 prop_dict.get("verity_fec") == "true",
177 if (prop_dict.get("avb_hash_enable") == "true" or
178 prop_dict.get("avb_hashtree_enable") == "true"):
180 key_path = prop_dict.get("avb_key_path")
181 algorithm = prop_dict.get("avb_algorithm")
184 if prop_dict.get("avb_hash_enable") == "true":
192 prop_dict.get("avb_salt"),
203 prop_dict.get("avb_salt"),
[all …]
Dsign_target_files_apks.py197 certmap[apk] = OPTIONS.key_map.get(cert, cert)
203 certmap[apk] = OPTIONS.key_map.get(cert, cert)
237 keys_info[apex] = (payload_key, key_map.get(container_key, container_key))
246 keys_info[apex] = (keys_info[apex][0], key_map.get(key, key))
457 system_root_image = misc_info.get("system_root_image") == "true"
522 signing_args=OPTIONS.avb_extra_args.get('apex'))
635 signing_key = OPTIONS.avb_keys.get("system_other")
680 if misc_info.get('avb_enable') == 'true':
829 extra_recovery_keys = misc_info.get("extra_recovery_keys")
831 extra_recovery_keys = [OPTIONS.key_map.get(k, k) + ".x509.pem"
[all …]
Dsign_target_files_apks197 certmap[apk] = OPTIONS.key_map.get(cert, cert)
203 certmap[apk] = OPTIONS.key_map.get(cert, cert)
237 keys_info[apex] = (payload_key, key_map.get(container_key, container_key))
246 keys_info[apex] = (keys_info[apex][0], key_map.get(key, key))
457 system_root_image = misc_info.get("system_root_image") == "true"
522 signing_args=OPTIONS.avb_extra_args.get('apex'))
635 signing_key = OPTIONS.avb_keys.get("system_other")
680 if misc_info.get('avb_enable') == 'true':
829 extra_recovery_keys = misc_info.get("extra_recovery_keys")
831 extra_recovery_keys = [OPTIONS.key_map.get(k, k) + ".x509.pem"
[all …]
Dcheck_target_files_vintf.py71 odm_skus = info_dict.get('vintf_odm_manifest_skus', '').strip().split()
72 if info_dict.get('vintf_include_empty_odm_sku', '') == "true" or not odm_skus:
75 vendor_skus = info_dict.get('vintf_vendor_manifest_skus', '').strip().split()
76 if info_dict.get('vintf_include_empty_vendor_sku', '') == "true" or \
125 if info_dict.get('vintf_enforce') != 'true':
Dota_from_target_files543 board_uses_vendorimage = info_dict.get("board_uses_vendorimage") == "true"
664 allow_shared_blocks = (source_info.get('ext4_share_dup_blocks') == "true" or
665 target_info.get('ext4_share_dup_blocks') == "true")
667 int(i) for i in target_info.get(
784 if not target_info.get("multistage_support"):
820 if target_info.get('use_dynamic_partitions') == "true":
832 progress=progress_dict.get(block_diff.partition),
1452 if not source_info.get("multistage_support"):
1543 if OPTIONS.source_info_dict.get("use_dynamic_partitions") == "true":
1544 if OPTIONS.target_info_dict.get("use_dynamic_partitions") != "true":
[all …]
Dota_from_target_files.py543 board_uses_vendorimage = info_dict.get("board_uses_vendorimage") == "true"
664 allow_shared_blocks = (source_info.get('ext4_share_dup_blocks') == "true" or
665 target_info.get('ext4_share_dup_blocks') == "true")
667 int(i) for i in target_info.get(
784 if not target_info.get("multistage_support"):
820 if target_info.get('use_dynamic_partitions') == "true":
832 progress=progress_dict.get(block_diff.partition),
1452 if not source_info.get("multistage_support"):
1543 if OPTIONS.source_info_dict.get("use_dynamic_partitions") == "true":
1544 if OPTIONS.target_info_dict.get("use_dynamic_partitions") != "true":
[all …]
Dtest_utils.py39 not os.environ.get('ANDROID_BUILD_TOP') and
40 os.environ.get('FORCE_RUN_RELEASETOOLS') != '1')
67 os.environ.get('ANDROID_BUILD_TOP', ''), 'out', 'host', 'linux-x86'))
Dmerge_builds.py93 if (framework_dict.get("use_dynamic_partitions") == "true") and (
94 vendor_dict.get("use_dynamic_partitions") == "true"):
130 chained_partitions = merged_dict.get("avb_%s" % partition, "").strip()
/build/make/tools/
Dparsedeps.py27 t = self.lines.get(tgt)
31 p = self.lines.get(prereq)
39 t = self.lines.get(tgt)
45 def get(self, tgt): member in Dependencies
56 d = self.lines.get(tgt)
118 d = deps.get(tgt)
Dgenerate-notice-files.py65 return "".join(HTML_ESCAPE_TABLE.get(c,c) for c in text)
107 …print >> output_file, '<li><a href="#id%d">%s</a></li>' % (id_table.get(filename), stripped_filena…
114 print >> output_file, '<tr id="id%d"><td class="same-license">' % id_table.get(value[0])
173 …print >> output_file, '<file-name contentId="%s">%s</file-name>' % (id_table.get(filename), stripp…
181 file_key = id_table.get(filename)
/build/make/core/
Ddex_preopt_config.mk60 define get-product-default-property
66 DEX2OAT_IMAGE_XMS := $(call get-product-default-property,dalvik.vm.image-dex2oat-Xms)
67 DEX2OAT_IMAGE_XMX := $(call get-product-default-property,dalvik.vm.image-dex2oat-Xmx)
68 DEX2OAT_XMS := $(call get-product-default-property,dalvik.vm.dex2oat-Xms)
69 DEX2OAT_XMX := $(call get-product-default-property,dalvik.vm.dex2oat-Xmx)
Dproduct.mk81 define get-product-makefiles
105 define get-all-product-makefiles
106 $(call get-product-makefiles,$(_find-android-products-files))
415 $(warning PRODUCTS.$(1).$(v) := $(call get-product-var,$(1),$(v))))\
581 get-product-var = $(PRODUCTS.$(strip $(1)).$(2))
593 …$(eval get-product-var = $$(if $$(filter $$(1),$$(INTERNAL_PRODUCT)),$$($$(2)),$$(PRODUCTS.$$(stri…
Dnode_fns.mk128 define get-inherited-nodes
206 $(call get-inherited-nodes,$(1).$(2),$(3)))
/build/soong/scripts/
Dgenerate-notice-files.py65 return "".join(HTML_ESCAPE_TABLE.get(c,c) for c in text)
107 …print >> output_file, '<li><a href="#id%d">%s</a></li>' % (id_table.get(filename), stripped_filena…
114 print >> output_file, '<tr id="id%d"><td class="same-license">' % id_table.get(value[0])
173 …print >> output_file, '<file-name contentId="%s">%s</file-name>' % (id_table.get(filename), stripp…
181 file_key = id_table.get(filename)
/build/make/tools/docker/
DDockerfile6 RUN apt-get update && apt-get install -y git-core gnupg flex bison gperf build-essential zip curl z…

123