一、IMS init 流程图
二、IMS turnon 流程图
三、分析说明
1、nv70287=0
不创建ims apn pdp
2、nv70281=1
nv70281=1的时候才创建ims pdp:
ims pdp 由ims库发起,高通没有开放这部分代码:
10-10 11:45:53.027 943 943 E Diag_Lib: [IMS_DataD] imsdatad.c | 1679 | | 943 |QCSI#>>#DATAD#6# QMI_IMS_DCM_PDP_ACTIVATE_REQ_V01--->
10-10 11:45:53.031 943 943 E Diag_Lib: [IMS_DataD] imsdatad.c | 1732 | | 943 |ims_qmi_dcm_pdp_activate_handler | Sending QMI_IMS_DCM_PDP_ACTIVATE_RSP_V01 with PDP_ID : 21
10-10 11:45:54.005 943 943 E Diag_Lib: [IMS_DataD] imsdatad.c | 2539 | | 943 |DATAD#>>#QCSI#2#QMI_IMS_DCM_PDP_ACTIVATE_IND_V01:eCS_ENETISCONN
10-10 11:45:54.006 943 943 E Diag_Lib: [IMS_DataD] imsdatad.c | 2548 | | 943 |ProcessCSIndication| Sending QMI_IMS_DCM_PDP_ACTIVATE_IND_V01
10-10 11:45:54.008 2120 2298 I QCNEJ : |CORE| Bring up network: 11subId = 1
10-10 11:45:54.011 955 2853 D ConnectivityService: requestNetwork for uid/pid:1000/2120 NetworkRequest [ REQUEST id=15, [ Transports: CELLULAR Capabilities: IMS&TRUSTED&NOT_VPN Specifier: <1>] ]
10-10 11:45:54.027 2233 2233 D TelephonyNetworkFactory[0]: got request NetworkRequest [ REQUEST id=15, [ Transports: CELLULAR Capabilities: IMS&TRUSTED&NOT_VPN Specifier: <1>] ] with score 0
10-10 11:45:54.028 2233 2233 D TelephonyNetworkFactory[1]: got request NetworkRequest [ REQUEST id=15, [ Transports: CELLULAR Capabilities: IMS&TRUSTED&NOT_VPN Specifier: <1>] ] with score 0
10-10 11:45:54.028 2233 2233 D PhoneSwitcherNetworkRequstListener: got request NetworkRequest [ REQUEST id=15, [ Transports: CELLULAR Capabilities: IMS&TRUSTED&NOT_VPN Specifier: <1>] ] with score 0
10-10 11:45:54.032 2233 2233 D TelephonyNetworkFactory[0]: onNeedNetworkFor NetworkRequest [ REQUEST id=15, [ Transports: CELLULAR Capabilities: IMS&TRUSTED&NOT_VPN Specifier: <1>] ]
10-10 11:45:54.100 2233 2385 D QtiDC-2 : initConnection: RefCount=1 mApnList={{mApnType=ims mState=CONNECTING mWaitingApns={[[ApnSettingV3] IMS, 1131, 46000, ims, , , , , , -1, ims,
10-10 11:45:54.101 2233 2385 D QtiDC-2 : onConnect: carrier='IMS' APN='ims' proxy='' port=''
10-10 11:45:54.104 2233 2385 D RILJ : [3953]> SETUP_DATA_CALL,radioTechnology=14,isRoaming=false,allowRoaming=false,DataProfile=2/ims/IPV4V6/0///0/0/0/0/true/64/IPV4V6/0/0///false [SUB0]
10-10 11:45:54.181 2233 2337 D RILJ : [3953]< SETUP_DATA_CALL DataCallResponse: { status=0 retry=-1 cid=1 active=2 type=IPV4V6 ifname=rmnet_data2 mtu=1500
addresses=[2409:8095:040e:0830:78f4:414d:e7a1:3445/64] dnses=[] gateways=[fe80:0000:0000:0000:70ea:0a50:eddf:ec9c] pcscf=[2409:8095:500::11c,2409:8095:500::1]} [SUB0]