Lines Matching refs:path
89 for path in dirs_to_check:
90 cvd_host_package = os.path.join(path, constants.CVD_HOST_PACKAGE)
91 if os.path.exists(cvd_host_package):
100 def FindLocalImage(path, default_name_pattern): argument
114 path = os.path.abspath(path)
115 if os.path.isdir(path):
116 names = [name for name in os.listdir(path) if
119 raise errors.GetLocalImageError("No image in %s." % path)
122 (path, " ".join(names)))
123 path = os.path.join(path, names[0])
124 if os.path.isfile(path):
125 return path
126 raise errors.GetLocalImageError("%s is not a file." % path)
143 temp_file = os.path.join(extract_path, artifact)
169 if os.path.islink(instance_dir):
175 abs_instance_dir = os.path.abspath(avd_spec.local_instance_dir)
179 if not os.path.exists(instance_dir):