binder机制
2018-02-15 本文已影响0人
魏国彬
1.binder机制关系图

2.binder驱动简单描述


3.client如果想要获得Service Manager远程接口,却不必通过进程间通信机制来获得,因为Service Manager远程接口是一个特殊的binder引用,其引用句柄一定为0

4.Binder的三层结构

5.类BBinder

6.类BpRefBase
类模板BpInterface继承于类BpRefBase,起到代理作用。BpRefBase以上是业务逻辑(要实现什么功能),BpRefBase以下是数据传输(通过binder如何将功能实现)。

7.类IPCThreadState


