Home
last modified time | relevance | path

Searched refs:temp_file (Results 1 – 4 of 4) sorted by relevance

/build/make/tools/fs_config/
Dtest_fs_config_generator.py67 with tempfile.NamedTemporaryFile(mode='w') as temp_file:
68 temp_file.write(
78 temp_file.flush()
80 parser = AIDHeaderParser(temp_file.name)
94 with tempfile.NamedTemporaryFile(mode='w') as temp_file:
95 temp_file.write(
105 temp_file.flush()
107 parser = AIDHeaderParser(temp_file.name)
121 with tempfile.NamedTemporaryFile(mode='w') as temp_file:
122 temp_file.write(
[all …]
/build/make/tools/aconfig/aconfig_storage_write_api/tests/
Dstorage_write_api_test.cpp36 auto temp_file = std::string(std::tmpnam(nullptr)); in copy_to_rw_temp_file() local
41 if (!WriteStringToFile(content, temp_file)) { in copy_to_rw_temp_file()
44 if (chmod(temp_file.c_str(), in copy_to_rw_temp_file()
48 return temp_file; in copy_to_rw_temp_file()
/build/make/tools/releasetools/
Dbuild_image.py477 temp_file = out_file + ".sparse"
478 img2simg_argv = ["img2simg", out_file, temp_file]
480 os.rename(temp_file, out_file)
Dsign_target_files_apks.py1061 temp_file = io.BytesIO()
1062 certs_zip = zipfile.ZipFile(temp_file, "w", allowZip64=True)
1066 common.ZipWriteStr(output_zip, filename, temp_file.getvalue())