Lines Matching refs:target
89 def get_related_paths(atest_module_info, target=None): argument
109 if target:
111 if atest_module_info.is_module(target):
112 paths = atest_module_info.get_paths(target)
117 elif (atest_module_info.get_module_names(target) or os.path.isdir(
118 os.path.join(constant.ANDROID_ROOT_PATH, target))):
119 rel_path = target.strip(os.sep)
123 abs_path = os.path.abspath(os.path.join(os.getcwd(), target))
146 for target in targets:
147 _, abs_path = get_related_paths(atest_module_info, target)
202 for target in targets:
203 if not _check_module(atest_module_info, target, raise_on_lost_module):
208 def _check_module(atest_module_info, target, raise_on_lost_module=True): argument
244 rel_path, abs_path = get_related_paths(atest_module_info, target)
246 err = FAKE_MODULE_ERROR.format(target)