Android之mtklog分析
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
Android之mtklog分析的更多相关文章
- Android APP性能分析方法及工具
近期读到<Speed up your app>一文.这是一篇关于Android APP性能分析.优化的文章.在这篇文章中,作者介绍他的APP分析优化规则.使用的工具和方法.我觉得值得大家借 ...
- Android源码分析-全面理解Context
前言 Context在android中的作用不言而喻,当我们访问当前应用的资源,启动一个新的activity的时候都需要提供Context,而这个Context到底是什么呢,这个问题好像很好回答又好像 ...
- cocos2d-x for android:SimpleGame分析
cocos2d-x for android:SimpleGame分析 作为cocos2d-x的标配DEMO,SimpleGame可算是给入门学cocos2d-x的俺们这些新手门学习的对象了,那么来分析 ...
- Android内存机制分析1——了解Android堆和栈
//----------------------------------------------------------------------------------- Android内存机制分析1 ...
- Android 内存管理分析(四)
尊重原创作者,转载请注明出处: http://blog.csdn.net/gemmem/article/details/8920039 最近在网上看了不少Android内存管理方面的博文,但是文章大多 ...
- Qualcomm Android display架构分析
Android display架构分析(一) http://blog.csdn.net/BonderWu/archive/2010/08/12/5805961.aspx http://hi.baidu ...
- Android 消息处理源代码分析(1)
Android 消息处理源代码分析(1) 在Android中,通常被使用的消息队列的代码在文件夹\sources\android-22\android\os下,涉及到下面几个类文件 Handler.j ...
- Android平台APK分析工具包androguard的部署使用和原理分析
原创文章,转载请注明出处,谢谢. Android应用程序分析主要有静态分析和动态分析两种,常见的静态分析工具是Apktool.dex2jar以及jdgui.今天突然主要到Google code上有个叫 ...
- 【转】Android内存机制分析2——分析APP内存使用情况
上面一篇文章说了Android应用运行在dalvik里面分配的堆和栈内存区别,以及程序中什么代码会在哪里运行.今天主要是讲解一下Android里面如何分析我们程序内存使用情况.以便后续可以分析我们程序 ...
随机推荐
- mybatis-java1234一
一,简单增删改代码实现 package com.mybatis.mapper; import java.util.List; import com.mybatis.model.Student; pub ...
- Ubuntu14.04运行行roscore错误
错误提示: 网络配置有问题,ping不同自己(ping localhost). vim ~/.bashrc 在底部加入: export ROS_HOSTNAME=localhostexport ROS ...
- 此操作失败的原因是对 IID 为“{000208DA-0000-0000-C000-000000000046}”的接口的 COM 组件调用 QueryInterface
有些电脑报错,有些电脑正常. 环境:VS2010 WinForm程序, Office2007 C#操作Excel时报错.错误: 无法将类型为“System.__ComObject”的 COM 对象强制 ...
- 解决Window Azure: Failed to start Development Storage: the SQL Server instance ‘localhost\SQLExpress’ could not be found.
运行Window Arzure 项目,报如下错误: Windows Azure Tools: Failed to initialize Windows Azure storage emulator. ...
- oracle wrapped 代码解密工具 unwraper
Oracle中的Wrap 功能是为了不让别人看到函数/存储过程的SQL源码的明文, 作为技术宅,有的时候想看源码但是看不到的那种心情是可以理解的, 发一个简单易用的 Oracle wrapped 解码 ...
- 解析和风天气API的json(objective-C实现)
暑假在家闲着没事干,心血来潮想做个天气预报APP玩玩,听说和风天气API很好,于是注册并试了下,结果它的JSON是这样的(拿我的家乡武义为例子) {"}},"status" ...
- angularjs的三目运算
前言:前几天写代码的时候遇到一个问题,有一个按钮,有"已关注"和"+关注"两种状态,需要对这两种状态的按钮的背景颜色进行区分,单后点击"已关注&quo ...
- easyui DataGrid 工具类之 WorkbookUtil class
/** * @Title: WorkbookUtil.java * @Description: excel工具类 * @date 2014年5月29日 上午10:36:42 * @version V1 ...
- iis发布后,未能找到编译器可执行文件 csc.exe
iis 未能找到编译器可执行文件 csc.exe在一台新安装完的Windows Server 2003上,打上Framework 3.5,配置好WebService的IIS,结果浏览时出现:未找到编译 ...
- windows重建图标缓存(解决快捷方式图标丢失,图标加载时间长问题)
新建一个文本文档,把下边的代码输入进去,保存为.bat格式,运行即可 有快捷方式图标丢失或者觉得图标加载速度慢了,就run一下这个,很实用的小工具 rem 关闭Windows外壳程序explorer ...