首页
AI Coding
NEW
沸点
课程
直播
活动
AI刷题
APP
插件
搜索历史
清空
创作者中心
写文章
发沸点
写笔记
写代码
草稿箱
创作灵感
查看更多
会员
登录
注册
光头小胖鹏
掘友等级
获得徽章 0
动态
文章
专栏
沸点
收藏集
关注
作品
赞
32
文章 32
沸点 0
赞
32
返回
|
搜索文章
最新
热门
Binder系列---服务添加过程(4)
do_add_service svcinfo记录着服务名和handle信息,保存到svclist列表。 五. 总结 服务注册过程(addService)核心功能:在服务所在进程创建binder_nod
Binder系列---服务添加过程(3)
binder_ioctl_write_read binder_thread_write binder_transaction binder_get_node从binder_proc来根据binder指
Binder系列---服务添加过程(2)
flatten_binder 将Binder对象扁平化,转换成flat_binder_object对象。 对于Binder实体,则cookie记录Binder实体的指针; 对于Binder代理,则用h
Binder系列---服务添加过程(1)
一 Binder基础 IPC原理 每个Android的进程,只能运行在自己进程所拥有的虚拟地址空间。对应一个4GB的虚拟地址空间,其中3GB是用户空间,1GB是内核空间,当然内核空间的大小是可以通过参
Android Framwork ---App进程启动(下)
3 invokeStaticMain() invokeStaticMain()方法中抛出的异常MethodAndArgsCaller caller,该方法的参数m是指main()方法, argv是指A
Android Framwork ---App进程启动(中)
3. ZygoteConnection.runOnce 4. forkAndSpecialize VM_HOOKS.preFork()的主要功能便是停止Zygote的4个Daemon子线程的运行,等待
Android Framwork ---App进程启动(上)
进程创建概况 App发起进程:当从桌面启动应用,则发起进程便是Launcher所在进程;当从某App内启动远程进程,则发送进程便是该App所在进程。发起进程先通过binder发送消息给system_s
Android Framwork ---system_server进程(下)
7 commonInit 8 nativeZygoteInit nativeZygoteInit()方法在AndroidRuntime.cpp中,进行了jni映射,对应下面的方法。 9 onZygot
Android Framwork ---system_server进程(上)
启动流程 SystemServer由Zygote fork生成的,进程名为system_server,该进程承载着framework的核心服务。 Android Framwork ---Zygote进
Android Framwork ---Zygote进程 (下)
startSystemServer 启动system_server进程 准备参数并fork新进程,从上面可以看出system server进程参数信息为uid=1000,gid=1000,进程名为sy
下一页
个人成就
文章被点赞
15
文章被阅读
2,018
掘力值
214
关注了
21
关注者
4
收藏集
14
关注标签
6
加入于
2019-07-04