bindService
2016-11-10 16:19:29 2 举报
Android跨进程bindService过程
作者其他创作
大纲/内容
ActivityThread
6.2 handleCreateService
ApplicationThread
ActivityManagerProxy
7.1 发送H.BIND_SERVICE
Service.onCreate()
7.scheduleBindService
7.5 publishServiceLocked
6.1 发送H.CREATE_SERVICE
3.fork新进程
AppliactionThreadProxy
7.2 handleBindService
7.3 publishService
4.发送attachApplication
Zygote进程
8. RunConnection
2发送创建新进程请求
ServiceConnection.onConnect()
5.realStartServiceLocked
Service.onBind()
SystemServer进程
1. 发送bindService
Remote Service 进程
Process A 进程
ActivityManagerService
IServiceConnection.Proxy
7.6 发送connect
6.scheduleCreateService
7.4 发送publishService
InnerConnection
9. doConnected
0 条评论
下一页