Androidxref: Speeding up the Development of Android Internals

Androidxref: Speeding up the Development of Android Internals

AndroidXRef: Speeding up the development of Android Internals. Android Builders Summit 2012 – Feb 13-14 Rodrigo Chiossi - Samsung SIDI Brazil A Little Background... Feb 2012 | androidxref.com What makes Android Great? • API Documentation. • Source Code Examples. • Powerful IDE. • Pre-built test environment. It’s all about Availability. Feb 2012 | androidxref.com What makes Android Internals not so Great? • No API Documentation. • Fewer Programmers. • Mostly restricted to manufactures. – Proprietary Code. It’s all about Availability. Feb 2012 | androidxref.com Can we make it as easy as App development? NO! Can we make easier? YES! Feb 2012 | androidxref.com The way around the code • Grep. • CScope. • Eclipse. – Samsung Enterprise SDK. Feb 2012 | androidxref.com A Simple Idea • Linux Cross Reference: lxr.linux.no • Online Cross Reference for the Linux Kernel. • A stand alone system for online source indexing. • Quick search and no setup time. High Availability. Feb 2012 | androidxref.com The birth of AndroidXRef • Android Cross Reference: androidxref.com • Includes the Android branch of the Linux Kernel. • Currently has the source code of Android Ice Cream Sandwich. • Plans to have all major versions of android available. Feb 2012 | androidxref.com Powered by {OpenGrok • Created by the Open Solaris team. • Able to handle huge and heterogeneous projects. • Instant search for symbols and definitions. • Very rich parser able to identify almost all file types. • Version control system aware. • Ease of customization. Feb 2012 | androidxref.com AndroidXref Environment • OS: – CentOS 5, 32 bits: Unstable – CentOS 6, 64 bits: Unstable – Ubuntu 11.04 64 bits: Stable – Ubuntu 11.10 64 bits: Stable • Hardware – OpenVZ, 512MB RAM – Very Unstable – XEN VM, 1024MB RAM - Stable – Core i7, 4GB RAM - Stable Feb 2012 | androidxref.com But what else? • Android development environment should be aware of proprietary code. • Local installs allows for restricting the proprietary code to the inner network. • Currently 2 options are available: – Pre configured Virtual Machine. – Step-By-Step guide for local setup. • Modified source code available. Feb 2012 | androidxref.com The SIDI Environment • SIDI: Samsung Research Lab in Brazil. • Focus in research for Mobile platforms. • Develops customization and applications for Latin America Market. • Develops enterprise solutions for the global Market. Feb 2012 | androidxref.com SIDI The SIDI Environment • Global Solutions team: – Mainly focused in android products. – Manage multiple android version simultaneously. – Custom kernel and bionic versions. • Local setup of AndroidXRef with the custom code. • Fast Adoption. • Low cost setup. Feb 2012 | androidxref.com SIDI Timing Results 30 25 20 15 Grep Index 10 5 0 dlmalloc wpa_supplicant Activity@onCreate permissions Feb 2012 | androidxref.com SIDI Next Steps • Gather Contributors. • Multiple Android versions. • Multiple kernel versions. • Updated VMs. • Improve the Online Infra-Structure. • Gather new Sponsors. Feb 2012 | androidxref.com Questions? Rodrigo Chiossi Samsung SIDI Brazil [email protected] @rchiossi Feb 2012 | androidxref.com.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    16 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us