2013年10月17日 星期四
2012年5月6日 星期日
Android Init Language
Introduction
簡單說明:
- Android根目錄存在一些重要的配置文件,如:init.rc init.xxx.rc。
- 這些配置文件是由Android Init Language語法所撰寫,解析這些語法的程式碼位於system/core/init。
- init.rc為核心文件。
接下介紹init.c語法,它主要提供底下這些功能:
- Runs one-time scripts at startup
- Sets up the runtime environment
- Keeps critical processes running
- Launches the Android framework
- Responds to device additions/removals
Android Init Language主要是由四個類別組成:
- Actions
- Commands
- Services
- Options
訂閱:
意見 (Atom)