On this page, you will see a search bar and a list of the main AOSP repositories (platform/manifest, frameworks/base, kernel/common, etc.).
package: Narrows down the scope to specific AOSP sub-projects (e.g., package:platform/frameworks/base ). case:yes Enforces case-sensitive matching. 2. Clickable Definitions and References
: Click the cross-reference jump within the tool to see where the call serializes data through the internal Android Binder IPC mechanism.
repo init -u https://googlesource.com -b android-14.0.0_r1 repo sync -c -j8 Use code with caution. Step 2: Deploy OpenGrok via Docker xref aosp
Now that you know the basics, let's move to advanced workflows that separate casual browsers from power users.
There’s also a temporal dimension: references age. APIs deprecate, files move, and build systems evolve. A xref system must be resilient to churn, providing historical context: where did this symbol come from, how has it moved across branches, and why was it changed? Linking commits, code review discussions, and issue-tracker items enriches the cross-reference graph, turning it into a living ledger of technical decisions. For AOSP, whose stability and security are mission-critical, that ledger aids incident response and long-term stewardship.
Mastering the cross-reference tool at cs.android.com will pay dividends every single day. On this page, you will see a search
Here's a simple guide to start your journey:
Whether you are:
Are you trying to understand the of a specific AOSP sub-project? Share public link Step 2: Deploy OpenGrok via Docker Now that
Symbols from external/skia or external/icu may appear undefined. Ensure your indexer includes external/ with full C++ parsing options.
As Android continues to evolve, we can expect xref tools to become even more intelligent. Potential future developments include: