Android之mtklog分析

【海外场测反馈】【xxx】动态测试时对比机xxxx拨打测试机xxxxx自动挂断电话

工作中遇到一个掉话的问题,需要分析log,log比较大,我也没法上传,就简答的讲讲吧

其实我也不太懂,随便说说吧:

1.   在mobilelog/APLog_2016_0902_134517/radio_log中:

56200:09-02 13:50:59.012418 1570 1570 D CallManager: handleMessage (EVENT_SERVICE_STATE_CHANGED)
mobilelog/APLog_2016_0902_134517/radio_log:56202:09-02 13:50:59.013388 1570 1570 D CallManager: handleMessage (EVENT_SERVICE_STATE_CHANGED)
mobilelog/APLog_2016_0902_134517/radio_log:56586:09-02 13:51:00.571278 1570 1570 D CallManager: handleMessage (EVENT_INCOMING_RING)
mobilelog/APLog_2016_0902_134517/radio_log:57025:09-02 13:51:02.361298 1570 1570 D CallManager: handleMessage (EVENT_IN_CALL_VOICE_PRIVACY_OFF)
mobilelog/APLog_2016_0902_134517/radio_log:57058:09-02 13:51:02.364957 1570 1570 D CallManager: handleMessage (EVENT_IN_CALL_VOICE_PRIVACY_OFF)
mobilelog/APLog_2016_0902_134517/radio_log:57101:09-02 13:51:02.373686 1570 1570 D CallManager: handleMessage (EVENT_PRECISE_CALL_STATE_CHANGED)
mobilelog/APLog_2016_0902_134517/radio_log:60984:09-02 13:52:25.815752 1570 1570 D CallManager: handleMessage (EVENT_DISCONNECT)
mobilelog/APLog_2016_0902_134517/radio_log:61056:09-02 13:52:25.827674 1570 1570 D CallManager: handleMessage (EVENT_PRECISE_CALL_STATE_CHANGED)
mobilelog/APLog_2016_0902_134517/radio_log:62892:09-02 13:52:27.080981 1570 1570 D CallManager: handleMessage (EVENT_SERVICE_STATE_CHANGED)
mobilelog/APLog_2016_0902_134517/radio_log:62894:09-02 13:52:27.082019 1570 1570 D CallManager: handleMessage (EVENT_SERVICE_STATE_CHANGED)

通过这可以看出从来电到断掉连接

2.在mobilelog/APLog_2016_0901_114539/sys_log:中

