1、 SubscriptionController:setDefaultSubId
设置数据库MULTI_SIM_DATA_CALL_SUBSCRIPTION
2、 DctController:mObserver:onChange
发送EVENT_SETTINGS_CHANGED,在onSettingsChanged处理
3、 QtiDctController.onSettingsChanged
调用基类DctController的onSettingsChanged,下一步evalPendingRequest
4、 TelephonyNetworkFactory.evalPendingRequest
下一步调用needNetworkFor
5、 TelephonyNetworkFactory.needNetworkFor
下一步requestNetwork
6、 DctController.requestNetwork
下一步processRequests
7、 DctController.processRequests
发送EVENT_PROCESS_REQUESTS在onProcessRequest处理
8、 QtiDctController:onProcessRequest
9、 下一步handleDdsSwitch
10、 QtiDctController.handleDdsSwitch
11、 QtiDctController.doConnect
12、 DcSwitchAsyncChannel.connect
发送REQ_CONNECT
13、 DcSwitchStateMachine:IdleState:processMessage
处理REQ_CONNECT,跳到AttachingState
14、 AttachingState.enter
调用doEnter,直接调用RIL的setDataAllowed
15、 RIL.setDataAllowed.
Android M版本设置数据主卡的流程
最新推荐文章于 2023-08-22 16:24:51 发布