diff options
author | Michael Plass <mplass@google.com> | 2016-11-03 17:32:14 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2016-11-03 17:32:14 +0000 |
commit | d22557025e4c2278a55be8b9993befc4134beb93 (patch) | |
tree | 5c072ba2e7877c06ced5114b0eba0d0bb14ef3e9 | |
parent | df8865d58441c6c3cb3a6d5c0cc35517df08aebe (diff) | |
parent | 9d31ad0596555971395980fdd0a3ccbd5b1b1123 (diff) |
Merge "Update logging tag and prefixes in WifiScoreReport"
-rw-r--r-- | service/java/com/android/server/wifi/WifiScoreReport.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/service/java/com/android/server/wifi/WifiScoreReport.java b/service/java/com/android/server/wifi/WifiScoreReport.java index d6da95b81..a8c502f24 100644 --- a/service/java/com/android/server/wifi/WifiScoreReport.java +++ b/service/java/com/android/server/wifi/WifiScoreReport.java @@ -30,8 +30,7 @@ import com.android.internal.R; * TODO: Add unit tests for this class. */ public class WifiScoreReport { - // TODO: switch to WifiScoreReport if it doesn't break any tools b/32380868 - private static final String TAG = "WifiStateMachine"; + private static final String TAG = "WifiScoreReport"; // TODO: This score was hardcorded to 56. Need to understand why after finishing code refactor private static final int STARTING_SCORE = 56; @@ -339,7 +338,7 @@ public class WifiScoreReport { rssiStatus += " lowRSSI "; } if (isBadLinkspeed) rssiStatus += " lowSpeed "; - Log.d(TAG, "calculateWifiScore freq=" + Integer.toString(wifiInfo.getFrequency()) + Log.d(TAG, " wifi scoring details freq=" + Integer.toString(wifiInfo.getFrequency()) + " speed=" + Integer.toString(wifiInfo.getLinkSpeed()) + " score=" + Integer.toString(wifiInfo.score) // Previous score + rssiStatus @@ -435,8 +434,7 @@ public class WifiScoreReport { //report score if (score != wifiInfo.score) { if (mVerboseLoggingEnabled) { - // TODO: switch to the new method name if it doesn't break any tools b/32380868 - Log.d(TAG, "calculateWifiScore() report new score " + Integer.toString(score)); + Log.d(TAG, " report new wifi score " + Integer.toString(score)); } wifiInfo.score = score; if (networkAgent != null) { |