Lines Matching refs:download_dir
104 def download_build(host, build_number, android_branch, download_dir): argument
106 return download_file(host, build_number, android_branch, filename, download_dir)
109 def download_manifest(host, build_number, android_branch, download_dir): argument
111 return download_file(host, build_number, android_branch, filename, download_dir)
114 def download_file(host, build_number, android_branch, pkg_name, download_dir): argument
125 out_file_path = os.path.join(download_dir, pkg_name)
140 def update_renderscript(host, build_number, android_branch, use_current_branch, download_dir, bug): argument
149 package = download_build(host, build_number, android_branch, download_dir)
150 manifest = download_manifest(host, build_number, android_branch, download_dir)
179 download_dir = os.path.realpath('.download')
180 if os.path.isdir(download_dir):
181 shutil.rmtree(download_dir)
182 os.makedirs(download_dir)
188 args.use_current_branch, download_dir, args.bug)
190 shutil.rmtree(download_dir)