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分析的更多相关文章

  1. Android APP性能分析方法及工具

    近期读到<Speed up your app>一文.这是一篇关于Android APP性能分析.优化的文章.在这篇文章中,作者介绍他的APP分析优化规则.使用的工具和方法.我觉得值得大家借 ...

  2. Android源码分析-全面理解Context

    前言 Context在android中的作用不言而喻,当我们访问当前应用的资源,启动一个新的activity的时候都需要提供Context,而这个Context到底是什么呢,这个问题好像很好回答又好像 ...

  3. cocos2d-x for android:SimpleGame分析

    cocos2d-x for android:SimpleGame分析 作为cocos2d-x的标配DEMO,SimpleGame可算是给入门学cocos2d-x的俺们这些新手门学习的对象了,那么来分析 ...

  4. Android内存机制分析1——了解Android堆和栈

    //----------------------------------------------------------------------------------- Android内存机制分析1 ...

  5. Android 内存管理分析(四)

    尊重原创作者,转载请注明出处: http://blog.csdn.net/gemmem/article/details/8920039 最近在网上看了不少Android内存管理方面的博文,但是文章大多 ...

  6. Qualcomm Android display架构分析

    Android display架构分析(一) http://blog.csdn.net/BonderWu/archive/2010/08/12/5805961.aspx http://hi.baidu ...

  7. Android 消息处理源代码分析(1)

    Android 消息处理源代码分析(1) 在Android中,通常被使用的消息队列的代码在文件夹\sources\android-22\android\os下,涉及到下面几个类文件 Handler.j ...

  8. Android平台APK分析工具包androguard的部署使用和原理分析

    原创文章,转载请注明出处,谢谢. Android应用程序分析主要有静态分析和动态分析两种,常见的静态分析工具是Apktool.dex2jar以及jdgui.今天突然主要到Google code上有个叫 ...

  9. 【转】Android内存机制分析2——分析APP内存使用情况

    上面一篇文章说了Android应用运行在dalvik里面分配的堆和栈内存区别,以及程序中什么代码会在哪里运行.今天主要是讲解一下Android里面如何分析我们程序内存使用情况.以便后续可以分析我们程序 ...

随机推荐

  1. 最好的cpm广告联盟哪里有

    最好的cpm广告联盟哪里有,58传媒广告联盟还要提醒众位站长的是网站在经营发展中必须最大化的扩展自己的优势力量.每个网站都有属于自己的优势魅力,这些优势特点只有得到最大化的发挥才能为网站带来意想不到的 ...

  2. 图像开发的p2s模式:halcon+opencv的联动

    [<zw版·Halcon与delphi系列原创教程> 图像开发的p2s模式:halcon+opencv的联动 尽管halcon功能强大,基本上cv只是halcon的一个子集,不过cv毕竟是 ...

  3. Thinkphp:有你真好

    ThinkPHP是为了简化企业级应用开发和敏捷WEB应用开发而诞生的.最早诞生于2006年初,2007年元旦正式更名为ThinkPHP,并且遵循Apache2开源协议发布.ThinkPHP从诞生以来一 ...

  4. 递归将Map里的字段名由驼峰转为下划线

    导航 定位 概述 算法设计 递归技巧 代码实现 定位 本文适合于想要使用Java递归地将Map里的Key字段名从驼峰转为下划线,或者想了解如何处理任意递归的Map结构的筒鞋. 概述 在进行多语言混合编 ...

  5. Ubuntu 反复进入登录框问题

    记录一下,今天碰到一个问题,到ubuntu登陆界面时,输入用户名和密码之后,马上又回到登陆界面 查看了 .xsession-errors. 网上查找了相关资料,想到自己之前装过nvidia的驱动. 卸 ...

  6. insmod过程详解【转】

    转自:http://blog.csdn.net/chrovery/article/details/51088425 转自 http://blog.chinaunix.net/xmlrpc.php?r= ...

  7. jsp九大内置对象、四种作用域、跳转方式

    jsp有四种属性范围: page -> 页面级别,显然只有在一个页面内可用. request -> 请求级别 服务器跳转,一次请求之后消失. session -> 会话级别 客户端跳 ...

  8. VTID配置

    车牌过滤: [FilterByHour] text=${Channel},${Plate.type},${Frame.Time(%H)} all=true rule01= ^$,^$,^[]$ =&g ...

  9. MVVM简介

    如果你对MVVM的概念还是不了解,可以参看下面链接:http://baike.baidu.com/view/3507915.htm 我们以WPF+MVVM的本地桌面程序为背景,这样一来我们可以不去操心 ...

  10. Lucky and Good Months by Gregorian Calendar - POJ3393模拟

    Lucky and Good Months by Gregorian Calendar Time Limit: 1000MS Memory Limit: 65536K Description Have ...