开启WIFI的StateMachine&WifiController的LOG

这篇博客详细记录了Android系统中WIFI模块的StateMachine和WifiController的日志,包括了各种状态的切换过程,如StaDisabledWithScanState、DeviceActiveState和ClientModeActiveState等。通过这些日志,可以理解WIFI状态机如何处理不同消息,例如CMD_WIFI_TOGGLED和ScanOnlyModeActiveState等,以及如何在不同状态下进行转换和执行相应的方法。
摘要由CSDN通过智能技术生成

StateMachine.java (z:\home\android\work\304\android\frameworks\base\core\java\com\android\internal\util):                if (mDbg && mSm != null) mSm.log("handleMessage: X");

StateMachine.java (z:\home\android\work\304\android\frameworks\base\core\java\com\android\internal\util):                if (mDbg) mSm.log("handleMessage: E msg.what=" + msg.what);


01-01 07:04:18.343  1019  1148 D WifiController: handleMessage: E msg.what=155656
01-01 07:04:18.343  1019  1148 D WifiController: processMsg: StaDisabledWithScanState
01-01 07:04:18.344  1019  1148 D WifiController: StaDisabledWithScanState CMD_WIFI_TOGGLED{ when=-3ms what=155656 target=com.android.internal.util.StateMachine$SmHandler }
01-01 07:04:18.344  1019  1148 D WifiController: transitionTo: destState=DeviceActiveState
01-01 07:04:18.344  1019  1148 D WifiController: handleMessage: new destination call exit/enter
01-01 07:04:18.344  1019  1148 D WifiController: setupTempStateStackWithStatesToEnter: X mTempStateStackCount=2,curStateInfo: state=DefaultState,active=true,parent=null
01-01 07:04:18.344  1019  1148 D WifiController: invokeExitMethods: StaDisabledWithScanState
01-01 07:04:18.344  1019  1148 D WifiController: moveTempStackToStateStack: i=1,j=1
01-01 07:04:18.344  1019  1148 D WifiController: moveTempStackToStateStack: i=0,j=2
01-01 07:04:18.344  1019  1148 D WifiController: moveTempStackToStateStack: X mStateStackTop=2,startingIndex=1,Top=DeviceActiveState
01-01 07:04:18.344  1019  1148 D WifiController: invokeEnterMethods: StaEnabledState
01-01 07:04:18.344  1019  1148 D WifiController: StaEnabledState.enter()
01-01 07:04:18.344  1019  1148 D WifiController: invokeEnterMethods: DeviceActiveState
01-01 07:04:18.344  1019  1148 D WifiController: DeviceActiveState.enter()
01-01 07:04:18.345  1019  1148 D WifiController: handleMessage: X
01-01 07:04:18.345  1019  1149 D WifiStateMachinePrime: handleMessage: E msg.what=0
01-01 07:04:18.345  1019  1149 D WifiStateMachinePrime: processMsg: ScanOnlyModeActiveState
01-01 07:04:18.345  1019  1149 D WifiStateMachinePrime: Switching from ScanOnlyModeActiveState to ClientMode
01-01 07:04:18.345  1019  1149 D WifiStateMachinePrime: transitionTo: destState=ClientModeActiveState
01-01 07:04:18.345  1019  1149 D WifiStateMachinePrime: handleMessage: new destination call exit/enter
01-01 07:04:18.345  1019  1149 D WifiStateMachinePrime: setupTempStateStackWithStatesToEnter: X mTempStateStackCount=1,curStateInfo: null
01-01 07:04:18.345  1019  1149 D WifiStateMachinePrime: invokeExitMethods: ScanOnlyModeActiveState
01-01 07:04:18.347  1019  1149 D WifiStateMachinePrime: moveTempStackToStateStack: i=0,j=0
01-01 07:04:18.350  1019  1149 D WifiStateMachinePrime: moveTempStackToStateStack: X mStateStackTop=0,startingIndex=0,Top=ClientModeActiveState
01-01 07:04:18.350  1019  1149 D WifiStateMachinePrime: invokeEnterMethods: ClientModeActiveState
01-01 07:04:18.350  1019  1149 D WifiStateMachinePrime: Entering ClientModeActiveState
01-01 07:04:18.352  1019  1149 D WifiStateMachinePrime: handleMessage: X
01-01 07:04:18.816  1019  1149 D WifiStateMachine: handleMessage: E msg.what=131149
01-01 07:04:18.817  1019  1149 D WifiStateMachine: processMsg: DefaultState
01-01 07:04:18.818  1019  1149 D WifiStateMachine: handleMessage: X
01-01 07:04:18.818  1019  1149 D WifiStateMachine: handleMessage: E msg.what=131133
01-01 07:04:18.819  1019  1149 D WifiStateMachine: processMsg: DefaultState
01-01 07:04:18.821  1019  1149 D WifiStateMachine: handleMessage: X
01-01 07:04:18.822  1019  1149 D WifiStateMachinePrime: State changed from client mode. state = 2
01-01 07:04:18.826  1019  1151 D WifiP2pService: P2pDisabledState{ when=-2ms what=143377 target=com.android.internal.util.StateMachine$SmHandler }
01-01 07:04:18.827  1019  1151 D WifiP2pService: DefaultState{ when=-2ms what=143377 target=com.android.internal.util.StateMachine$SmHandler }
01-01 07:04:18.839  1019  1151 D WifiP2pService:  WFD MaxThroughput: 0 target=com.android.internal.util.StateMachine$SmHandler }
01-01 07:04:18.839  1019  1151 D WifiP2pService:  WFD MaxThroughput: 0 target=com.android.internal.util.StateMachine$SmHandler }
01-01 07:04:19.189  1019  1151 D WifiP2pService:  WFD MaxThroughput: 0 target=com.android.internal.util.StateMachine$SmHandler }
01-01 07:04:19.189  1019  1151 D WifiP2pService:  WFD MaxThroughput: 0 target=com.android.internal.util.StateMachine$SmHandler }
01-01 07:04:19.384  1019  1150 D WifiBackgroundScanStateMachine: handleMessage: E msg.what=160007
01-

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值