Lines Matching refs:path

80     self.input_name = os.path.join(input_dir, prefix, name)
83 self._zip_name = os.path.join(prefix, name)
85 root, suffix = os.path.splitext(name)
121 if os.path.exists(img.input_name):
126 ofile = open(os.path.join(OPTIONS.input_tmp, "SYSTEM", fn), "w")
147 if os.path.exists(img.input_name):
160 if os.path.exists(img.input_name):
179 os.symlink(os.path.join(input_dir, what.upper()),
180 os.path.join(temp_dir, what))
184 # os.path.join(OPTIONS.input_tmp, "system"))
206 fs_config = os.path.join(
208 if not os.path.exists(fs_config):
217 succ = build_image.BuildImage(os.path.join(temp_dir, what),
244 if os.path.exists(img.input_name):
268 user_dir = os.path.join(temp_dir, "data")
275 os.symlink(os.path.join(OPTIONS.input_tmp, "DATA"),
344 if os.path.exists(img.input_name):
366 user_dir = os.path.join(temp_dir, "cache")
380 if os.path.isdir(filename):
381 OPTIONS.input_tmp = os.path.abspath(filename)
387 if os.path.isdir(os.path.join(OPTIONS.input_tmp, "IMAGES")):
391 has_vendor = os.path.isdir(os.path.join(OPTIONS.input_tmp, "VENDOR"))
392 has_system_other = os.path.isdir(os.path.join(OPTIONS.input_tmp,
405 images_dir = os.path.join(OPTIONS.input_tmp, "IMAGES")
406 if not os.path.isdir(images_dir):
415 prebuilt_path = os.path.join(OPTIONS.input_tmp, "IMAGES", "boot.img")
417 if os.path.exists(prebuilt_path):
436 prebuilt_path = os.path.join(OPTIONS.input_tmp, "IMAGES", "recovery.img")
437 if os.path.exists(prebuilt_path):
490 ab_partitions = os.path.join(OPTIONS.input_tmp, "META", "ab_partitions.txt")
491 if os.path.exists(ab_partitions):
500 assert os.path.exists(system_img_path)
504 assert os.path.exists(vendor_img_path)
508 prebuilt_path = os.path.join(OPTIONS.input_tmp, "IMAGES", img_name)
509 if os.path.exists(prebuilt_path):
513 img_radio_path = os.path.join(OPTIONS.input_tmp, "RADIO", img_name)
514 img_vendor_dir = os.path.join(
516 if os.path.exists(img_radio_path):
519 os.path.join("IMAGES", img_name))
526 common.ZipWrite(output_zip, os.path.join(root, img_name),
527 os.path.join("IMAGES", img_name))
529 shutil.copy(os.path.join(root, img_name), prebuilt_path)
537 img_path = os.path.join(OPTIONS.input_tmp, "IMAGES", img_name)
538 assert os.path.exists(img_path), "cannot find " + img_name
545 with open(os.path.join(OPTIONS.input_tmp, file_path), 'w') as fp: