2.6 Binder机制(MediaService)
来源:互联网 发布:电脑编程有学校吗 编辑:程序博客网 时间:2024/04/29 05:00
简介: MediaService程序里注册了提供媒体播放服务的程序MediaPlayerService(MediaPlayerClient是与MediaPlayerService交互的客户端程序)。
MediaService源码:
int main(int argc, char** argv){ //获得一个ProcessState实例 sp<ProcessState> proc(ProcessState::self()); //得到一个ServiceManager对象 sp<IServiceManager> sm = defaultServiceManager(); //初始化MediaPlayerService服务 MediaPlayerService::instantiate(); //看名字,启动Process的线程池? ProcessState::self()->startThreadPool(); //将自己加入到刚才的线程池? IPCThreadState::self()->joinThreadPool();}
0 0
- 2.6 Binder机制(MediaService)
- Binder通信二(MediaService理解Binder机制)
- Binder机制分析(2)——从MediaService中看Binder的实现和使用(1)
- Binder机制分析(2)——从MediaService中看Binder的实现和使用(2)
- Binder机制分析(2)——从MediaService中看Binder的实现和使用(1)
- Binder机制分析(2)——从MediaService中看Binder的实现和使用(2)
- Binder机制分析(2)——从MediaService中看Binder的实现和使用(1)
- Binder机制分析(2)——从MediaService中看Binder的实现和使用(1)
- Binder机制分析(2)——从MediaService中看Binder的实现和使用(2)
- Binder机制
- Binder机制
- Binder机制
- binder机制
- binder机制
- Binder机制
- Binder机制
- Binder机制
- Binder机制
- Laravel数据库迁移文件migrate使用约定
- 更新gradle插件,提升编译速度
- java之servlet
- 2016SDAU编程练习二1009
- {题解}[jzoj4326]NOIP2015提高组Day2 跳石头
- 2.6 Binder机制(MediaService)
- 栈溢出笔记1.9 认识SEH
- C#使用ICSharpCode.SharpZipLib压缩后进行web批量下载文件
- LeakCanary使用
- bzoj 2961: 共点圆 cdq分治
- 母函数(Generating function)详解(转)
- 2016SDAU编程练习二1013
- uva11297 Census 【二维线段树】
- ViewFlipper实现图片的轮播