Android : Source Code Overview

2011.11.10 22:22

가을의 곰을... 조회 수:10041

Source Code Overview

Introduction

Android source code is maintained in two code bases: the Android Linux kernel (kernel directory) and Android platform and applications (device directory). This document provides a high-level introduction to the source code organization and an overview of the major components of each primary directory.

Android Source

Linux Kernel

The Android Linux kernel includes enhancements to the Linux 2.6 kernel that provide additional drivers to support the Android platform, including:

  • Binder: an OpenBinder-based driver to facilitate inter-process communication (IPC) in the Android platform.
  • Android Power Management: a light weight power management driver built on top of standard Linux power management but optimized for embedded systems.
  • Low Memory Killer: Based on hints from the userspace, the low memory killer can kill off processes to free up memory as necessary. It is designed to provide more flexibility than the Out Of Memory (OOM) killer in the standard kernel.
  • Logger: A light weight logging device used to capture system, radio, logdata, etc.
  • USB Gadget: Uses the USB function framework.
  • Android/PMEM: The PMEM (physical memory) driver is used to provide contiguous physical memory regions to userspace libraries that interact with the digital signal processor (DSP) and other hardware that cannot cope with scatter-gather.
  • Android Alarm: A driver which provides timers that can wake the device up from sleep and a monotonic timebase that runs while the device is asleep.

Look for Android-specific enhancements in the following directories:

경축! 아무것도 안하여 에스천사게임즈가 새로운 모습으로 재오픈 하였습니다.
어린이용이며, 설치가 필요없는 브라우저 게임입니다.
https://s1004games.com

  • /drivers/android
  • /drivers/misc
  • /include/linux

Android Platform and Applications

The following list outlines the directory structure found within the device branch of Android source code:

  • apps : Core Android applications such as Phone, Camera, and Calendar.
  • boot : Reference Android bootloader and other boot-related source code.
  • commands : Common Android commands, the most important of which is the runtime command, which does much of the initialization of the system.
  • config : System-wide makefiles and linker scripts.
  • content : Standard Android ContentProvider modules.
  • dalvik : Android runtime Virtual Machine (VM).
  • data : Fonts, keymaps, sounds, timezone information, etc.
  • docs : Full set of Android documentation.
  • extlibs : Non-Android libraries. This directory is intended to host unmodified external code. None of the libraries included within this directory rely on Android headers or libraries.
  • ide : Tools for support of the IDE's used to write Android applications.
  • include : Android system headers for inclusion.
  • java : Android core APIs, as well as some external libraries.
  • libs : Android-specific C++ based libraries.
  • partner : Project-specific source code for various proprietary components.
  • prebuilt : Prebuilt tools, like the toolchains and emulator binary.
  • product : Device-specific configuration files. This directory will include a subdirectory for each new device.
  • samples : Sample applications.
  • servers : C++ based system servers.
  • system : Core of the embedded Linux platform at the heart of Android. These essential bits are required for basic booting, operation, and debugging.
  • tests : Platform and application test cases.
  • tools : Tools for building and debugging Android (of particular interest for porting are "adb" and "emulator").

본 웹사이트는 광고를 포함하고 있습니다.
광고 클릭에서 발생하는 수익금은 모두 웹사이트 서버의 유지 및 관리, 그리고 기술 콘텐츠 향상을 위해 쓰여집니다.
번호 제목 글쓴이 날짜 조회 수
75 한 페이지 기획서 : one page proposal 가을의 곰을... 2011.11.27 6278
74 보왕삼매론 가을의 곰을... 2011.11.24 6657
73 오픈 소스 클라우드 분석 file 가을의 곰을... 2011.11.22 6109
72 특허출원 직접특허출원 가을의 곰을... 2011.11.20 7104
71 특허 등록 절차 가을의 곰을... 2011.11.17 7811
70 특허/실용신안 출원 절차 가을의 곰을... 2011.11.17 7073
69 URL Rewrite : 동적 URL 지정 : creating Dynamic URL 가을의 곰을... 2011.11.16 10520
68 자바에서 x86 어셈블리로 프로그래밍: x86 Assembly Programming in Java Platform 가을의 곰을... 2011.11.15 20535
67 XCode 간단 설치와 사용법 - Objective-C의 예제 개발하기 file 가을의 곰을... 2011.11.13 10727
» Android : Source Code Overview 가을의 곰을... 2011.11.10 10041
65 Java Spring 2.0 Web 예제(Hello World) file 가을의 곰을... 2011.11.09 7726
64 kernel.org가 아닌 구글에서 안드로이드 소스 다운로드 및 빌드 가을의 곰을... 2011.11.07 10169
63 spring + iBatis 연동하기 가을의 곰을... 2011.11.02 8004
62 스프링 - 아이바티스 연동 가을의 곰을... 2011.11.02 7972
61 Spring 3 MVC Hello World Example file 가을의 곰을... 2011.11.01 14983
60 문서작성의 기술 가을의 곰을... 2011.10.31 7136
59 [JSP/JAVA] 최상위, 파일 경로 알아내기 가을의 곰을... 2011.10.26 10308
58 오픈소스 강의 (Lecture of OpenSource) 가을의 곰을... 2011.10.14 6553
57 우분투 10.10(64bit)에서 안드로이드 소스(Gingerbread) 빌드하기 가을의 곰을... 2011.10.06 12044
56 스타벅스에서 Arduino 개발 연습하기..... file 가을의 곰을... 2011.09.25 10476
대표 김성준 주소 : 경기 용인 분당수지 U타워 등록번호 : 142-07-27414
통신판매업 신고 : 제2012-용인수지-0185호 출판업 신고 : 수지구청 제 123호 개인정보보호최고책임자 : 김성준 sjkim70@stechstar.com
대표전화 : 010-4589-2193 [fax] 02-6280-1294 COPYRIGHT(C) stechstar.com ALL RIGHTS RESERVED