Home
last modified time | relevance | path

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

123

/build/make/tools/releasetools/
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", "")
313 if prop_dict.get("squashfs_disable_4k_align") == "true":
348 int(prop_dict.get("partition_reserved_size", 0)),
349 int(prop_dict.get("partition_reserved_size", 0)) // BYTES_IN_MB))
359 if run_e2fsck and prop_dict.get("skip_fsck") != "true":
[all …]
Dbuild_super_image.py78 ab_update = info_dict.get("ab_update") == "true"
79 retrofit = info_dict.get("dynamic_partition_retrofit") == "true"
80 block_devices = shlex.split(info_dict.get("super_block_devices", "").strip())
81 groups = shlex.split(info_dict.get("super_partition_groups", "").strip())
111 image = info_dict.get("{}_image".format(partition))
132 if info_dict.get("build_non_sparse_super_partition") != "true":
150 info_dict.get("dynamic_partition_list", "").strip())
Dimg_from_target_files59 OPTIONS.put_super = info.get("super_image_in_update_package") == "true"
60 OPTIONS.dynamic_partition_list = info.get("dynamic_partition_list",
62 OPTIONS.super_device_list = info.get("super_block_devices",
64 OPTIONS.retrofit_dap = info.get("dynamic_partition_retrofit") == "true"
65 OPTIONS.build_super = info.get("build_super_partition") == "true"
66 OPTIONS.sparse_userimages = bool(info.get("extfs_sparse_flag"))
Dimg_from_target_files.py59 OPTIONS.put_super = info.get("super_image_in_update_package") == "true"
60 OPTIONS.dynamic_partition_list = info.get("dynamic_partition_list",
62 OPTIONS.super_device_list = info.get("super_block_devices",
64 OPTIONS.retrofit_dap = info.get("dynamic_partition_retrofit") == "true"
65 OPTIONS.build_super = info.get("build_super_partition") == "true"
66 OPTIONS.sparse_userimages = bool(info.get("extfs_sparse_flag"))
Dadd_img_to_target_files124 image_size = OPTIONS.info_dict.get(size_key)
265 if OPTIONS.info_dict.get("avb_enable") == "true":
272 args = OPTIONS.info_dict.get("avb_dtbo_add_hash_footer_args")
330 verity_supported = (image_props.get("verity") == "true" or
331 image_props.get("avb_enable") == "true")
332 is_avb_enable = image_props.get("avb_hashtree_enable") == "true"
334 image_size = image_props.get("image_size")
340 info_dict.get("use_dynamic_partition_size") == "true" and
341 what in shlex.split(info_dict.get("dynamic_partition_list", "").strip()))
362 if not image_props.get("partition_size"):
[all …]
Dadd_img_to_target_files.py124 image_size = OPTIONS.info_dict.get(size_key)
265 if OPTIONS.info_dict.get("avb_enable") == "true":
272 args = OPTIONS.info_dict.get("avb_dtbo_add_hash_footer_args")
330 verity_supported = (image_props.get("verity") == "true" or
331 image_props.get("avb_enable") == "true")
332 is_avb_enable = image_props.get("avb_hashtree_enable") == "true"
334 image_size = image_props.get("image_size")
340 info_dict.get("use_dynamic_partition_size") == "true" and
341 what in shlex.split(info_dict.get("dynamic_partition_list", "").strip()))
362 if not image_props.get("partition_size"):
[all …]
Dvalidate_target_files.py89 if ranges.extra.get('uses_shared_blocks'):
94 incomplete = file_ranges.extra.get('incomplete', False)
119 if info_dict.get('extfs_sparse_flag') != '-s':
174 full_recovery_image = info_dict.get("full_recovery_image") == "true"
250 if info_dict.get('boot_signer') == 'true':
275 if info_dict.get('verity') == 'true':
278 if info_dict.get("system_root_image") == "true":
318 if info_dict.get("avb_enable") == "true":
332 if info_dict.get(key_name) is not None:
Dota_from_target_files297 self._is_ab = info_dict.get("ab_update") == "true"
298 self._oem_props = info_dict.get("oem_fingerprint_properties")
351 def get(self, key, default=None): member in BuildInfo
352 return self.info_dict.get(key, default)
363 return self.info_dict.get("build.prop", {})[prop]
369 prop_val = self.info_dict.get("build.prop", {}).get(prop)
373 source_order_val = self.info_dict.get("build.prop", {}).get(
389 prop_val = self.info_dict.get("{}.build.prop".format(source), {}).get(
399 return self.info_dict.get("vendor.build.prop", {})[prop]
431 recovery_mount_options = self.info_dict.get("recovery_mount_options")
[all …]
Dota_from_target_files.py297 self._is_ab = info_dict.get("ab_update") == "true"
298 self._oem_props = info_dict.get("oem_fingerprint_properties")
351 def get(self, key, default=None): member in BuildInfo
352 return self.info_dict.get(key, default)
363 return self.info_dict.get("build.prop", {})[prop]
369 prop_val = self.info_dict.get("build.prop", {}).get(prop)
373 source_order_val = self.info_dict.get("build.prop", {}).get(
389 prop_val = self.info_dict.get("{}.build.prop".format(source), {}).get(
399 return self.info_dict.get("vendor.build.prop", {})[prop]
431 recovery_mount_options = self.info_dict.get("recovery_mount_options")
[all …]
Dsign_target_files_apks.py158 certmap[apk] = OPTIONS.key_map.get(cert, cert)
164 certmap[apk] = OPTIONS.key_map.get(cert, cert)
195 keys_info[apex] = (payload_key, key_map.get(container_key, container_key))
204 keys_info[apex] = (keys_info[apex][0], key_map.get(key, key))
395 system_root_image = misc_info.get("system_root_image") == "true"
456 OPTIONS.avb_extra_args.get('apex'))
543 signing_key = OPTIONS.avb_keys.get("system_other")
733 extra_recovery_keys = misc_info.get("extra_recovery_keys")
735 extra_recovery_keys = [OPTIONS.key_map.get(k, k) + ".x509.pem"
749 mapped_keys.append(OPTIONS.key_map.get(k, k) + ".x509.pem")
[all …]
Dsign_target_files_apks158 certmap[apk] = OPTIONS.key_map.get(cert, cert)
164 certmap[apk] = OPTIONS.key_map.get(cert, cert)
195 keys_info[apex] = (payload_key, key_map.get(container_key, container_key))
204 keys_info[apex] = (keys_info[apex][0], key_map.get(key, key))
395 system_root_image = misc_info.get("system_root_image") == "true"
456 OPTIONS.avb_extra_args.get('apex'))
543 signing_key = OPTIONS.avb_keys.get("system_other")
733 extra_recovery_keys = misc_info.get("extra_recovery_keys")
735 extra_recovery_keys = [OPTIONS.key_map.get(k, k) + ".x509.pem"
749 mapped_keys.append(OPTIONS.key_map.get(k, k) + ".x509.pem")
[all …]
Dverity_utils.py153 partition_size = prop_dict.get("partition_size")
159 verity_supported = prop_dict.get("verity") == "true"
169 prop_dict.get("verity_fec") == "true",
176 if (prop_dict.get("avb_hash_enable") == "true" or
177 prop_dict.get("avb_hashtree_enable") == "true"):
179 key_path = prop_dict.get("avb_key_path")
180 algorithm = prop_dict.get("avb_algorithm")
181 if prop_dict.get("avb_hash_enable") == "true":
189 prop_dict.get("avb_salt"),
199 prop_dict.get("avb_salt"),
[all …]
Dcommon.py62 self.search_path = platform_search_path.get(sys.platform)
337 fc_basename = os.path.basename(d.get("selinux_fc", "file_contexts"))
387 system_root_image = d.get("system_root_image") == "true"
388 if d.get("no_recovery") != "true":
400 elif d.get("recovery_as_boot") == "true":
430 if d.get("avb_enable") == "true":
537 key_path = OPTIONS.info_dict.get("avb_" + partition + "_key_path")
538 algorithm = OPTIONS.info_dict.get("avb_" + partition + "_algorithm")
541 avb_salt = OPTIONS.info_dict.get("avb_salt")
644 args = info_dict.get("mkbootimg_args")
[all …]
Dmerge_target_files.py381 if (merged_info_dict.get('use_dynamic_partitions') == 'true') and (
382 system_info_dict.get('use_dynamic_partitions') == 'true'):
384 system_info_dict.get('dynamic_partition_list', ''),
385 merged_info_dict.get('dynamic_partition_list', ''))
396 system_info_dict.get(key, ''),
397 merged_info_dict.get(key, ''))
/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)
Dpost_process_props.py43 if prop.get("ro.debuggable") == "1":
44 val = prop.get("persist.sys.usb.config")
54 if not prop.get("persist.sys.usb.config"):
89 def get(self, name): member in PropFile
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/tasks/
Ddeps_licenses.mk35 define get-module-all-dependencies
39 $(call get-module-all-dependencies,$(1),$(_gmad_new)))
47 $(eval $(call get-module-all-dependencies,deps,$(m)))\
/build/kati/
Dmain.cc249 SegfaultHandler segfault(ev.get()); in Run()
256 stmt->Eval(ev.get()); in Run()
265 asts[0]->Eval(ev.get()); in Run()
274 stmt->Eval(ev.get()); in Run()
286 MakeDep(ev.get(), ev->rules(), ev->rule_vars(), targets, &nodes); in Run()
294 GenerateNinja(nodes, ev.get(), orig_args, start_time); in Run()
303 const string&& value = v->Eval(ev.get()); in Run()
314 Exec(nodes, ev.get()); in Run()
Dfind.cc429 if (cur_.get(1) != '&') { in GetNextToken()
446 const char c = tok->get(0); in GetNextToken()
490 if (!c.get()) in ParseFact()
534 if (!c.get()) in ParseTerm()
550 if (!r.get()) { in ParseTerm()
559 if (!c.get()) in ParseExpr()
571 if (!r.get()) { in ParseExpr()
623 if (fc_->print_cond.get()) in ParseFind()
663 if (fc_->print_cond.get()) { in ParseFindLeaves()
666 CHECK(!fc_->print_cond.get()); in ParseFindLeaves()
[all …]
/build/make/core/
Ddex_preopt_config.mk64 define get-product-default-property
70 DEX2OAT_IMAGE_XMS := $(call get-product-default-property,dalvik.vm.image-dex2oat-Xms)
71 DEX2OAT_IMAGE_XMX := $(call get-product-default-property,dalvik.vm.image-dex2oat-Xmx)
72 DEX2OAT_XMS := $(call get-product-default-property,dalvik.vm.dex2oat-Xms)
73 DEX2OAT_XMX := $(call get-product-default-property,dalvik.vm.dex2oat-Xmx)
Dnode_fns.mk128 define get-inherited-nodes
198 $(call get-inherited-nodes,$(1).$(2),$(3)))
Dmain.mk441 CUSTOM_MODULES := $(sort $(call get-tagged-modules,$(ALL_MODULE_TAGS)))
549 define get-32-bit-modules
556 define get-32-bit-modules-if-we-can
564 define get-32-bit-modules
567 define get-32-bit-modules-if-we-can
574 define get-host-32-bit-modules
581 define get-host-32-bit-modules-if-we-can
599 $(eval r_r := $(call get-32-bit-modules-if-we-can,$(r))),\
602 $(eval r_r := $(r) $(call get-32-bit-modules,$(r)))\
616 $(eval r_r := $(call get-host-32-bit-modules-if-we-can,$(r))),\
[all …]
/build/make/core/combo/
DHOST_linux-x86.mk28 define get-file-size
/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