/build/make/tools/releasetools/ |
D | img_from_target_files.py | 68 def LoadOptions(input_file): argument 74 with zipfile.ZipFile(input_file) as input_zip: 87 def CopyZipEntries(input_file, output_file, entries): argument 100 cmd = ['zip2zip', '-i', input_file, '-o', output_file] 105 def EntriesForUserImages(input_file): argument 120 with zipfile.ZipFile(input_file) as input_zip: 139 def EntriesForSplitSuperImages(input_file): argument 147 with zipfile.ZipFile(input_file) as input_zip: 157 def RebuildAndWriteSuperImages(input_file, output_file): argument 164 input_tmp = common.UnzipTemp(input_file) [all …]
|
D | img_from_target_files | 68 def LoadOptions(input_file): argument 74 with zipfile.ZipFile(input_file) as input_zip: 87 def CopyZipEntries(input_file, output_file, entries): argument 100 cmd = ['zip2zip', '-i', input_file, '-o', output_file] 105 def EntriesForUserImages(input_file): argument 120 with zipfile.ZipFile(input_file) as input_zip: 139 def EntriesForSplitSuperImages(input_file): argument 147 with zipfile.ZipFile(input_file) as input_zip: 157 def RebuildAndWriteSuperImages(input_file, output_file): argument 164 input_tmp = common.UnzipTemp(input_file) [all …]
|
D | test_sign_target_files_apks.py | 166 input_file = common.MakeTempFile(suffix='.zip') 167 with zipfile.ZipFile(input_file, 'w') as input_zip: 174 with zipfile.ZipFile(input_file, 'r') as input_zip, \ 184 with zipfile.ZipFile(input_file, 'r') as input_zip, \ 197 input_file = common.MakeTempFile(suffix='.zip') 198 with zipfile.ZipFile(input_file, 'w') as input_zip: 202 with zipfile.ZipFile(input_file, 'r') as input_zip, \ 296 input_file = common.MakeTempFile(suffix='.zip') 297 with zipfile.ZipFile(input_file, 'w') as input_zip: 306 with zipfile.ZipFile(input_file) as input_zip: [all …]
|
D | test_ota_from_target_files.py | 342 input_file = construct_target_files(secondary=True) 343 target_file = GetTargetFilesZipForSecondaryImages(input_file) 364 input_file = construct_target_files(secondary=True) 366 input_file, skip_postinstall=True) 383 input_file = construct_target_files(secondary=True) 384 common.ZipDelete(input_file, 'RADIO/bootloader.img') 385 common.ZipDelete(input_file, 'RADIO/modem.img') 386 target_file = GetTargetFilesZipForSecondaryImages(input_file) 403 input_file = construct_target_files(secondary=True) 418 with zipfile.ZipFile(input_file, 'a') as append_zip: [all …]
|
D | ota_from_target_files.py | 1276 def FinalizeMetadata(metadata, input_file, output_file, needed_property_files): argument 1297 def ComputeAllPropertyFiles(input_file, needed_property_files): argument 1299 with zipfile.ZipFile(input_file) as input_zip: 1305 common.ZipDelete(input_file, METADATA_NAME) 1306 output_zip = zipfile.ZipFile(input_file, 'a') 1311 return input_file 1314 SignOutput(input_file, prelim_signing) 1328 prelim_signing = ComputeAllPropertyFiles(input_file, needed_property_files) 1619 def GetTargetFilesZipForSecondaryImages(input_file, skip_postinstall=False): argument 1682 with zipfile.ZipFile(input_file, 'r') as input_zip: [all …]
|
D | ota_from_target_files | 1276 def FinalizeMetadata(metadata, input_file, output_file, needed_property_files): argument 1297 def ComputeAllPropertyFiles(input_file, needed_property_files): argument 1299 with zipfile.ZipFile(input_file) as input_zip: 1305 common.ZipDelete(input_file, METADATA_NAME) 1306 output_zip = zipfile.ZipFile(input_file, 'a') 1311 return input_file 1314 SignOutput(input_file, prelim_signing) 1328 prelim_signing = ComputeAllPropertyFiles(input_file, needed_property_files) 1619 def GetTargetFilesZipForSecondaryImages(input_file, skip_postinstall=False): argument 1682 with zipfile.ZipFile(input_file, 'r') as input_zip: [all …]
|
D | test_validate_target_files.py | 273 input_file = common.MakeTempFile() 276 with zipfile.ZipFile(input_file, 'w') as input_zip: 282 with zipfile.ZipFile(input_file) as input_zip: 322 input_file = common.MakeTempFile() 325 with zipfile.ZipFile(input_file, 'w') as input_zip: 329 with zipfile.ZipFile(input_file) as input_zip:
|
D | common.py | 575 def ReadFromInputFile(input_file, fn): argument 577 if isinstance(input_file, zipfile.ZipFile): 578 return input_file.read(fn).decode() 580 path = os.path.join(input_file, *fn.split("/")) 589 def LoadInfoDict(input_file, repacking=False): argument 622 assert isinstance(input_file, str), \ 626 return ReadFromInputFile(input_file, fn) 644 fc_config = os.path.join(input_file, "META", fc_basename) 650 d["root_dir"] = os.path.join(input_file, "ROOT") 652 input_file, "META", "root_filesystem_config.txt") [all …]
|
D | test_common.py | 1829 input_file = common.MakeTempFile(prefix='target_files-', suffix='.zip') 1830 with zipfile.ZipFile(input_file, 'w') as input_zip: 1834 return input_file 1843 input_file = self._BuildZipFile({ 1847 with zipfile.ZipFile(input_file, 'r') as input_zip: 1873 input_file = self._BuildZipFile({ 1879 with zipfile.ZipFile(input_file, 'r') as input_zip: 1894 with zipfile.ZipFile(input_file, 'r') as input_zip: 1911 input_file = self._BuildZipFile({ 1915 with zipfile.ZipFile(input_file, 'r') as input_zip: [all …]
|
D | verity_utils.py | 135 open(file_to_append, 'rb') as input_file: 136 for line in input_file:
|
/build/soong/cc/ |
D | test_gen_stub_libs.py | 281 input_file = io.StringIO(textwrap.dedent("""\ 288 parser = gsl.SymbolFileParser(input_file, {}, 'arm', 16, False, False) 304 input_file = io.StringIO(textwrap.dedent("""\ 313 parser = gsl.SymbolFileParser(input_file, {}, 'arm', 16, False, False) 334 input_file = io.StringIO(textwrap.dedent("""\ 337 parser = gsl.SymbolFileParser(input_file, {}, 'arm', 16, False, False) 343 input_file = io.StringIO(textwrap.dedent("""\ 348 parser = gsl.SymbolFileParser(input_file, {}, 'arm', 16, False, False) 354 input_file = io.StringIO(textwrap.dedent("""\ 358 parser = gsl.SymbolFileParser(input_file, {}, 'arm', 16, False, False) [all …]
|
D | gen_stub_libs.py | 253 def __init__(self, input_file, api_map, arch, api, llndk, apex): argument 254 self.input_file = input_file 362 line = self.input_file.readline() 364 line = self.input_file.readline()
|
/build/make/tools/ |
D | generate-self-extracting-archive.py | 165 with open(input_archive_filename, 'rb') as input_file: 166 _pipe_bytes(input_file, output)
|