Home
last modified time | relevance | path

Searched refs:zip_file (Results 1 – 8 of 8) sorted by relevance

/tools/acloud/public/actions/
Dremote_host_gf_device_factory.py452 with zipfile.ZipFile(image_zip_path, "r") as zip_file:
453 zip_file.extract(_SYSTEM_IMAGE_NAME, self._artifact_dir)
488 with zipfile.ZipFile(zip_path, "r") as zip_file:
489 zip_file.extractall(ota_tools_dir)
544 "r") as zip_file:
545 zip_file.extractall(image_dir)
Dremote_host_gf_device_factory_test.py133 with zipfile.ZipFile(path, "w") as zip_file:
134 zip_file.writestr("x86_64/build.prop", "")
135 zip_file.writestr("x86_64/test", "")
140 with zipfile.ZipFile(path, "w") as zip_file:
141 zip_file.writestr("system.img", "")
/tools/netsim/rust/common/src/util/
Dzip_artifact.rs99 let zip_file = root.join(format!("netsim_artifacts_{}.zip", file_current_time())); in zip_artifacts() localVariable
102 let mut zip_writer = ZipWriter::new(File::create(zip_file)?); in zip_artifacts()
/tools/test/connectivity/acts/framework/acts/
Dutils.py1003 with zipfile.ZipFile(zip_path, 'r') as zip_file:
1004 for info in zip_file.infolist():
1005 _extract_file(zip_file, info, extract_location)
1008 def _extract_file(zip_file, zip_info, extract_location): argument
1016 out_path = zip_file.extract(zip_info.filename, path=extract_location)
/tools/asuite/atest/integration_tests/
Dsplit_build_test_script.py401 ) as zip_file:
402 zip_file.write(file_path, arcname=file_path.name)
424 with zipfile.ZipFile(file_path, 'r') as zip_file:
425 zip_file.extractall(file_path.parent)
/tools/acloud/internal/lib/
Dcvd_utils.py181 with zipfile.ZipFile(zip_path, "r") as zip_file:
182 for entry in zip_file.namelist():
185 zip_file.extract(entry, output_dir)
Dcvd_utils_test.py61 with zipfile.ZipFile(zip_path, "w") as zip_file:
66 zip_file.writestr(entry, "")
/tools/asuite/atest/
Datest_utils.py1006 with zipfile.ZipFile(zip_path) as zip_file:
1007 for filename in zip_file.namelist():
1013 with zip_file.open(filename) as extract_file: