Several questions need to know for understanding Binder
来源:互联网 发布:淘宝客鹊桥怎么做 编辑:程序博客网 时间:2024/06/06 05:31
1. Binder由哪几部分组成
1)在Android系统的分层结构中,Binder在每一层的对应结构, Framework/Native/HAL/Kernel
2)在同一层各个部分又由哪几部分组成?
2. Binder各层在整个Binder架构中担当的角色是什么?
3. interface_cast实质是什么,Android中将Binder通过面向对象的继承关系组织到一起,相互转化,能够这样相互转化的实质是什么?
实质就是内存对其。
4. Binder结构,在每次asInterface之后,得到的到底是谁的(Proxy端的对象还是Native端的对象)的Interface引用,说到底就是remote()方法或mRemote成员到底是谁的引用?
看看IMPLEMENT_META_INTERFACE和queryLocalInterface也许可以帮助你回答这个问题,实际上你得到的是一个Bp的对象。
5. Proxy的对象如何最终转到Native的对象?实质是Proxy引用如何最终能调用Native端的方法?
IPCThreadState::transact这个方法也许可以帮你回答这个问题。
6. Binder驱动到底干了什么?
提示:Binder两端一般都分属于不同的进程,但无论是Binder实体还是对实体的引用都从属与某个进程,都不能透明地在进程之间传输,那驱动就是一个翻译。
7.How to use Binder implement ourselves Application?
- Several questions need to know for understanding Binder
- Need to know
- The 9 Deep Learning Papers You Need To Know About (Understanding CNNs Part 3)
- The 9 Deep Learning Papers You Need To Know About (Understanding CNNs Part 3)
- The 9 Deep Learning Papers You Need To Know About (Understanding CNNs Part 3)
- linux you need to know
- Something you need to know about Objective-C and iOS programming: for experienced programmers
- ShortCut keys for Codeblocks you need know
- Spyware: What You Need to Know
- Need to know PowerShell in SP2010
- Why Cisco users need to know Tcl
- 5 Speaking Rules you need to know
- Things You Need To Know about Nolock
- several methods for uploading files to server
- BuildRoot - Understanding how to rebuild packages(try know why)
- Gmail is different. Here's what you need to know.
- Ajax: IE and Mozilla Errors you need to know about
- DB2 9 certification: Everything you need to know
- NSData to base64Encoding
- redhat或centos下用yum安装(卸载)KDE和GNOME
- 图片里面存放其他文件的方法
- Code Sign error
- php编程技巧
- Several questions need to know for understanding Binder
- 解决windows无法使用系统搜索功能的问题
- 支持各种格式的网页播放器控件代码
- 《算法导论》第12章 二叉查找树 (3)基数树
- 转载一篇关于虚拟文件系统的文章
- 今天特地去netcraft web server survey查了一下
- JVM读书笔记二 类的生命周期
- Ubuntu 10.04下安装arm-linux-gcc-4.4.3.tar.gz (交叉编译环境)
- CGAL::Polyhedron_3<Traits>