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.
Jack Jennings · Jul 30, 2015 at 11:09 am · 1 comment

Huawei’s Rapid Rise to Third Place in the Smartphone Race

Huawei has quickly grown to become one of the world's biggest telecommunications companies since its inception in 1987, owning huge swathes of network infrastructure across different countries. It looks as if its smartphone sales are really beginning to take hold too - results this year have been great for the Chinese manufacturer, with an increase in global smartphone sales of 39% in the first half of 2015.     Now a new report from Strategy Analytics now states that Huawei has risen to take the title...

XDA NEWS
Faiz Malkani · Jul 30, 2015 at 10:30 am · no comments

OnePlus 2 Bares All in New Tear Down Gallery

Last year, the launch of the OnePlus One, dubbed 'the flagship killer', visibly shook the foundations of the mobile OEM sphere, with OnePlus delivering high-end flagships specs at a very affordable price. The initial launch phase was met with mixed feelings after a few controversial marketing tactics, but they eventually gave way to strong sales figures.   Earlier this week, OnePlus went on to unveil the successor to the One, and while the device continues to offer top-of-the-line specs at...

XDA NEWS
Jack Jennings · Jul 30, 2015 at 10:00 am · no comments

Focus – An Attractive But Raw Gallery Replacement

Focus is an attractive new app built by XDA members Liam Spradlin and Francisco Franco, the latter being well-known in the forums for his kernels. Focus aims to completely replace your gallery app with some neat tricks, but at a potentially risky time considering that Google has thrown its weight into the photo-organization arena. This is a first draft of the app of course, but we'll pitch it against its main rivals here, namely the popular QuickPic and the aforementioned Google Photos.     The first...

XDA NEWS