当前位置:网站首页>What does the mremote variable in servicemanagerproxy refer to?
What does the mremote variable in servicemanagerproxy refer to?
2020-11-10 08:34:00 【Tianwang gaidihu 626】
First, the code marked in red Binder.allowBlocking(BinderInternal.getContextObject()), What's actually back is BinderProxy Object instances
sServiceManager = ServiceManagerNative
.asInterface(Binder.allowBlocking(BinderInternal.getContextObject()));
static public IServiceManager asInterface(IBinder obj)
{
if (obj == null) {
return null;
}
IServiceManager in =
(IServiceManager)obj.queryLocalInterface(descriptor);
if (in != null) {
return in;
}
return new ServiceManagerProxy(obj);
}
Then continue to ServiceManagerProxy, From below , Obviously .
class ServiceManagerProxy implements IServiceManager {
public ServiceManagerProxy(IBinder remote) {
mRemote = remote;
}
...
...
}
}
版权声明
本文为[Tianwang gaidihu 626]所创,转载请带上原文链接,感谢
边栏推荐
- Detach ()
- 走进C# abstract,了解抽象类与接口的异同
- Mongodb index management of distributed document storage database
- csdn bug8:待加
- Notes on Python cookbook 3rd (2.2): String start or end match
- Difficulties in heterogeneous middleware implementation of Bifrost site management (1)
- 异常:Invalid or unexpected token
- C++ exception implementation mechanism
- “wget: 无法解析主机地址”的解决方法
- If you need a million objects
猜你喜欢

csdn bug10:待加

Problems and solutions in configuring FTP server with FileZilla server

利用尾巴作为时间序列进行处理来识别鲸鱼

Bartender2021实现安全远程标签打印,年终全新发布
![[leetcode] 92 integer inversion](/img/3b/00bc81122d330c9d59909994e61027.jpg)
[leetcode] 92 integer inversion

leetcode之最后一个单词的长度

gnu汇编语言使用内联汇编 扩展asm
![[论文阅读笔记] RoSANE, Robust and scalable attributed network embedding for sparse networks](/img/32/7f28d78caa3cbc2b60cea26a768797.jpg)
[论文阅读笔记] RoSANE, Robust and scalable attributed network embedding for sparse networks

Mongodb index management of distributed document storage database

What's the difference between delete, truncate, and drop, and what to do if you delete data by mistake
随机推荐
CSDN bug5: to be added
Mongodb index management of distributed document storage database
Overview of the most complete anomaly detection algorithm in history
坚持追查7年,近10亿美元比特币终被美国政府没收充公
使用call、apply和bind解决js中烦人的this,事件绑定时的this和传参问题
推动中国制造升级,汽车装配车间生产流水线3D可视化
lodash.js Source code flatten
What's the difference between delete, truncate, and drop, and what to do if you delete data by mistake
proxy 的不完整polyfill
csdn bug3:待加
Coding style: SSM environment in MVC mode, code hierarchical management
仅发送options请求,没有发送post解决方案
[leetcode] 93 balanced binary tree
Learning from scratch YoMo series: Opening
获取List集合对象中某一列属性值
关于centos启动报错:Failed to start Crash recovery kernel arming的解决方案
The length of the last word in leetcode
利用尾巴作为时间序列进行处理来识别鲸鱼
After seven years of pursuing, nearly one billion US dollars of bitcoin was eventually confiscated and confiscated by the US government
大专学历的我工作六年了,还有机会进大厂吗?