Android8.1#rild初始化时序图
2022-02-09 09:21:30 0 举报
rild初始化时序图
作者其他创作
大纲/内容
main
守护进程开机启动service ril-daemon /vendor/bin/hw/rild -l /vendor/lib64/libreference-ril-wnc.so -- -d /dev/ttyUSB1 class main socket rild stream 777 root radio socket rild-debug stream 777 radio system user root group system radio cache inet misc audio log readproc wakelock oem_2901 capabilities BLOCK_SUSPEND NET_ADMIN NET_RAW SYS_TIME disabledon property:init.svc.mald=running start ril-daemon
1
ril_event_init
RIL_register
processLine
ril_event.cpp
mainLoop
atchanel.c
at_open
RIL_onUnsolicitedResponse
referenc-ril.c
processTimeouts
ril.cpp
setRadioState
2
RILD初始化过程
firePending
rild.rc
registerService
设置如下两种状态:1.RADIO_STATE_OFF2.RADIO_STATE_ON当状态RADIO_STATE_ON的情况,RILJ会开始注册网络->调用DcTacker的方法onRadioAvailable
processReadReadies
initializeCallback
RIL_Init
eventLoop
at_send_command
rild.c
readerLoop
3
RIL_startEventLoop
ril_service.cpp
ril_event_loop
s_unsolHandler
0 条评论
回复 删除
下一页