常见log简介
1/开关wifi enable/disable时的Log:
开:WifiService: setWifiEnabled: true pid=8164, uid=10051, package=com.google.android.setupwizard
关:WifiService: setWifiEnabled: false pid=4975, uid=1000, package=com.android.settings
在界面上显示扫描到的WiFi。WifiSettings: updateAccessPoints called for
2/从这个log中可以发现这个AP没有联网
and even you wifi is enable ,seem is can't open the public web
Line 1633: 01-12 16:03:03.747 D/ConnectivityService( 1161): notifyType CAP_CHANGED for NetworkAgentInfo [WIFI () - 100] //代表当前连接的是wifi上网
Line 1873: 01-12 16:04:32.101 D/ConnectivityService( 1161): NetworkAgentInfo [WIFI () - 100] EVENT_NETWORK_INFO_CHANGED, going from CONNECTED to DISCONNECTED
Line 1875: 01-12 16:04:32.102 D/ConnectivityService( 1161): NetworkAgentInfo [WIFI () - 100] got DISCONNECTED, was satisfying 4
Line 1879: 01-12 16:04:32.144 D/ConnectivityService( 1161): notifyType LOST for NetworkAgentInfo [WIFI () - 100]
Line 1883: 01-12 16:04:32.265 D/ConnectivityService( 1161): sendStickyBroadcast: action=android.net.conn.CONNECTIVITY_CHANGE
Line 1891: 01-12 16:04:32.391 E/ConnectivityService( 1161): EVENT_NETWORK_INFO_CHANGED from unknown NetworkAgent
1