当前位置:首页>维修大全>综合>

如何在android面试中说清楚android中binder机制的实现过程(android binder机制面试题)

如何在android面试中说清楚android中binder机制的实现过程(android binder机制面试题)

更新时间:2024-02-24 15:00:22

如何在android面试中说清楚android中binder机制的实现过程

1 写一个service,application 通过createservice 2 运行时一般是根据uid,文件系统权限跟linux一样 3 可以,知道class名字 或者知道具体manifest怎么写的 4 looper是线程,循环来处理message queue的message,而handler对发送message的相关方法的一个类。

5 binder机制,pipe 不太清楚,socket是通过套接字来发送内容进行ipc,binder的话 是用共享内存,servicemanager作为service的管理者 6 surfaceflinger 是对窗口进行管理, 7 bionic是glic的精简版本

更多栏目