- iOS/Objective-C 元类和类别
- objective-c - -1001 错误,当 NSURLSession 通过 httpproxy 和/etc/hosts
- java - 使用网络类获取 url 地址
- ios - 推送通知中不播放声音
我的应用程序在后台运行,我正在检查日志,我看到该应用程序大量发送日志消息,其中包含我无法理解的消息。
我使用 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
有人遇到过这种消息吗?
最佳答案
如您所料,所有日志消息都与 GCM
无关,生成所有这些消息的是调试器,更准确地说,是 JDWP 调试器
:
The Dalvik VM (Virtual Machine) supports the JDWP protocol to allow debuggers to attach to a VM. Each application runs in a VM and exposes a unique port that you can attach a debugger to via DDMS. If you want to debug multiple applications, attaching to each port might become tedious, so DDMS provides a port forwarding feature that can forward a specific VM's debugging port to port 8700. You can switch freely from application to application by highlighting it in the Devices tab of DDMS. DDMS forwards the appropriate port to port 8700. Most modern Java IDEs include a JDWP debugger, or you can use a command line debugger such as jdb.
您不必担心所有这些消息会影响您的电池,只有当您的设备启用了 USB debugging
选项时才会生成这些消息,但几乎不会为您的电池带来任何成本(有关详细信息,请参阅 this 线程)
通过在
。请记住,这会删除 JDWP 消息,但也会阻止您进行 CPU、GPU、内存、网络监控。Tools -> Android -> Enable ADB Integration
中取消选中来禁用 ADB Integration
其他选项是折叠来自 logcat 的消息(参见 this 答案)。缺点是所有折叠的行将堆叠在同一行上,没有添加换行。
您还可以根据标签和日志级别过滤消息(参见 this 主题)
希望对您有所帮助。
关于android - 记录消息 processIncoming、handlePacket、sendBufferedRequest 重复了很多 - android,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34044053/
我想知道如何考虑需要您做出某些选择才能看到最终结果的搜索系统。我说的是 select 表单,您可以在其中根据您的选择继续操作,然后您会看到结果。 下面描述了我正在谈论的一个随机示例。想象一下 Init
您好,我目前正在编写一些软件来管理我们的库存。我搜索了 2 个表 master_stock(保存每一个股票代码和描述)库存(保存库存代码、地点、数量...) 一切都很好,但这是我遇到的问题。 假设我的
我有 2 个表,我想合并其数据。id 是我的关键字段(增量且不同)。表1和表2字段说明例如:id - 名称 - 值 我想将表2的所有数据插入表1,它们有不同的数据,但在某些行中有相同的id。 所以当我
我正在努力解决汇编中的一个问题,我必须获取十六进制代码的第一个字节 (FF) 并将其复制到整个值中: 0x045893FF input 0xFFFFFFFF output 我所做的
我有 Eclipse Indigo 版本,我可以在其中运行 Java 和 C++ 项目。 但我只想使用另一个 Eclipse 来编写 C++ 项目。所以我将 eclipse(不是工作区)的源文件夹复制
This question already has answers here: What is a NullPointerException, and how do I fix it? (12个答案)
This question already has answers here: Numbering rows within groups in a data frame (8个答案) 5个月前关闭。
我知道用q记录到寄存器中,但我想知道是否可以设置一些东西来快速调用最后一个记录,就像一样。 回顾最后一个简短的编辑命令(有关 的讨论请参阅 here。)。 我知道@@,但它似乎只有在执行@z之后才起作
来自 Eclipse 并且一直习惯于复制行,发现 Xcode 没有这样的功能是很奇怪的。或者是吗? 我知道可以更改系统范围的键绑定(bind),但这不是我想要的。 最佳答案 要删除一行:Ctrl-A
假设我有一个包含元素的列表,例如[1,2,3,4,5,6,7,8]。我想创建长度为 N 的该元素的所有排列。 因此,对于N = 4,它将是[[1,1,1,1],[1,1,1,2],[1,1,2,1],
我有一个带有 JMenu 的 JFrame。当我在某些情况下添加包含图像的 JPanel 时,程序首次启动时菜单会重复。调整大小时重复的菜单消失。任何建议都非常感激。谢谢。代码如下: public c
我正在尝试查找目录中文件的重复项。 我对这个 block 有一个问题,它以文件地址作为参数: public void findFiles(ArrayList list){ HashMap hm
我知道这个问题已经发布并且已经给出了答案,但我的情况不同,因为我在单个方法上填充多个下拉列表,所以如果我点击此链接 After every postback dropdownlist items re
我正在尝试为我的日历应用程序实现重复模式。我希望它的工作方式与 Outlook 在您设置重复约会时的工作方式相同。 public async Task> ApplyReccurrencePeriod
我有一个利用 cookie 来支持准向导的应用程序(即,它是一组相互导航的页面,它们必须以特定顺序出现以进行注册)。 加载 Logon.aspx 页面时 - 默认页面 - 浏览器 cookie 看起来
我有 3 个输入,代码检查它们是否为空,如果为空,则将变量值添加到输入中。 所以我有 3 个具有值的变量: var input1text = "something here"; var input2t
根据数组的长度更改数组的每个元素的最佳方法是什么? 例如: User #1 input = "XYZVC" Expected Output = "BLABL" User #2 input = "XYZ
我在让 Algolia 正常工作时遇到了一些麻烦。我正在使用 NodeJS 并尝试在我的数据库和 Algolia 之间进行一些同步,但由于某种原因似乎随机弹出大量重复项。 如您所见,在某些情况下,会弹
遵循以下规则: expr: '(' expr ')' #exprExpr | expr ( AND expr )+ #exprAnd | expr ( OR expr )+ #exprO
我有一个布局,我想从左边进入并停留几秒钟,然后我希望它从右边离开。为此,我编写了以下代码: 这里我在布局中设置数据: private void loadDoctor(int doctorsInTheL
我是一名优秀的程序员,十分优秀!