05 2021 档案
摘要:进程 service_manager test_server test_client引用 1 hello服务 2 2 goodbye服务 1 总结: handle是进程A对进程B提供的服务的引用 struct binder_ref { /* Lookups needed: */ /* node +
阅读全文
摘要:1. IPC 源:A 目的:B向serviceManager注册led服务 A向serviceManager查询led服务,得到一个handle 数据: char buf[512] 2. RPC 远程过程调用 调用哪一个函数:server的函数编号 返回值以及传递什么参数:通过IPC的buf传输 c
阅读全文
摘要:binder系统C程序编写 怎么写APP?1. client a. binder_open bs = binder_open(128*1024); b. 获得服务:handle handle = svcmgr_lookup(bs, svcmgr, "hello"); c. 构造参数binder_io
阅读全文
浙公网安备 33010602011771号