Application-创建进程及绑定
2017-04-25 20:31:14 0 举报
android Application 创建进程及进程绑定Application流程框图
作者其他创作
大纲/内容
thread.attach
Instrumentation
startActivityForResult
Activity
thread.bindApplication
fork and return child pid
ActivityManagerNative
Zygote
startActivity
startProcessLocked
attachApplication
ActivityStackSupervisor
Process
startActivityLocked
startActivityUncheckedLocked
mInstrumentation.execStartActivity
resumeTopActivitiesLocked
attachApplicationLocked
ActivityManagerProxy
onTransact
Process.start
Looper.prepareMainLooper();
main()
Looper.loop()
ActivityManagerService
ActivityThread
startActivityMayWait
startSpecificActivityLocked
ActivityManagerNative.getDefault() .startActivity
realStartActivityLocked
Looper
handleBindApplication
收藏
收藏
0 条评论
下一页