diff options
author | vandwalle <vandwalle@google.com> | 2014-07-28 20:26:58 -0700 |
---|---|---|
committer | vandwalle <vandwalle@google.com> | 2014-07-28 20:35:44 -0700 |
commit | 16a40cc7b597f0492f633cc0f742dc796955e7fd (patch) | |
tree | a10b1a0c8f64cf99d04591518bbffea6ace27886 /wifi | |
parent | 3af1afb0696fac2b3e0dd537048c0e6d11d2df03 (diff) | |
download | frameworks_base-16a40cc7b597f0492f633cc0f742dc796955e7fd.zip frameworks_base-16a40cc7b597f0492f633cc0f742dc796955e7fd.tar.gz frameworks_base-16a40cc7b597f0492f633cc0f742dc796955e7fd.tar.bz2 |
add debug info to wificonfiguration dump
Change-Id: I4887afa21d6e1d9463fa4a5cd0aa7ae22973239f
Diffstat (limited to 'wifi')
-rw-r--r-- | wifi/java/android/net/wifi/WifiConfiguration.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/wifi/java/android/net/wifi/WifiConfiguration.java b/wifi/java/android/net/wifi/WifiConfiguration.java index dd30ac7..8e27e2a 100644 --- a/wifi/java/android/net/wifi/WifiConfiguration.java +++ b/wifi/java/android/net/wifi/WifiConfiguration.java @@ -818,6 +818,17 @@ public class WifiConfiguration implements Parcelable { append(" BSSID: ").append(this.BSSID).append(" FQDN: ").append(this.FQDN). append(" REALM: ").append(this.naiRealm).append(" PRIO: ").append(this.priority). append('\n'); + if (this.numConnectionFailures > 0) { + sbuf.append(" numConnectFailures ").append(this.numConnectionFailures).append("\n"); + } + if (this.autoJoinStatus > 0) { + sbuf.append(" autoJoinStatus ").append(this.numConnectionFailures).append("\n"); + } + if (this.didSelfAdd || this.selfAdded) { + if (this.didSelfAdd) sbuf.append(" didSelfAdd "); + if (this.selfAdded) sbuf.append(" selfAdded "); + sbuf.append("\n"); + } sbuf.append(" KeyMgmt:"); for (int k = 0; k < this.allowedKeyManagement.size(); k++) { if (this.allowedKeyManagement.get(k)) { |