jerdog · Feb 6, 2013 at 07:00 am

Browse and Search the AOSP, Linux, and CM Sources Online

When in the course of developing from source, it can become quite cumbersome to find that specific code reference or symbol that is either causing you problems or is the one thing you’re missing. You often find yourself browsing through line after line of code, hoping you don’t miss that snippet you’re looking for. This can get frustrating, and very tiresome, to say the least. With a new set of websites, your life might just get a little simpler.

BBQSauce is a website that allows you to search (and browse) the CM source tree for just about anything. Let’s say that I am working on telephony in CyangoenMod 10.1 and I want to find all instances of the TelephonyProperties string. I would go to the BBQSauce site and type that into the Full Search box, select the corresponding project name (abi, android, bionic, etc.), and then hit search and wait. What would return for me would be each file with all respective entries in each file where my search string showed up, grouped by directory in the source code. Each of those entries are clickable, meaning I will be taken right to the line in the source code where my search string is found.

AndroidXRef is another resource that can be extremely helpful, providing the AOSP source (from 1.6 to 4.2) and the Linux kernel source (versions 2.6.39, 3.0, 3.3 and 3.4) in a browsable and searchable format. Again, AndroidXRef operates in the same way that BBQSauce does, as they both use Oracle’s {OpenGrok source browser.

Both systems provide you with a handy resource at your disposal, one of which can make the life of a developer much easier. In addition, they’ll be able to spend more time making bacon.

[Featured image courtesy of AndroidXRef]
_________
Want something on the XDA Portal? Send us a tip!

jerdog

jerdog is an editor on XDA-Developers, the largest community for Android users. Jeremy has been an XDA member since 2007, and has been involved in technology in one way or another, dating back to when he was 8 years old and was given his first PC in 1984 - which promptly got formatted. It was a match made in the stars, and he never looked back. He has owned, to date, over 60 mobile devices over the last 15 years and mobile technology just clicks with him. In addition to being a News Editor and OEM Relations Manager, he is a Senior Moderator and member of the Developer and Moderator Committees at XDA. View jerdog's posts and articles here.
Emil Kako · Apr 26, 2015 at 04:19 pm · 3 comments

Which Lockscreen Security Type Do You Use?

From pattern locks to the controversial face unlock, there are a number of different ways you can secure your Android phone's lockscreen. Some methods are clearly more secure than others, but it comes down to user preference at the end of the day. So, which lockscreen security type do you prefer and why?

DISCUSS
Chris Gilliam · Apr 26, 2015 at 12:00 pm · 4 comments

XDA Recap: This Week In Android (Apr 18 – 25)

Here in the digital XDA newsroom, we spend our days pouring over an average of 2,500 news items and forum threads every 24 hours. Only the most timely and interesting bits survive the editing process, but the portal's front page still sees weekly counts in excess of 100 posts. This is a glut of content to absorb, especially if following the news cycle isn't your full-time job. However, the tech world is vast, and the information must flow. With this in mind, please...

XDA NEWS
Mario Tomás Serrafero · Apr 26, 2015 at 11:00 am · 3 comments

Sunday Debate: Custom ROMs vs. Modular Tweaks

Join us in a fun Sunday Debate on Mods and ROMs. Come with your opinions and feel free to read some of our thoughts, then pick your side or play devil’s advocate to get your voice heard and engage in friendly discussion. You can read our food-for-thought or jump straight into the fray below!       PLEASE NOTE THIS DEBATE IS ABOUT FUNCTIONALITY AND PRACTICALITY AND NOT ANY IMPLICATIONS. LET’S AIM FOR FRIENDLY DISCUSSION Tweaking Android is what a...

XDA NEWS
Share This