Home
last modified time | relevance | path

Searched refs:zip_file_path (Results 1 – 2 of 2) sorted by relevance

/system/update_engine/scripts/
Dsimulate_ota.py34 def extract_file(zip_file_path, entry_name, target_file_path): argument
37 if isinstance(zip_file_path, zipfile.ZipFile):
38 with zip_file_path.open(entry_name) as fp:
40 elif os.path.isdir(zip_file_path):
41 with open(os.path.join(zip_file_path, entry_name), "rb") as fp:
/system/extras/simpleperf/scripts/
Dapi_profiler.py84 zip_file_path = os.path.join(args.out_dir, 'simpleperf_data.zip')
85 with zipfile.ZipFile(zip_file_path, 'r') as zip_fh:
91 remove(zip_file_path)