Lines Matching refs:abs_path
125 abs_path = None
133 abs_path = get_android_root_dir()
136 abs_path = target
137 rel_path = os.path.relpath(abs_path, get_android_root_dir())
143 abs_path = os.path.join(get_android_root_dir(), rel_path)
148 abs_path = os.path.join(get_android_root_dir(), rel_path)
151 abs_path = os.path.abspath(os.path.join(os.getcwd(), target))
152 rel_path = os.path.relpath(abs_path, get_android_root_dir())
155 abs_path = os.getcwd()
156 if is_android_root(abs_path):
159 rel_path = os.path.relpath(abs_path, get_android_root_dir())
160 return rel_path, abs_path
175 _, abs_path = get_related_paths(atest_module_info, target)
176 if is_android_root(abs_path):
181 def is_android_root(abs_path): argument
190 return abs_path == get_android_root_dir()
273 rel_path, abs_path = get_related_paths(atest_module_info, target)
274 if not abs_path:
278 if not is_source_under_relative_path(abs_path, get_android_root_dir()):
279 err = OUTSIDE_ROOT_ERROR.format(abs_path)
282 if not os.path.isdir(abs_path):
290 and not is_android_root(abs_path)):
459 def exist_android_bp(abs_path): argument
468 return os.path.isfile(os.path.join(abs_path, constant.ANDROID_BP))
471 def exist_android_mk(abs_path): argument
480 return os.path.isfile(os.path.join(abs_path, constant.ANDROID_MK))
780 def check_java_or_kotlin_file_exists(abs_path): argument
789 for _, _, filenames in os.walk(abs_path):