Xref Aosp -

: Click on any function, variable, or class to jump directly to its definition or see where it is used.

Searches for occurrences of a specific programming symbol.

Woboq is another popular C/C++ focused code browser often used to view AOSP native code due to its superior handling of C++ templates and inheritance diagrams. xref aosp

: Click on any class, method, or variable to jump to its definition or see every instance where it is called.

: The official tool from Google. It provides powerful cross-referencing capabilities, allowing you to see exactly where a piece of code is used elsewhere in the project. : Click on any function, variable, or class

Currently, Android's battery usage screen ( Settings > Battery ) tells you how much battery an app used, but not why or how efficiently it used it. An app might use 1% battery, but if it did so by waking the device up 500 times in the background for no reason, it is behaving poorly. Users and developers lack a quick "efficiency" metric.

xref -f frameworks/base system/core --recursive --output ./xref_db : Click on any class, method, or variable

The most widely used public instances of XRef for Android include:

Copied