mobilelog/APLog_2016_0901_114539/sys_log:4911:09-01 11:46:14.887454 980 4368 D ConnectivityService: sending notification RELEASED for NetworkRequest [ id=21, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]
mobilelog/APLog_2016_0901_114539/sys_log:22568:09-01 11:53:32.409970 980 4368 D ConnectivityService: sending notification RELEASED for NetworkRequest [ id=22, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED

释放掉网络请求

3.通过mobilelog/APLog_2016_0902_134517/radio_log:中

mobilelog/APLog_2016_0902_134517/radio_log:4924:09-02 13:45:27.939767 1570 1570 D CAT : StkAppService: processPhoneStateChanged fg state -> DISCONNECTED,DIALING
mobilelog/APLog_2016_0902_134517/radio_log:4925:09-02 13:45:27.939788 1570 1570 D CAT : StkAppService: processPhoneStateChanged bg state -> IDLE,IDLE
mobilelog/APLog_2016_0902_134517/radio_log:4936:09-02 13:45:27.940933 1570 1570 D CAT : StkAppService: processPhoneStateChanged fg state -> DIALING,DIALING
mobilelog/APLog_2016_0902_134517/radio_log:4937:09-02 13:45:27.940954 1570 1570 D CAT : StkAppService: processPhoneStateChanged bg state -> IDLE,IDLE
mobilelog/APLog_2016_0902_134517/radio_log:5225:09-02 13:45:27.981695 1570 1570 D CAT : StkAppService: processPhoneStateChanged fg state -> DIALING,DIALING
mobilelog/APLog_2016_0902_134517/radio_log:5226:09-02 13:45:27.981716 1570 1570 D CAT : StkAppService: processPhoneStateChanged bg state -> IDLE,IDLE
mobilelog/APLog_2016_0902_134517/radio_log:6545:09-02 13:45:33.160355 1570 1570 D CAT : StkAppService: processPhoneStateChanged fg state -> DIALING,ALERTING
mobilelog/APLog_2016_0902_134517/radio_log:6546:09-02 13:45:33.160392 1570 1570 D CAT : StkAppService: processPhoneStateChanged bg state -> IDLE,IDLE
mobilelog/APLog_2016_0902_134517/radio_log:6821:09-02 13:45:39.782391 1570 1570 D CAT : StkAppService: processPhoneStateChanged fg state -> ALERTING,ACTIVE
mobilelog/APLog_2016_0902_134517/radio_log:6828:09-02 13:45:39.783823 1570 1570 D CAT : StkAppService: processPhoneStateChanged bg state -> IDLE,IDLE
mobilelog/APLog_2016_0902_134517/radio_log:37785:09-02 13:49:35.813219 1570 1570 D CAT : StkAppService: processPhoneStateChanged fg state -> ACTIVE,IDLE
mobilelog/APLog_2016_0902_134517/radio_log:37786:09-02 13:49:35.813238 1570 1570 D CAT : StkAppService: processPhoneStateChanged bg state -> IDLE,IDLE
mobilelog/APLog_2016_0902_134517/radio_log:43971:09-02 13:50:03.843490 1570 1570 D CAT : StkAppService: processPhoneStateChanged fg state -> IDLE,IDLE
mobilelog/APLog_2016_0902_134517/radio_log:43972:09-02 13:50:03.843513 1570 1570 D CAT : StkAppService: processPhoneStateChanged bg state -> IDLE,IDLE
mobilelog/APLog_2016_0902_134517/radio_log:47324:09-02 13:50:08.799303 1570 1570 D CAT : StkAppService: processPhoneStateChanged fg state -> IDLE,ACTIVE
mobilelog/APLog_2016_0902_134517/radio_log:47327:09-02 13:50:08.799428 1570 1570 D CAT : StkAppService: processPhoneStateChanged bg state -> IDLE,IDLE
mobilelog/APLog_2016_0902_134517/radio_log:51570:09-02 13:50:39.936903 1570 1570 D CAT : StkAppService: processPhoneStateChanged fg state -> ACTIVE,IDLE
mobilelog/APLog_2016_0902_134517/radio_log:51571:09-02 13:50:39.936940 1570 1570 D CAT : StkAppService: processPhoneStateChanged bg state -> IDLE,IDLE
mobilelog/APLog_2016_0902_134517/radio_log:54314:09-02 13:50:56.714155 1570 1570 D CAT : StkAppService: processPhoneStateChanged fg state -> IDLE,IDLE
mobilelog/APLog_2016_0902_134517/radio_log:54315:09-02 13:50:56.714175 1570 1570 D CAT : StkAppService: processPhoneStateChanged bg state -> IDLE,IDLE
mobilelog/APLog_2016_0902_134517/radio_log:57104:09-02 13:51:02.373813 1570 1570 D CAT : StkAppService: processPhoneStateChanged fg state -> IDLE,ACTIVE
mobilelog/APLog_2016_0902_134517/radio_log:57107:09-02 13:51:02.373938 1570 1570 D CAT : StkAppService: processPhoneStateChanged bg state -> IDLE,IDLE
mobilelog/APLog_2016_0902_134517/radio_log:61059:09-02 13:52:25.827773 1570 1570 D CAT : StkAppService: processPhoneStateChanged fg state -> ACTIVE,DISCONNECTED
mobilelog/APLog_2016_0902_134517/radio_log:61061:09-02 13:52:25.827804 1570 1570 D CAT : StkAppService: processPhoneStateChanged bg state -> IDLE,IDLE

4.通过mobilelog/APLog_2016_0901_114539/sys_log:中

mobilelog/APLog_2016_0901_114539/sys_log:2402:09-01 11:45:51.276954 980 4368 D ConnectivityService: sending notification AVAILABLE for NetworkRequest [ id=3, legacyType=-1, [] ]
mobilelog/APLog_2016_0901_114539/sys_log:2403:09-01 11:45:51.277411 980 4368 D ConnectivityService: sending notification AVAILABLE for NetworkRequest [ id=7, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]
mobilelog/APLog_2016_0901_114539/sys_log:2412:09-01 11:45:51.282107 980 4368 D ConnectivityService: sending notification PRECHECK for NetworkRequest [ id=3, legacyType=-1, [] ]
mobilelog/APLog_2016_0901_114539/sys_log:2416:09-01 11:45:51.282791 980 4368 D ConnectivityService: sending notification PRECHECK for NetworkRequest [ id=7, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]
mobilelog/APLog_2016_0901_114539/sys_log:2439:09-01 11:45:51.286045 980 4368 D ConnectivityService: sending notification CAP_CHANGED for NetworkRequest [ id=3, legacyType=-1, [] ]
mobilelog/APLog_2016_0901_114539/sys_log:2441:09-01 11:45:51.289230 980 4368 D ConnectivityService: sending notification CAP_CHANGED for NetworkRequest [ id=7, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]
mobilelog/APLog_2016_0901_114539/sys_log:4158:09-01 11:46:02.761551 980 4368 D ConnectivityService: sending notification AVAILABLE for NetworkRequest [ id=21, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]
mobilelog/APLog_2016_0901_114539/sys_log:4911:09-01 11:46:14.887454 980 4368 D ConnectivityService: sending notification RELEASED for NetworkRequest [ id=21, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]
mobilelog/APLog_2016_0901_114539/sys_log:5878:09-01 11:46:21.066040 980 4368 D ConnectivityService: sending notification AVAILABLE for NetworkRequest [ id=3, legacyType=-1, [] ]
mobilelog/APLog_2016_0901_114539/sys_log:5880:09-01 11:46:21.066447 980 4368 D ConnectivityService: sending notification AVAILABLE for NetworkRequest [ id=7, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]
mobilelog/APLog_2016_0901_114539/sys_log:5883:09-01 11:46:21.066860 980 4368 D ConnectivityService: sending notification PRECHECK for NetworkRequest [ id=3, legacyType=-1, [] ]
mobilelog/APLog_2016_0901_114539/sys_log:5885:09-01 11:46:21.067237 980 4368 D ConnectivityService: sending notification PRECHECK for NetworkRequest [ id=7, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]
mobilelog/APLog_2016_0901_114539/sys_log:5937:09-01 11:46:21.137362 980 4368 D ConnectivityService: sending notification CAP_CHANGED for NetworkRequest [ id=3, legacyType=-1, [] ]
mobilelog/APLog_2016_0901_114539/sys_log:5939:09-01 11:46:21.141809 980 4368 D ConnectivityService: sending notification CAP_CHANGED for NetworkRequest [ id=7, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]
mobilelog/APLog_2016_0901_114539/sys_log:6087:09-01 11:46:23.736490 980 4368 D ConnectivityService: sending notification CAP_CHANGED for NetworkRequest [ id=3, legacyType=-1, [] ]
mobilelog/APLog_2016_0901_114539/sys_log:6089:09-01 11:46:23.738329 980 4368 D ConnectivityService: sending notification CAP_CHANGED for NetworkRequest [ id=7, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]
mobilelog/APLog_2016_0901_114539/sys_log:6570:09-01 11:46:38.463540 980 4368 D ConnectivityService: sending notification AVAILABLE for NetworkRequest [ id=22, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]
mobilelog/APLog_2016_0901_114539/sys_log:6578:09-01 11:46:38.464370 980 4368 D ConnectivityService: sending notification AVAILABLE for NetworkRequest [ id=22, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]
mobilelog/APLog_2016_0901_114539/sys_log:21200:09-01 11:53:30.654409 980 4368 D ConnectivityService: sending notification LOST for NetworkRequest [ id=3, legacyType=-1, [] ]
mobilelog/APLog_2016_0901_114539/sys_log:21202:09-01 11:53:30.654846 980 4368 D ConnectivityService: sending notification LOST for NetworkRequest [ id=7, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]
mobilelog/APLog_2016_0901_114539/sys_log:21204:09-01 11:53:30.655223 980 4368 D ConnectivityService: sending notification LOST for NetworkRequest [ id=22, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]
mobilelog/APLog_2016_0901_114539/sys_log:22568:09-01 11:53:32.409970 980 4368 D ConnectivityService: sending notification RELEASED for NetworkRequest [ id=22, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED

可以看出网络连接断开

下面是mtk给的分析结果,因为log中有一些文件只有mtk才有工具能打开查看,我们是看不到里面的内容的,

这次是网络挂断的call,应该是主叫异常导致的。手机处理正常。

1460091, 278588, 251943, 13:50:55:040 2016/09/02, MOD_CC_2, , TRACE_PEER, [NW->MS] CC__SETUP
1460173, 278591, 251946, 13:50:55:040 2016/09/02, MOD_CC_2, , TRACE_PEER, [MS->NW] CC__CALL_CONFIRMED
1460455, 278830, 252166, 13:50:56:240 2016/09/02, MOD_CC_2, , TRACE_PEER, [MS->NW] CC__ALERTING
1464486, 280013, 253258, 13:51:01:640 2016/09/02, MOD_CC_2, , TRACE_PEER, [MS->NW] CC__CONNECT
1464573, 280082, 253322, 13:51:02:040 2016/09/02, MOD_CC_2, , TRACE_PEER, [NW->MS] CC__CONNECT_ACKNOWLEDGE
1498308, 298067, 269923, 13:52:25:040 2016/09/02, MOD_CC_2, , TRACE_PEER, [NW->MS] CC__DISCONNECT
1498598, 298148, 269998, 13:52:25:440 2016/09/02, MOD_NIL, , TRACE_INFO, [AT_U p23, s14]+ECPI:
1,1,0,1,,,"",,"",126
1498324, 298067, 269923, 13:52:25:040 2016/09/02, MOD_CC_2, , TRACE_PEER, [MS->NW] CC__RELEASE
1498569, 298148, 269998, 13:52:25:440 2016/09/02, MOD_CC_2, , TRACE_PEER, [NW->MS] CC__RELEASE_COMPLETE

04-16 11:34