Home
last modified time | relevance | path

Searched refs:common (Results 1 – 25 of 70) sorted by relevance

123

/build/make/tools/releasetools/
Dtest_common.py26 import common
51 'build.prop': common.PartitionBuildProps.FromDictionary(
58 'system.build.prop': common.PartitionBuildProps.FromDictionary(
70 'vendor.build.prop': common.PartitionBuildProps.FromDictionary(
87 'build.prop': common.PartitionBuildProps.FromDictionary(
93 'vendor.build.prop': common.PartitionBuildProps.FromDictionary(
118 'build.prop': common.PartitionBuildProps.FromDictionary(
124 'system.build.prop': common.PartitionBuildProps.FromDictionary(
128 'vendor.build.prop': common.PartitionBuildProps.FromDictionary(
135 'build.prop': common.PartitionBuildProps.FromDictionary(
[all …]
Dapex_utils.py24 import common
28 OPTIONS = common.OPTIONS
65 entries_names = common.RunAndCheckOutput(list_cmd).split()
94 payload_dir = common.MakeTempDir()
96 common.RunAndCheckOutput(extract_cmd)
104 if key_name in common.SPECIAL_CERT_STRINGS:
111 unsigned_apk = common.MakeTempFile()
113 common.SignFile(unsigned_apk, apk_path, key_name, self.key_passwords,
120 apex_dir = common.MakeTempDir()
122 common.UnzipToDir(self.apex_path, apex_dir)
[all …]
Dtest_ota_from_target_files.py22 import common
35 target_files = common.MakeTempFile(prefix='target_files-', suffix='.zip')
84 dict_file = common.MakeTempFile()
96 dict_file = common.MakeTempFile()
113 'build.prop': common.PartitionBuildProps.FromDictionary(
125 'build.prop': common.PartitionBuildProps.FromDictionary(
137 'build.prop': common.PartitionBuildProps.FromDictionary(
143 'vendor.build.prop': common.PartitionBuildProps.FromDictionary(
172 common.OPTIONS.incremental_source = None
173 common.OPTIONS.downgrade = False
[all …]
Dcheck_ota_package_signature.py32 import common
41 cert_dump = common.RunAndCheckOutput(cmd, stdout=subprocess.PIPE)
107 sig_file = common.MakeTempFile(prefix='sig-')
113 sig = common.RunAndCheckOutput(cmd, stdout=subprocess.PIPE)
117 digest_file = common.MakeTempFile(prefix='digest-')
122 decrypted_file = common.MakeTempFile(prefix='decrypted-')
125 common.RunAndCheckOutput(cmd, stdout=subprocess.PIPE)
129 decrypted_output = common.RunAndCheckOutput(cmd, stdout=subprocess.PIPE)
145 common.ZipClose(package_zip)
151 pubkey = common.MakeTempFile(prefix="key-", suffix=".pem")
[all …]
Dtest_check_partition_sizes.py17 import common
23 self.info_dict = common.LoadDictionaryFromLines("""
42 self.info_dict.update(common.LoadDictionaryFromLines("""
50 self.info_dict.update(common.LoadDictionaryFromLines("""
57 self.info_dict.update(common.LoadDictionaryFromLines("""
67 self.info_dict.update(common.LoadDictionaryFromLines("""
74 self.info_dict.update(common.LoadDictionaryFromLines("""
86 self.info_dict.update(common.LoadDictionaryFromLines("""
97 self.info_dict.update(common.LoadDictionaryFromLines("""
104 self.info_dict.update(common.LoadDictionaryFromLines("""
[all …]
Dmerge_builds.py58 import common
62 OPTIONS = common.OPTIONS
84 framework_dict = common.LoadDictionaryFromFile(
86 vendor_dict = common.LoadDictionaryFromFile(
98 common.MergeDynamicPartitionInfoDicts(
108 framework_dict = common.LoadDictionaryFromFile(
110 vendor_dict = common.LoadDictionaryFromFile(
114 for key in common.LoadListFromFile(OPTIONS.framework_misc_info_keys):
119 for partition in common.AVB_PARTITIONS:
128 vbmeta_partitions = common.AVB_PARTITIONS[:]
[all …]
Dmake_recovery_patch.py23 import common
31 OPTIONS = common.OPTIONS
35 args = common.ParseOptions(argv, __doc__)
38 common.InitLogging()
40 OPTIONS.info_dict = common.LoadInfoDict(input_dir)
42 recovery_img = common.GetBootableImage("recovery.img", "recovery.img",
44 boot_img = common.GetBootableImage("boot.img", "boot.img",
63 common.MakeRecoveryPatch(input_dir, output_sink, recovery_img, boot_img)
Dota_from_target_files222 import common
234 OPTIONS = common.OPTIONS
315 signing_key = common.MakeTempFile(prefix="key-", suffix=".key")
317 common.RunAndCheckOutput(cmd, verbose=False)
338 out_signature_size_file = common.MakeTempFile("signature_size")
341 common.RunAndCheckOutput(cmd)
350 out_file = common.MakeTempFile(prefix="signed-", suffix=".bin")
352 common.RunAndCheckOutput(cmd)
379 common.RunAndCheckOutput(cmd, stdout=None, stderr=None)
381 common.RunAndCheckOutput(cmd)
[all …]
Dota_from_target_files.py222 import common
234 OPTIONS = common.OPTIONS
315 signing_key = common.MakeTempFile(prefix="key-", suffix=".key")
317 common.RunAndCheckOutput(cmd, verbose=False)
338 out_signature_size_file = common.MakeTempFile("signature_size")
341 common.RunAndCheckOutput(cmd)
350 out_file = common.MakeTempFile(prefix="signed-", suffix=".bin")
352 common.RunAndCheckOutput(cmd)
379 common.RunAndCheckOutput(cmd, stdout=None, stderr=None)
381 common.RunAndCheckOutput(cmd)
[all …]
Dcheck_target_files_vintf.py31 import common
35 OPTIONS = common.OPTIONS
123 info_dict = common.LoadInfoDict(input_tmp)
146 proc = common.Run(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
154 raise common.ExternalError(
178 out = common.RunAndCheckOutput(['checkvintf', '--dump-file-list'])
196 input_tmp = common.UnzipTemp(inp, GetVintfFileList() + UNZIP_PATTERN)
225 args = common.ParseOptions(argv, __doc__)
227 common.Usage(__doc__)
229 common.InitLogging()
[all …]
Dimg_from_target_files.py47 import common
56 OPTIONS = common.OPTIONS
75 info = OPTIONS.info_dict = common.LoadInfoDict(input_zip)
102 common.RunAndCheckOutput(cmd)
164 input_tmp = common.UnzipTemp(input_file)
166 super_file = common.MakeTempFile('super_', '.img')
173 common.ZipWrite(output_zip, super_file, 'super.img')
225 args = common.ParseOptions(argv, __doc__,
233 common.Usage(__doc__)
236 common.InitLogging()
[all …]
Dimg_from_target_files47 import common
56 OPTIONS = common.OPTIONS
75 info = OPTIONS.info_dict = common.LoadInfoDict(input_zip)
102 common.RunAndCheckOutput(cmd)
164 input_tmp = common.UnzipTemp(input_file)
166 super_file = common.MakeTempFile('super_', '.img')
173 common.ZipWrite(output_zip, super_file, 'super.img')
225 args = common.ParseOptions(argv, __doc__,
233 common.Usage(__doc__)
236 common.InitLogging()
[all …]
Dtest_build_image.py20 import common
80 input_dir = common.MakeTempDir()
81 output_image = common.MakeTempFile(suffix='.img')
84 proc = common.Run(command)
115 fs_config = common.MakeTempFile(suffix='.txt')
121 root_dir = common.MakeTempDir()
125 origin_in = common.MakeTempDir()
150 root_dir = common.MakeTempDir()
154 origin_in = common.MakeTempDir()
185 input_dir = common.MakeTempDir()
[all …]
Dtest_sign_target_files_apks.py22 import common
166 input_file = common.MakeTempFile(suffix='.zip')
173 output_file = common.MakeTempFile(suffix='.zip')
197 input_file = common.MakeTempFile(suffix='.zip')
201 output_file = common.MakeTempFile(suffix='.zip')
222 base64.b16encode(common.ParseCertificate(cert1)).lower(),
223 base64.b16encode(common.ParseCertificate(cert2)).lower())
226 base64.b16encode(common.ParseCertificate(cert3)).lower(),
227 base64.b16encode(common.ParseCertificate(cert2)).lower())
229 common.OPTIONS.key_map = {
[all …]
Dtest_verity_utils.py24 import common
33 BLOCK_SIZE = common.BLOCK_SIZE
56 output_file = common.MakeTempFile()
57 raw_image = common.MakeTempFile()
62 common.RunAndCheckOutput(cmd)
218 input_dir = common.MakeTempDir()
219 image = common.MakeTempFile(suffix='.img')
222 common.RunAndCheckOutput(cmd)
227 common.RunAndCheckOutput(cmd)
240 common.ExternalError,
[all …]
Dsign_target_files_apks.py151 import common
161 OPTIONS = common.OPTIONS
372 if ((payload_key in common.SPECIAL_CERT_STRINGS and
373 container_key not in common.SPECIAL_CERT_STRINGS) or
374 (payload_key not in common.SPECIAL_CERT_STRINGS and
375 container_key in common.SPECIAL_CERT_STRINGS)):
425 common.SignFile(unsigned.name, signed.name, keyname, pw,
479 common.ZipWriteStr(output_tf_zip, out_info, data)
488 if key not in common.SPECIAL_CERT_STRINGS:
492 common.ZipWriteStr(output_tf_zip, out_info, signed_data)
[all …]
Dsign_target_files_apks151 import common
161 OPTIONS = common.OPTIONS
372 if ((payload_key in common.SPECIAL_CERT_STRINGS and
373 container_key not in common.SPECIAL_CERT_STRINGS) or
374 (payload_key not in common.SPECIAL_CERT_STRINGS and
375 container_key in common.SPECIAL_CERT_STRINGS)):
425 common.SignFile(unsigned.name, signed.name, keyname, pw,
479 common.ZipWriteStr(output_tf_zip, out_info, data)
488 if key not in common.SPECIAL_CERT_STRINGS:
492 common.ZipWriteStr(output_tf_zip, out_info, signed_data)
[all …]
Dbuild_super_image.py48 import common
141 common.RunAndCheckOutput(cmd)
152 info_dict = common.LoadInfoDict(inp)
177 input_tmp = common.UnzipTemp(inp, UNZIP_PATTERN)
200 return BuildSuperImageFromDict(common.LoadDictionaryFromLines(lines.split("\n")), out)
207 args = common.ParseOptions(argv, __doc__)
210 common.Usage(__doc__)
213 common.InitLogging()
220 common.CloseInheritedPipes()
222 except common.ExternalError:
[all …]
Dtest_add_img_to_target_files.py21 import common
29 OPTIONS = common.OPTIONS
35 OPTIONS.input_tmp = common.MakeTempDir()
95 output_file = common.MakeTempFile(suffix='.zip')
131 'system.build.prop': common.PartitionBuildProps.FromDictionary(
136 'vendor.build.prop': common.PartitionBuildProps.FromDictionary(
163 text_file = common.MakeTempFile(prefix="caremap-", suffix=".txt")
167 common.RunAndCheckOutput(cmd)
217 'system.build.prop': common.PartitionBuildProps.FromDictionary(
222 'vendor.build.prop': common.PartitionBuildProps.FromDictionary(
[all …]
Dsign_apex.py49 import common
107 args = common.ParseOptions(
122 common.Usage(__doc__)
125 common.InitLogging()
144 except common.ExternalError:
148 common.Cleanup()
Dadd_img_to_target_files.py60 import common
71 OPTIONS = common.OPTIONS
106 common.ZipWrite(self._output_zip, self.name, self._zip_name)
120 assert which in common.PARTITIONS_WITH_CARE_MAP
167 common.ZipWrite(output_zip, output_file, arc_name)
175 common.MakeRecoveryPatch(OPTIONS.input_tmp, output_sink, recovery_img,
216 common.ZipWrite(output_zip, ofile.name, arc_name)
224 common.MakeRecoveryPatch(OPTIONS.input_tmp, output_sink, recovery_img,
338 common.AppendAVBSigningArgs(cmd, "dtbo")
342 common.RunAndCheckOutput(cmd)
[all …]
Dadd_img_to_target_files60 import common
71 OPTIONS = common.OPTIONS
106 common.ZipWrite(self._output_zip, self.name, self._zip_name)
120 assert which in common.PARTITIONS_WITH_CARE_MAP
167 common.ZipWrite(output_zip, output_file, arc_name)
175 common.MakeRecoveryPatch(OPTIONS.input_tmp, output_sink, recovery_img,
216 common.ZipWrite(output_zip, ofile.name, arc_name)
224 common.MakeRecoveryPatch(OPTIONS.input_tmp, output_sink, recovery_img,
338 common.AppendAVBSigningArgs(cmd, "dtbo")
342 common.RunAndCheckOutput(cmd)
[all …]
Dedify_generator.py17 import common
91 code=common.ErrorCode.OEM_PROP_MISMATCH,
104 common.ErrorCode.FINGERPRINT_MISMATCH, " or ".join(fp))
115 common.ErrorCode.THUMBPRINT_MISMATCH, " or ".join(fp))
136 timestamp, common.ErrorCode.OLDER_BUILD, timestamp_text))
143 device, common.ErrorCode.DEVICE_MISMATCH, device)
210 code=common.ErrorCode.BAD_PATCH_FILE)))
219 common.ErrorCode.INSUFFICIENT_CACHE_SPACE))
241 p.fs_type, common.PARTITION_TYPES[p.fs_type],
267 common.ErrorCode.TUNE_PARTITION_FAILURE, partition))
[all …]
Dtest_merge_target_files.py19 import common
50 input_dir = common.MakeTempDir()
51 output_dir = common.MakeTempDir()
130 output_dir = common.MakeTempDir()
133 framework_dir = common.MakeTempDir()
139 vendor_dir = common.MakeTempDir()
165 output_dir = common.MakeTempDir()
168 framework_dir = common.MakeTempDir()
174 conflict_dir = common.MakeTempDir()
187 output_dir = common.MakeTempDir()
[all …]
/build/make/core/
Dpdk_config.mk4 host/common/obj/JAVA_LIBRARIES/bouncycastle-host_intermediates \
5 host/common/obj/JAVA_LIBRARIES/compatibility-host-util_intermediates \
6 host/common/obj/JAVA_LIBRARIES/cts-tradefed-harness_intermediates \
7 host/common/obj/JAVA_LIBRARIES/hosttestlib_intermediates
15 target/common/obj/JAVA_LIBRARIES/android.test.runner_intermediates \
16 target/common/obj/JAVA_LIBRARIES/android-common_intermediates \
17 target/common/obj/JAVA_LIBRARIES/android-ex-camera2_intermediates \
18 target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates \
19 target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates \
20 target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates \
[all …]

123