Xref Aosp -

When you run xref with a specific symbol as an argument, it uses a pre-built index of the AOSP codebase to quickly identify all the files that reference that symbol. This index is generated during the build process, so you need to have a local AOSP build environment set up to use xref .

In this blog post, we've explored the powerful xref utility that comes with AOSP. By using xref , developers and researchers can quickly identify cross-references between different parts of the AOSP codebase, uncovering hidden dependencies and relationships. Whether you're trying to understand the implementation of a specific API, track changes to a symbol, or identify similar implementations, xref is an indispensable tool in your toolkit. xref aosp

$ xref find -symbol android::IBinder This command will show you a list of files that reference the android::IBinder symbol, along with the line numbers and a brief description of the reference. When you run xref with a specific symbol