Android N 基础(3):Android 7.1.2 Android 系统启动流程分析
源码:system/core/rootdir/
init.rc
init.zygote64.rc
system/core/init/
init.cpp
init_parser.cpp
signal_handler.cpp
frameworks/base/cmds/app_process/
App_main.cpp
frameworks/base/core/jni/
AndroidRuntime.cpp
frameworks/base/core/java/com/android/internal/os/
ZygoteInit.java
Zygote.java
ZygoteConnection.java
frameworks/base/core/java/com/android/internal/os/
ZygoteInit.java
RuntimeInit.java
Zygote.java
frameworks/base/core/services/java/com/android/server/
SystemServer.java
frameworks/ba ...
Android N 基础(2):Android 7.1.2 Android Binder 系统分析
Android Binder系统概述: Binder是Android系统中大量使用的IPC(Inter-process communication,进程间通讯)机制。无论是应用程序对系统服务的请求,还是应用程序自身提供对外服务,都需要使用到Binder。因此,Binder机制在Android系统中的地位非常重要,可以说,理解Binder是理解Android系统的绝对必要前提。
framework/base/core/java/ (Java) framework/base/core/jni/ (JNI) framework/native/libs/binder (Native) framework/native/cmds/servicemanager/ (Native) kernel/drivers/staging/android (Driver)
Java framework
framework/base/core/java/android/os/● IInterface.java● IBinder.java● Parcel.java● IServiceManager.j ...
Android N 基础(1):Android 7.1.2 Android消息处理机制分析(从JAVA层到NATIVE层)– Handler、Looper、Message
● framework/base/core/java/andorid/os/Handler.java
● framework/base/core/java/andorid/os/Looper.java
● framework/base/core/java/andorid/os/Message.java
● framework/base/core/java/andorid/os/MessageQueue.java
● framework/base/core/java/andorid/os/MessageQueue.java
● framework/base/core/jni/android_os_MessageQueue.cpp
● framework/base/core/java/andorid/os/Looper.java (Java层)
● system/core/libutils/Looper.cpp ( Native层)
● framework/base/native/android/looper.cpp (ALoop对象)
● frame ...
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick StartCreate a new post1$ hexo new "My New Post"
More info: Writing
Run server1$ hexo server
More info: Server
Generate static files1$ hexo generate
More info: Generating
Deploy to remote sites1$ hexo deploy
More info: Deployment