http://www.52rd.com/Blog/Detail_RD.Blog_ynzhang99_24137.html
by ynzhang99
Android 2.1
|– Makefile
|– bionic (bionic C庫)
|– bootable (啟動引導相關代碼)
|– build (存放系統編譯規則及generic等基礎開發包配置)
|– cts (Android相容性測試套件標準)
|– dalvik (dalvik JAVA虛擬機)
|– development (應用程式開發相關)
|– external (android使用的一些開源的模組)
|– frameworks (核心框架——java及C++語言)
|– hardware (主要保護硬解適配層HAL代碼)
|– out (編譯完成後的代碼輸出與此目錄)
|– packages (應用套裝程式)
|– prebuilt (x86和arm架構下預編譯的一些資源)
|– sdk (sdk及模擬器)
|– system (檔系統庫、應用及元件——C語言)
`– vendor (廠商定制代碼)
bionic 目錄按照二級展開 tree -d -L 2
|– libc (C庫)
| |– arch-arm (ARM架構,包含系統調用彙編實現)
| |– arch-x86 (x86架構,包含系統調用彙編實現)
| |– bionic (由C實現的功能,架構無關)
| |– docs (文檔)
| |– include (頭文件)
| |– inet (?inet相關,具體作用不明)
| |– kernel (Linux內核中的一些頭文件)
| |– netbsd (?nesbsd系統相關,具體作用不明)
| |– private (?一些私有的頭文件)
| |– stdio (stdio實現)
| |– stdlib (stdlib實現)
| |– string (string函數實現)
| |– tools (幾個工具)
| |– tzcode (時區相關代碼)
| |– unistd (unistd實現)
| `– zoneinfo (時區信息)
|– libdl (libdl實現,dl是動態鏈結,提供訪問動態連結程式庫的功能)
|– libm (libm數學庫的實現,)
| |– alpha (apaha架構)
| |– amd64 (amd64架構)
| |– arm (arm架構)
| |– bsdsrc (?bsd的源碼)
| |– i386 (i386架構)
| |– i387 (i387架構?)
| |– ia64 (ia64架構)
| |– include (頭文件)
| |– man (數學函數,尾碼名為.3,一些為freeBSD的庫文件)
| |– powerpc (powerpc架構)
| |– sparc64 (sparc64架構)
| `– src (源代碼)
|– libstdc++ (libstdc++ C++實現庫)
| |– include (頭文件)
| `– src (源碼)
|– libthread_db (多線程程式的調試器庫)
| `– include (頭文件)
`– linker (動態鏈結器)
`– arch (支援arm和x86兩種架構)
hardware 目錄 (部分廠家開源的硬解適配層HAL代碼)
|– broadcom (博通公司)
| `– wlan (無線網卡)
|– libhardware (硬體庫)
| |– include (頭文件)
| `– modules (Default (and possibly architecture dependents) HAL modules)
| |– gralloc (gralloc顯示相關)
| `– overlay (Skeleton for the "overlay" HAL module.)
|– libhardware_legacy (舊的硬體庫)
| |– flashlight (背光)
| |– gps (GPS)
| |– include (頭文件)
| |– mount (舊的掛載器)
| |– power (電源)
| |– qemu (模擬器)
| |– qemu_tracing (模擬器跟蹤)
| |– tests (測試)
| |– uevent (uevent)
| |– vibrator (震動)
| `– wifi (無線)
|– msm7k (高通7k處理器開源抽象層)
| |– boot (啟動)
| |– libaudio (聲音庫)
| |– libaudio-qsd8k (qsd8k的聲音相關庫)
| |– libcamera (攝像頭庫)
| |– libcopybit (copybit庫)
| |– libgralloc (gralloc庫)
| |– libgralloc-qsd8k (qsd8k的gralloc庫)
| |– liblights (背光庫)
| `– librpc (RPC庫)
|– ril (無線電抽象層)
| |– include (頭文件)
| |– libril (庫)
| |– reference-cdma-sms (cdma短信參考)
| |– reference-ril (ril參考)
| `– rild (ril後臺服務程式)
`– ti (ti公司開源HAL)
|– omap3 (omap3處理器)
| |– dspbridge (DSP橋)
| |– libopencorehw (opencore硬體庫)
| |– liboverlay (overlay硬體庫)
| |– libstagefrighthw (stagefright硬體庫)
| `– omx (omx組件)
`– wlan (無線網卡)
prebuilt 目錄 (x86和arm架構下預編譯的一些資源).
|– android-arm (arm-android相關)
| |– gdbserver (gdb調試器)
| `– kernel (模擬的arm內核)
|– android-x86 (x86-android相關)
| `– kernel (空的)
|– common (通用編譯好的代碼,應該是java的)
|– darwin-x86 (drawin x86平臺)
| `– toolchain (工具鏈)
| |– arm-eabi-4.2.1
| |– arm-eabi-4.3.1
| `– arm-eabi-4.4.0
|– darwin-x86_64 (drawin x86 64bit平臺)
|– linux-x86 (linux x86平臺)
| `– toolchain (工具鏈,我們應該主要用這個)
| |– arm-eabi-4.2.1
| |– arm-eabi-4.3.1
| |– arm-eabi-4.4.0
| `– i686-unknown-linux-gnu-4.2.1 (x86版編譯器)
|– linux-x86_64 (linux x86 64bit平臺)
|– windows (windows平臺)
`– windows-x86_64 (64bit windows平臺)
system 目錄 (底層檔系統庫、應用及元件——C語言)
.
|– Bluetooth (藍牙相關)
|– core (系統核心工具盒介面)
| |– adb (adb調試工具)
| |– cpio (cpio工具,創建img)
| |– debuggerd (調試工具)
| |– fastboot (快速啟動相關)
| |– include (系統介面頭檔)
| |– init (init程式源代碼)
| |– libacc (羽量級C編譯器)
| |– libctest (libc測試相關)
| |– libcutils (libc工具)
| |– liblog (log庫)
| |– libmincrypt (加密庫)
| |– libnetutils (網路工具庫)
| |– libpixelflinger (圖形處理庫)
| |– libsysutils (系統工具庫)
| |– libzipfile (zip庫)
| |– logcat (查看log工具)
| |– logwrapper (log封裝工具)
| |– mkbootimg (製作啟動boot.img的工具盒腳本)
| |– netcfg (網路配置netcfg源碼)
| |– nexus (google最新手機的代碼)
| |– rootdir (rootfs,包含一些etc下的腳本和配置)
| |– sh (shell代碼)
| |– toolbox (toolbox,類似busybox的工具集)
| `– vold (SD卡管理器)
|– extras (額外工具)
| |– latencytop (a tool for software developers ,identifying system latency happen)
| |– libpagemap (pagemap庫)
| |– librank (Java Library Ranking System庫)
| |– procmem (pagemap相關)
| |– procrank (Java Library Ranking System相關)
| |– showmap (showmap工具)
| |– showslab (showslab工具)
| |– sound (聲音相關)
| |– su (su命令源碼)
| |– tests (一些測試工具)
| `– timeinfo (時區相關)
`– wlan (無線相關)
`– ti (ti網卡相關工具及庫)

