Showing posts from August, 2014

What is the directory structure of android AOSP root tree?

This is short version of what you will find when you download the Android source. I will leave out some minor directories and dig deeper into a couple of the important ones. Basically what you will get (based on the (Kit Kat - 4.4.4), in alphabetical order: Bionic- the C-runtime for Android. Note that Android is not using glibc like most Linux distributions. Instead the c-library is called bionic and is based mostly on BSD-derived sources. In this folder you will find the source for the c-library, math and other core runtime libraries.Bootable- boot and startup related code. Some of it is legacy, the fastboot protocol info could be interesting since it is implemented by boot loaders in a number of devices such as the Nexus ones.Build- the build system implementation including all the core make file templates. An important file here is the script that will help you a lot when working with the platform source. Running this script in a shell will enable commands to setup envi…

How To Run Compatibility Test Suite (CTS) ?

How does the CTS work?
The CTS is an automated testing harness that includes two major software components:
The CTS test harness runs on your desktop machine and manages test execution.
Individual test cases are executed on attached mobile devices or on an emulator. The test cases are written in Java as JUnit tests and packaged as Android .apk files to run on the actual device target.
Pre-Requirements :
Linux System Mobile or Emulator with User Build.Downloadlatest CTS.DownloadCTS Media files.DownloadAndroid SDK for Linux and keep it ready. 
Setup the System for CTS:
1.Create 3 folders in your system root directory. 
2. Extract and Copydownloaded CTS files into theCTS