Xref Aosp -
Kythe understands builds – it only indexes code that is actually compiled for a given target.
xref is a command-line tool that comes with the Android build system. It's short for "cross-reference" and allows you to search for references to a specific symbol, such as a function, variable, or macro, across the entire AOSP codebase. Think of it like a super-powered grep that can find references to a symbol in any file, not just the ones you're currently looking at. xref aosp
Here are some real-world examples of how xref can be used: Kythe understands builds – it only indexes code
$ xref find -symbol "example_function" -similar such as a function