我的应用程序在后台,我正在检查日志,我看到该应用程序密集发送日志消息,我无法理解的消息。
我使用GCM推送通知,我怀疑它可能是原因。
如果是这个原因!电池不会在不到一秒的时间内发送这么多请求。
这是logcat消息:
12-02 15:01:07.682 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:07.682 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x4000027D, flags=0x0, dataLen=0x9
12-02 15:01:07.682 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:07.798 2548-2548/com.mbh.gsmtest D/OpenGLRenderer: Flushing caches (mode 0)
12-02 15:01:08.183 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:08.183 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x4000027E, flags=0x0, dataLen=0x9
12-02 15:01:08.183 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:08.683 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:08.683 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x4000027F, flags=0x0, dataLen=0x9
12-02 15:01:08.683 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:09.185 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:09.185 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x40000280, flags=0x0, dataLen=0x9
12-02 15:01:09.185 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:09.686 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:09.686 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x40000281, flags=0x0, dataLen=0x9
12-02 15:01:09.687 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:10.186 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:10.186 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x40000282, flags=0x0, dataLen=0x9
12-02 15:01:10.187 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:10.689 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:10.689 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x40000283, flags=0x0, dataLen=0x9
12-02 15:01:10.690 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:11.009 2548-2548/com.mbh.gsmtest D/VelocityTracker: VelocityTracker: int datax = 10
12-02 15:01:11.010 2548-2548/com.mbh.gsmtest D/VelocityTracker: VelocityTracker: int m_velocity_magnify_x = 1.000000
12-02 15:01:11.010 2548-2548/com.mbh.gsmtest D/VelocityTracker: VelocityTracker: int datay = 10
12-02 15:01:11.011 2548-2548/com.mbh.gsmtest D/VelocityTracker: VelocityTracker: int m_velocity_magnify_y = 1.000000
12-02 15:01:11.191 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:11.191 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x40000284, flags=0x0, dataLen=0x9
12-02 15:01:11.193 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:11.425 2548-2548/com.mbh.gsmtest I/SurfaceTextureClient: [STC::queueBuffer] (this:0x5f4e4270) fps:5.63, dur:4086.97, max:3632.61, min:12.16
12-02 15:01:11.691 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:11.691 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x40000285, flags=0x0, dataLen=0x9
12-02 15:01:11.692 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:11.722 2548-2548/com.mbh.gsmtest I/AbsListView: Fling from scroll with initialVelocity = 0,mActivePointerId = 0,mFirstPosition = 1,firstChildTop = -172,this = android.widget.ListView{428b9bc8 VFED.VC. .F....ID 0,0-720,1006 #7f0f00c9 app:id/listView_configs}
12-02 15:01:12.194 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:12.194 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x40000286, flags=0x0, dataLen=0x9
12-02 15:01:12.194 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:12.441 2548-2548/com.mbh.gsmtest I/SurfaceTextureClient: [STC::queueBuffer] (this:0x5f4e4270) fps:56.15, dur:1015.08, max:74.91, min:5.35
12-02 15:01:12.695 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:12.695 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x40000287, flags=0x0, dataLen=0x9
12-02 15:01:12.695 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:13.197 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:13.197 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x40000288, flags=0x0, dataLen=0x9
12-02 15:01:13.197 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:13.698 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:13.698 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x40000289, flags=0x0, dataLen=0x9
12-02 15:01:13.699 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:14.200 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:14.200 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x4000028A, flags=0x0, dataLen=0x9
12-02 15:01:14.200 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:14.321 2548-2548/com.mbh.gsmtest I/SurfaceTextureClient: [STC::queueBuffer] (this:0x5f4e4270) fps:7.44, dur:1880.83, max:1679.93, min:13.46
12-02 15:01:14.701 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:14.702 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x4000028B, flags=0x0, dataLen=0x9
12-02 15:01:14.702 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:15.202 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:15.202 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x4000028C, flags=0x0, dataLen=0x9
12-02 15:01:15.202 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:15.331 2548-2548/com.mbh.gsmtest I/SurfaceTextureClient: [STC::queueBuffer] (this:0x5f4e4270) fps:34.70, dur:1008.57, max:470.44, min:7.54
12-02 15:01:15.702 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:15.702 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x4000028D, flags=0x0, dataLen=0x9
12-02 15:01:15.702 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:16.204 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:16.204 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x4000028E, flags=0x0, dataLen=0x9
12-02 15:01:16.205 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:16.661 2548-2548/com.mbh.gsmtest I/SurfaceTextureClient: [STC::queueBuffer] (this:0x5f4e4270) fps:42.81, dur:1331.53, max:427.37, min:5.29
12-02 15:01:16.704 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:16.704 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x4000028F, flags=0x0, dataLen=0x9
12-02 15:01:16.704 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:17.205 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:17.205 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x40000290, flags=0x0, dataLen=0x9
12-02 15:01:17.205 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:17.705 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:17.705 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x40000291, flags=0x0, dataLen=0x9
12-02 15:01:17.705 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:18.209 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:18.209 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x40000292, flags=0x0, dataLen=0x9
12-02 15:01:18.210 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:18.216 2548-2548/com.mbh.gsmtest I/SurfaceTextureClient: [STC::queueBuffer] (this:0x5f4e4270) fps:1.29, dur:1555.18, max:998.46, min:556.72
12-02 15:01:18.708 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:18.708 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x40000293, flags=0x0, dataLen=0x9
12-02 15:01:18.708 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:19.210 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:19.210 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x40000294, flags=0x0, dataLen=0x9
12-02 15:01:19.210 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:19.222 2548-2548/com.mbh.gsmtest I/SurfaceTextureClient: [STC::queueBuffer] (this:0x5f4e4270) fps:63.63, dur:1005.83, max:35.90, min:5.19
12-02 15:01:19.710 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:19.710 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x40000295, flags=0x0, dataLen=0x9
12-02 15:01:19.711 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:20.211 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:20.211 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x40000296, flags=0x0, dataLen=0x9
12-02 15:01:20.212 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:20.235 2548-2548/com.mbh.gsmtest I/SurfaceTextureClient: [STC::queueBuffer] (this:0x5f4e4270) fps:54.28, dur:1013.23, max:169.05, min:5.19
12-02 15:01:21.242 2548-2548/com.mbh.gsmtest I/SurfaceTextureClient: [STC::queueBuffer] (this:0x5f4e4270) fps:62.61, dur:1006.23, max:37.54, min:4.56
12-02 15:01:21.715 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:21.716 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x40000299, flags=0x0, dataLen=0x9
12-02 15:01:21.716 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:22.216 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:22.217 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x4000029A, flags=0x0, dataLen=0x9
12-02 15:01:22.217 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:22.244 2548-2548/com.mbh.gsmtest I/SurfaceTextureClient: [STC::queueBuffer] (this:0x5f4e4270) fps:61.88, dur:1001.99, max:33.40, min:5.36
12-02 15:01:22.717 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:22.717 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x4000029B, flags=0x0, dataLen=0x9
12-02 15:01:22.717 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:23.219 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:23.219 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x4000029C, flags=0x0, dataLen=0x9
12-02 15:01:23.219 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:23.248 2548-2548/com.mbh.gsmtest I/SurfaceTextureClient: [STC::queueBuffer] (this:0x5f4e4270) fps:62.74, dur:1004.19, max:39.09, min:6.05
12-02 15:01:23.719 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:23.719 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x4000029D, flags=0x0, dataLen=0x9
12-02 15:01:23.720 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:24.220 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:24.221 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x4000029E, flags=0x0, dataLen=0x9
12-02 15:01:24.221 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:24.251 2548-2548/com.mbh.gsmtest I/SurfaceTextureClient: [STC::queueBuffer] (this:0x5f4e4270) fps:49.85, dur:1002.94, max:221.33, min:7.34
12-02 15:01:24.722 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:24.722 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x4000029F, flags=0x0, dataLen=0x9
12-02 15:01:24.722 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:25.223 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:25.223 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x400002A0, flags=0x0, dataLen=0x9
12-02 15:01:25.224 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:25.253 2548-2548/com.mbh.gsmtest I/SurfaceTextureClient: [STC::queueBuffer] (this:0x5f4e4270) fps:62.89, dur:1001.70, max:33.27, min:5.31
12-02 15:01:25.725 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:25.725 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x400002A1, flags=0x0, dataLen=0x9
12-02 15:01:25.725 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:26.226 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:26.226 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x400002A2, flags=0x0, dataLen=0x9
12-02 15:01:26.227 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:26.257 2548-2548/com.mbh.gsmtest I/SurfaceTextureClient: [STC::queueBuffer] (this:0x5f4e4270) fps:60.72, dur:1004.64, max:46.58, min:10.01
12-02 15:01:26.727 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:26.727 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x400002A3, flags=0x0, dataLen=0x9
12-02 15:01:26.727 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:27.228 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:27.228 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x400002A4, flags=0x0, dataLen=0x9
12-02 15:01:27.228 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:27.263 2548-2548/com.mbh.gsmtest I/SurfaceTextureClient: [STC::queueBuffer] (this:0x5f4e4270) fps:46.75, dur:1005.40, max:286.60, min:6.88
12-02 15:01:27.730 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:27.730 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x400002A5, flags=0x0, dataLen=0x9
12-02 15:01:27.731 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:28.232 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:28.234 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x400002A6, flags=0x0, dataLen=0x9
12-02 15:01:28.234 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:28.270 2548-2548/com.mbh.gsmtest I/SurfaceTextureClient: [STC::queueBuffer] (this:0x5f4e4270) fps:60.54, dur:1007.56, max:44.81, min:8.74
12-02 15:01:28.734 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:28.734 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x400002A7, flags=0x0, dataLen=0x9
12-02 15:01:28.734 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:29.233 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:29.233 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x400002A8, flags=0x0, dataLen=0x9
12-02 15:01:29.233 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:29.278 2548-2548/com.mbh.gsmtest I/SurfaceTextureClient: [STC::queueBuffer] (this:0x5f4e4270) fps:62.54, dur:1007.39, max:31.36, min:5.80
12-02 15:01:29.734 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:29.734 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x400002A9, flags=0x0, dataLen=0x9
12-02 15:01:29.735 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:30.235 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:30.235 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x400002AA, flags=0x0, dataLen=0x9
12-02 15:01:30.235 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:30.439 2548-2548/com.mbh.gsmtest I/SurfaceTextureClient: [STC::queueBuffer] (this:0x5f4e4270) fps:21.53, dur:1161.21, max:787.65, min:6.23
12-02 15:01:30.736 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:30.736 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x400002AB, flags=0x0, dataLen=0x9
12-02 15:01:30.737 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:31.238 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:31.238 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x400002AC, flags=0x0, dataLen=0x9
12-02 15:01:31.238 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:31.453 2548-2548/com.mbh.gsmtest I/SurfaceTextureClient: [STC::queueBuffer] (this:0x5f4e4270) fps:43.38, dur:1014.25, max:311.59, min:4.95
12-02 15:01:31.739 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:31.740 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x400002AD, flags=0x0, dataLen=0x9
12-02 15:01:31.740 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:32.240 2548-2554/com.mbh.gsmtest D/jdwp: processIncoming
12-02 15:01:32.240 2548-2554/com.mbh.gsmtest D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x400002AE, flags=0x0, dataLen=0x9
12-02 15:01:32.240 2548-2554/com.mbh.gsmtest D/jdwp: sendBufferedRequest : len=0x34
12-02 15:01:32.488 2548-2548/com.mbh.gsmtest I/SurfaceTextureClient: [STC::queueBuffer] (this:0x5f4e4270) fps:45.41, dur:1035.03, max:292.95, min:7.63
任何机构都面临过这种消息?
答案 0 :(得分:13)
如您所料,所有日志消息都与GCM
无关,调试者是生成所有这些消息的人,更确切地说,是JDWP debugger
:
Dalvik VM(虚拟机)支持JDWP协议,允许调试器连接到VM。每个应用程序都在VM中运行,并公开一个唯一的端口,您可以通过DDMS将调试器附加到该端口。如果要调试多个应用程序,连接到每个端口可能会变得乏味,因此DDMS提供端口转发功能,可以将特定VM的调试端口转发到端口8700.您可以通过突出显示它从应用程序自由切换到应用程序在DDMS的“设备”选项卡中。 DDMS将适当的端口转发到端口8700.大多数现代Java IDE包括JDWP调试器,或者您可以使用命令行调试器,如jdb。
您不必担心所有这些影响电池的消息,只有当您的设备启用USB debugging
选项时才会生成消息,但电池几乎没有任何费用(请参阅this主题获取更多详细信息)
Disable ADB Integration
取消选中Tools -> Android -> Enable ADB Integration
。请记住,这将消除JDWP消息,但将阻止您进行CPU,GPU,内存,网络监控。
其他选项是折叠来自logcat的消息(参见this answer)。缺点是所有折叠的线将堆叠在同一条线上,不添加换行。
此外,您还可以根据邮件的标签和日志级别过滤邮件(请参阅this主题)
希望它有所帮助。