posts - 33, comments - 0, trackbacks - 0, articles - 0
            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

          Android 2.1 源碼結構分析

          Posted on 2011-08-19 15:22 馬航 閱讀(129) 評論(0)  編輯  收藏

          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網卡相關工具及庫)


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 平度市| 万全县| 仙游县| 炎陵县| 衡阳县| 安溪县| 潮州市| 舒兰市| 南通市| 宜章县| 中方县| 宜宾市| 临桂县| 翁源县| 东至县| 鞍山市| 上杭县| 浮山县| 阿拉尔市| 闻喜县| 延庆县| 德昌县| 泌阳县| 宁蒗| 宽城| 桂东县| 杭锦旗| 平果县| 秦皇岛市| 青海省| 耒阳市| 康乐县| 舒兰市| 茶陵县| 贵阳市| 普兰县| 板桥市| 西藏| 清徐县| 宁安市| 呼和浩特市|