Android 2.1 source code structure analysis

Source: Internet
Author: User
Tags gdb debugger

For Android 2.1

| -- Makefile

| -- Bionic (bionic C Library)

| -- Bootable (startup guide code)

| -- Build (stores basic development kit configurations such as system compilation rules and generic)

| -- Cts (Android compatibility test suite Standard)

| -- Dalvik (dalvik Java Virtual Machine)

| -- Development (related to application development)

| -- External (some open-source modules used by android)

| -- Frameworks (core framework -- java and C ++ language)

| -- Hardware (mainly protects the HAL code of the hardware adapter layer)

| -- Out (the code output after compilation is in this directory)

| -- Packages (Application Package)

| -- Prebuilt (resources pre-compiled in x86 and arm architectures)

| -- Sdk (sdk and simulator)

| -- System (File system Library, application, and component-C language)

'-- Vendor (vendor-defined code)

The bionic directory expands tree-d-L 2 by Level 2.

| -- Libc (C Library)

| -- Arch-arm (ARM architecture, including system call Assembly implementation)

| -- Arch-x86 (x86 architecture, including system call Assembly implementation)

| -- Bionic (functions implemented by C, architecture independent)

| -- Docs (document)

| -- Include (header file)

| -- Inet (? Inet problems. The specific role is unknown)

| -- Kernel (some header files in Linux kernel)

| -- Netbsd (? Nesbsd system related, specific role unknown)

| -- Private (? Some private header files)

| -- Stdio (stdio implementation)

| -- Stdlib (implemented by stdlib)

| -- String (string function implementation)

| -- Tools (several tools)

| -- Tzcode (Time Zone related code)

| -- Unistd (unistd implementation)

| '-- Zoneinfo (Time Zone Information)

| -- Libdl (implemented by libdl. dl is a dynamic link and provides the function of accessing the Dynamic Link Library)

| -- Libm (implementation of libm mathematical library ,)

| -- Alpha (apaha Architecture)

| -- Amd64 (amd64 Architecture)

| -- Arm (arm architecture)

| -- Bsdsrc (? Bsd source code)

| -- I386 (i386 architecture)

| -- I387 (i387 architecture ?)

| -- Ia64 (ia64 Architecture)

| -- Include (header file)

| -- Man (mathematical function, suffixed with. 3, some library files for freeBSD)

| -- Powerpc (powerpc architecture)

| -- Sparc64 (sparc64 Architecture)

| '-- Src (source code)

| -- Libstdc ++ (libstdc ++ C ++ implementation Library)

| -- Include (header file)

| '-- Src (source code)

| -- Libthread_db (multi-threaded program debugger Library)

| '-- Include (header file)

'-- Linker (dynamic linker)

'-- Arch (supports arm and x86 architectures)

Hardware directory (some manufacturers provide open-source hardware solution Adaptation Layer HAL code)

| -- Broadcom (broadcom)

| '-- Wlan (Wireless Network Card)

| -- Libhardware (hardware Library)

| -- Include (header file)

| '-- Modules (Default (and possibly architecture dependents) HAL modules)

| -- Gralloc (gralloc display related)

| '-- Overlay (Skeleton for the "overlay" HAL module .)

| -- Libhardware_legacy (old hardware Library)

| -- Flashlight (backlight)

| -- Gps)

| -- Include (header file)

| -- Mount (old loader)

| -- Power)

| -- Qemu (simulator)

| -- Qemu_tracing (simulator tracking)

| -- Tests (test)

| -- Uevent (uevent)

| -- Vibrator (vibration)

| '-- Wifi (Wireless)

| -- Msm7k (Qualcomm 7k processor open source abstraction layer)

| -- Boot)

| -- Libaudio (audio and audio database)

| -- Libaudio-qsd8k (qsd8k sound-related Library)

| -- Libcamera (CAMERA Library)

| -- Libcopybit (copybit Library)

| -- Libgralloc (gralloc Library)

| -- Libgralloc-qsd8k (qsd8k gralloc Library)

| -- Liblights (backlight Library)

| '-- Librpc (RPC Library)

| -- Ril (Radio abstraction layer)

| -- Include (header file)

| -- Libril (database)

| -- Reference-cdma-sms (cdma sms reference)

| -- Reference-ril (ril reference)

| '-- Rild (ril Background Service Program)

'-- Ti (open-source hal of ti)

| -- Omap3 (omap3 processor)

| -- Dspbridge (DSP Bridge)

| -- Libopencorehw (opencore hardware Library)

| -- Liboverlay (overlay hardware Library)

| -- Libstagefrighthw (stagefright hardware Library)

| '-- Omx (omx component)

'-- Wlan (Wireless Network Card)

Prebuilt directory (resources pre-compiled in x86 and arm architectures)

.

| -- Android-arm (related to arm-android)

| -- Gdbserver (gdb debugger)

| '-- Kernel (simulated arm kernel)

| -- Android-x86 (x86-android related)

| '-- Kernel (null)

| -- Common (common compiled code, which should be java)

| -- Darwin-x86 (drawin x86 Platform)

| '-- Toolchain)

| -- Arm-eabi-4.2.1

| -- Arm-eabi-4.3.1

| '-- Arm-eabi-4.4.0

| -- Darwin-x86_64 (drawin x86 64bit platform)

| -- Linux-x86 (linux x86 Platform)

| '-- Toolchain (tool chain, which should be used mainly)

| -- Arm-eabi-4.2.1

| -- Arm-eabi-4.3.1

| -- Arm-eabi-4.4.0

| '-- I686-unknown-linux-gnu-4.2.1 (x86 compiler)

| -- Linux-x86_64 (linux x86 64bit platform)

| -- Windows (windows platform)

'-- Windows-x86_64 (64bit windows platform)

System Directory (underlying file system library, applications and components-C language)

.

| -- Bluetooth)

| -- Core (system core tool box Interface)

| -- Adb (adb debugging tool)

| -- Cpio (cpio tool, create img)

| -- Debugadh (debugging tool)

| -- Fastboot (Quick Start)

| -- Include (system interface header file)

| -- Init (init program source code)

| -- Libacc (lightweight C compiler)

| -- Libctest (libc test related)

| -- Libcutils (libc tool)

| -- Liblog (log Library)

| -- Libmincrypt (encrypted Library)

| -- Libnetutils (network tool Library)

| -- Libpixelflinger (graphics processing Library)

| -- Libsysutils (System Tool Library)

| -- Libzipfile (zip Library)

| -- Logcat (view log tool)

| -- Logwrapper (log encapsulation tool)

| -- Mkbootimg (create a tool box script to start boot. img)

| -- Netcfg (network configuration netcfg source code)

| -- Nexus (Code of google's latest mobile phone)

| -- Rootdir (rootfs, including scripts and configurations under etc)

| -- Sh (shell code)

| -- Toolbox (toolbox, similar to the tool set of busybox)

| '-- Vold (SD card Manager)

| -- Extras (additional tool)

| -- Latencytop (a tool for software developers, identifying system latency happen)

| -- Libpagemap (pagemap Library)

| -- Librank (Java Library Ranking System Library)

| -- Procmem (pagemap related)

| -- Procrank (related to Java Library Ranking System)

| -- Showmap (showmap tool)

| -- Showslab (showslab tool)

| -- Sound (sound-related)

| -- Su (su command source code)

| -- Tests (some test tools)

| '-- Timeinfo (Time Zone related)

'-- Wlan (Wireless)

'-- Ti (ti Nic related tools and libraries)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.