Home
last modified time | relevance | path

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

/build/soong/cc/
Dtest_gen_stub_libs.py281 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 …]
Dgen_stub_libs.py253 def __init__(self, input_file, api_map, arch, api, vndk, apex): argument
254 self.input_file = input_file
362 line = self.input_file.readline()
364 line = self.input_file.readline()
/build/make/tools/releasetools/
Dtest_sign_target_files_apks.py126 input_file = common.MakeTempFile(suffix='.zip')
127 with zipfile.ZipFile(input_file, 'w') as input_zip:
134 with zipfile.ZipFile(input_file, 'r') as input_zip, \
144 with zipfile.ZipFile(input_file, 'r') as input_zip, \
157 input_file = common.MakeTempFile(suffix='.zip')
158 with zipfile.ZipFile(input_file, 'w') as input_zip:
162 with zipfile.ZipFile(input_file, 'r') as input_zip, \
240 input_file = common.MakeTempFile(suffix='.zip')
241 with zipfile.ZipFile(input_file, 'w') as input_zip:
250 with zipfile.ZipFile(input_file) as input_zip:
[all …]
Dtest_ota_from_target_files.py586 input_file = construct_target_files(secondary=True)
587 target_file = GetTargetFilesZipForSecondaryImages(input_file)
604 input_file = construct_target_files(secondary=True)
606 input_file, skip_postinstall=True)
623 input_file = construct_target_files(secondary=True)
624 common.ZipDelete(input_file, 'RADIO/bootloader.img')
625 common.ZipDelete(input_file, 'RADIO/modem.img')
626 target_file = GetTargetFilesZipForSecondaryImages(input_file)
643 input_file = construct_target_files()
644 target_file = GetTargetFilesZipWithoutPostinstallConfig(input_file)
[all …]
Dota_from_target_files1426 def FinalizeMetadata(metadata, input_file, output_file, needed_property_files): argument
1447 def ComputeAllPropertyFiles(input_file, needed_property_files): argument
1449 with zipfile.ZipFile(input_file) as input_zip:
1455 common.ZipDelete(input_file, METADATA_NAME)
1456 output_zip = zipfile.ZipFile(input_file, 'a')
1461 return input_file
1464 SignOutput(input_file, prelim_signing)
1478 prelim_signing = ComputeAllPropertyFiles(input_file, needed_property_files)
1843 def GetTargetFilesZipForSecondaryImages(input_file, skip_postinstall=False): argument
1865 with zipfile.ZipFile(input_file, 'r') as input_zip:
[all …]
Dota_from_target_files.py1426 def FinalizeMetadata(metadata, input_file, output_file, needed_property_files): argument
1447 def ComputeAllPropertyFiles(input_file, needed_property_files): argument
1449 with zipfile.ZipFile(input_file) as input_zip:
1455 common.ZipDelete(input_file, METADATA_NAME)
1456 output_zip = zipfile.ZipFile(input_file, 'a')
1461 return input_file
1464 SignOutput(input_file, prelim_signing)
1478 prelim_signing = ComputeAllPropertyFiles(input_file, needed_property_files)
1843 def GetTargetFilesZipForSecondaryImages(input_file, skip_postinstall=False): argument
1865 with zipfile.ZipFile(input_file, 'r') as input_zip:
[all …]
Dtest_validate_target_files.py204 input_file = common.MakeTempFile()
207 with zipfile.ZipFile(input_file, 'w') as input_zip:
211 input_zip = zipfile.ZipFile(input_file, 'r')
Dimg_from_target_files49 def LoadOptions(input_file): argument
57 info = OPTIONS.info_dict = common.LoadInfoDict(input_file)
Dimg_from_target_files.py49 def LoadOptions(input_file): argument
57 info = OPTIONS.info_dict = common.LoadInfoDict(input_file)
Dcommon.py274 def LoadInfoDict(input_file, repacking=False): argument
307 assert isinstance(input_file, str), \
311 if isinstance(input_file, zipfile.ZipFile):
312 return input_file.read(fn)
314 path = os.path.join(input_file, *fn.split("/"))
338 fc_config = os.path.join(input_file, "META", fc_basename)
344 d["root_dir"] = os.path.join(input_file, "ROOT")
346 input_file, "META", "root_filesystem_config.txt")
351 system_base_fs_file = os.path.join(input_file, "META", basename)
361 vendor_base_fs_file = os.path.join(input_file, "META", basename)
[all …]
Dverity_utils.py134 with open(target, "a") as out_file, open(file_to_append, "r") as input_file:
135 for line in input_file: