prettify debug informations

Change-Id: I8e5c982f882a333e3f5ffdde6418447572547ea5
This commit is contained in:
vandwalle
2014-10-26 14:15:33 -07:00
parent dd932476b9
commit 30ac117228

View File

@@ -444,8 +444,9 @@ class AccessPoint extends Preference {
if (bssid != null) {
visibility.append(" ").append(bssid);
}
visibility.append(" score=").append(mInfo.score);
visibility.append(" rssi=").append(mInfo.getRssi());
visibility.append(" ");
visibility.append(" score=").append(mInfo.score);
visibility.append(String.format("tx=%.1f,", mInfo.txSuccessRate));
visibility.append(String.format("%.1f,", mInfo.txRetriesRate));
visibility.append(String.format("%.1f ", mInfo.txBadRate));
@@ -490,7 +491,7 @@ class AccessPoint extends Preference {
}
if (n5 < 4) {
if (scans5GHz == null) scans5GHz = new StringBuilder();
scans5GHz.append(" {").append(result.BSSID);
scans5GHz.append(" \n{").append(result.BSSID);
if (bssid != null && result.BSSID.equals(bssid)) scans5GHz.append("*");
scans5GHz.append("=").append(result.frequency);
scans5GHz.append(",").append(result.level);
@@ -510,7 +511,7 @@ class AccessPoint extends Preference {
}
if (n24 < 4) {
if (scans24GHz == null) scans24GHz = new StringBuilder();
scans24GHz.append(" {").append(result.BSSID);
scans24GHz.append(" \n{").append(result.BSSID);
if (bssid != null && result.BSSID.equals(bssid)) scans24GHz.append("*");
scans24GHz.append("=").append(result.frequency);
scans24GHz.append(",").append(result.level);