Home
last modified time | relevance | path

Searched refs:input_file (Results 1 – 15 of 15) sorted by relevance

/build/make/tools/releasetools/
Dimg_from_target_files.py68 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 …]
Dimg_from_target_files68 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 …]
Dtest_sign_target_files_apks.py166 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 …]
Dtest_ota_from_target_files.py342 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 …]
Dota_from_target_files1280 def FinalizeMetadata(metadata, input_file, output_file, needed_property_files): argument
1301 def ComputeAllPropertyFiles(input_file, needed_property_files): argument
1303 with zipfile.ZipFile(input_file) as input_zip:
1309 common.ZipDelete(input_file, METADATA_NAME)
1310 output_zip = zipfile.ZipFile(input_file, 'a')
1315 return input_file
1318 SignOutput(input_file, prelim_signing)
1332 prelim_signing = ComputeAllPropertyFiles(input_file, needed_property_files)
1623 def GetTargetFilesZipForSecondaryImages(input_file, skip_postinstall=False): argument
1686 with zipfile.ZipFile(input_file, 'r') as input_zip:
[all …]
Dota_from_target_files.py1280 def FinalizeMetadata(metadata, input_file, output_file, needed_property_files): argument
1301 def ComputeAllPropertyFiles(input_file, needed_property_files): argument
1303 with zipfile.ZipFile(input_file) as input_zip:
1309 common.ZipDelete(input_file, METADATA_NAME)
1310 output_zip = zipfile.ZipFile(input_file, 'a')
1315 return input_file
1318 SignOutput(input_file, prelim_signing)
1332 prelim_signing = ComputeAllPropertyFiles(input_file, needed_property_files)
1623 def GetTargetFilesZipForSecondaryImages(input_file, skip_postinstall=False): argument
1686 with zipfile.ZipFile(input_file, 'r') as input_zip:
[all …]
Dtest_validate_target_files.py272 input_file = common.MakeTempFile()
275 with zipfile.ZipFile(input_file, 'w') as input_zip:
281 with zipfile.ZipFile(input_file) as input_zip:
321 input_file = common.MakeTempFile()
324 with zipfile.ZipFile(input_file, 'w') as input_zip:
328 with zipfile.ZipFile(input_file) as input_zip:
Dcommon.py600 def ReadFromInputFile(input_file, fn): argument
602 if isinstance(input_file, zipfile.ZipFile):
603 return input_file.read(fn).decode()
605 path = os.path.join(input_file, *fn.split("/"))
614 def LoadInfoDict(input_file, repacking=False): argument
647 assert isinstance(input_file, str), \
651 return ReadFromInputFile(input_file, fn)
669 fc_config = os.path.join(input_file, "META", fc_basename)
675 d["root_dir"] = os.path.join(input_file, "ROOT")
677 input_file, "META", "root_filesystem_config.txt")
[all …]
Dtest_common.py1912 input_file = common.MakeTempFile(prefix='target_files-', suffix='.zip')
1913 with zipfile.ZipFile(input_file, 'w') as input_zip:
1917 return input_file
1926 input_file = self._BuildZipFile({
1930 with zipfile.ZipFile(input_file, 'r') as input_zip:
1956 input_file = self._BuildZipFile({
1962 with zipfile.ZipFile(input_file, 'r') as input_zip:
1977 with zipfile.ZipFile(input_file, 'r') as input_zip:
1994 input_file = self._BuildZipFile({
1998 with zipfile.ZipFile(input_file, 'r') as input_zip:
[all …]
Dverity_utils.py135 open(file_to_append, 'rb') as input_file:
136 for line in input_file:
/build/soong/cc/symbolfile/
Dtest_symbolfile.py298 input_file = io.StringIO(textwrap.dedent("""\
305 parser = symbolfile.SymbolFileParser(input_file, {}, 'arm', 16, False, False)
321 input_file = io.StringIO(textwrap.dedent("""\
330 parser = symbolfile.SymbolFileParser(input_file, {}, 'arm', 16, False, False)
351 input_file = io.StringIO(textwrap.dedent("""\
354 parser = symbolfile.SymbolFileParser(input_file, {}, 'arm', 16, False, False)
360 input_file = io.StringIO(textwrap.dedent("""\
365 parser = symbolfile.SymbolFileParser(input_file, {}, 'arm', 16, False, False)
371 input_file = io.StringIO(textwrap.dedent("""\
375 parser = symbolfile.SymbolFileParser(input_file, {}, 'arm', 16, False, False)
[all …]
D__init__.py265 def __init__(self, input_file, api_map, arch, api, llndk, apex): argument
266 self.input_file = input_file
376 line = self.input_file.readline()
378 line = self.input_file.readline()
/build/soong/cc/ndkstubgen/
Dtest_ndkstubgen.py150 input_file = io.StringIO(textwrap.dedent("""\
181 parser = symbolfile.SymbolFileParser(input_file, api_map, 'arm', 9,
223 input_file = io.StringIO(textwrap.dedent("""\
233 parser = symbolfile.SymbolFileParser(input_file, api_map, 'arm', 9001,
259 input_file = io.StringIO(textwrap.dedent("""\
283 parser = symbolfile.SymbolFileParser(input_file, {}, 'arm', 16, False,
298 input_file = io.StringIO(textwrap.dedent("""\
331 parser = symbolfile.SymbolFileParser(input_file, api_map, 'arm', 9,
/build/soong/cc/ndk_api_coverage_parser/
Dtest_ndk_api_coverage_parser.py56 input_file = io.StringIO(textwrap.dedent(u"""\
77 parser = SymbolFileParser(input_file, {}, "", FUTURE_API_LEVEL, True, True)
/build/make/tools/
Dgenerate-self-extracting-archive.py165 with open(input_archive_filename, 'rb') as input_file:
166 _pipe_bytes(input_file, output)