Lines Matching refs:android_root
149 def generate_cs_link(warning_line, flags, android_root=None): argument
154 return generate_android_cs_link(warning_line, flags, android_root)
158 def generate_android_cs_link(warning_line, flags, android_root): argument
162 normalized_path = normalize_path(raw_path, flags, android_root)
248 android_root = find_warn_py_and_android_root(path)
249 if android_root:
250 return android_root
261 def remove_android_root_prefix(path, android_root): argument
263 if path.startswith(android_root):
264 return path[1 + len(android_root):]
268 def normalize_path(path, flags, android_root=None): argument
273 if android_root:
274 return remove_android_root_prefix(path, android_root)
285 def normalize_warning_line(line, flags, android_root=None): argument
293 android_root) + line[first_column:]
335 def add_normalized_line_to_warnings(line, flags, android_root, unique_warnings): argument
337 normalized_line = normalize_warning_line(line, flags, android_root)
340 android_root)
350 android_root = find_android_root(infile)
378 line, flags, android_root, unique_warnings)
384 prev_warning, flags, android_root, unique_warnings)
393 line, flags, android_root, unique_warnings)
410 android_root = result.group(1)
412 if android_root:
416 android_root)
418 warning_line, flags, android_root)