OSDN Git Service

Additional logging to debug lost Wifi APs
authorVinit Deshapnde <vinitd@google.com>
Fri, 23 Aug 2013 18:53:40 +0000 (11:53 -0700)
committerVinit Deshapnde <vinitd@google.com>
Fri, 23 Aug 2013 18:53:40 +0000 (11:53 -0700)
commite8fabf98fb5e5543050679b4f4bff677bbc4164b
tree3ac2aef63c4090112fcc09a5f1d604e90637dac1
parent8e3a41738fba4883f9951406f334567f621db102
Additional logging to debug lost Wifi APs

This change adds some in-memory logging to get some information that
doesn't seem to get captured in bug reports readily. We can remove this
after we've got to the bottom of this issue.

This is the sort of log it produces in bugreport -

WifiConfigStore - Log Begin ----
16:30:06 - loadConfiguredNetwork GoogleGuest
16:30:06 - loadConfiguredNetworks loaded 1networks
16:30:06 - disableAllNetworks
16:30:06 - loadConfiguredNetwork GoogleGuest
16:30:06 - loadConfiguredNetworks loaded 1networks
WifiConfigStore - Log End ----

Bug: 10375978
Change-Id: Iaecd3b391aea3711bf376d6cb520217d3242e6f1
wifi/java/android/net/wifi/WifiConfigStore.java
wifi/java/android/net/wifi/WifiMonitor.java
wifi/java/android/net/wifi/WifiNative.java
wifi/java/android/net/wifi/WifiStateMachine.java