Lines Matching defs:score

2648                 sb.append(" sc=").append(mWifiInfo.score);
2864 sb.append(" sc=").append(mWifiInfo.score);
4091 // Polling has completed, hence we wont have a score anymore
4107 int score = 56; // Starting score, temporarily hardcoded in between 50 and 60
4131 * otherwise we end up lowering the score based on 5GHz values
4202 score = score - 5;
4222 score = score - 5;
4238 score = score - 5;
4256 + " score=" + Integer.toString(mWifiInfo.score)
4281 sb.append(String.format(" [%d", score));
4284 // Once link gets stuck for more than 3 seconds, start reducing the score
4285 score = score - 2 * (mWifiInfo.linkStuckCount - 1);
4287 sb.append(String.format(",%d", score));
4290 score -= 4;
4293 + " score=" + Integer.toString(score));
4296 score += 4; // So as bad rssi alone dont kill us
4298 sb.append(String.format(",%d", score));
4314 score -= mWifiInfo.badRssiCount * 2 + mWifiInfo.lowRssiCount;
4315 sb.append(String.format(",%d", score));
4319 + " --> score " + Integer.toString(score));
4323 score += 5;
4324 if (PDBG) logd(" isHighRSSI ---> score=" + Integer.toString(score));
4326 sb.append(String.format(",%d]", score));
4331 if (score > NetworkAgent.WIFI_BASE_SCORE)
4332 score = NetworkAgent.WIFI_BASE_SCORE;
4333 if (score < 0)
4334 score = 0;
4336 //report score
4337 if (score != mWifiInfo.score) {
4339 logd("calculateWifiScore() report new score " + Integer.toString(score));
4341 mWifiInfo.score = score;
4343 mNetworkAgent.sendNetworkScore(score);
5325 protected void needNetworkFor(NetworkRequest networkRequest, int score) {
5348 protected void needNetworkFor(NetworkRequest networkRequest, int score) {
7784 NetworkCapabilities nc, LinkProperties lp, int score) {
7785 super(l, c, TAG, ni, nc, lp, score);
7790 if (DBG) log("WifiNetworkAgent -> Wifi unwanted score "
7791 + Integer.toString(mWifiInfo.score));
7799 if (DBG) log("WifiNetworkAgent -> Wifi networkStatus invalid, score="
7800 + Integer.toString(mWifiInfo.score));
7803 if (DBG && mWifiInfo != null) log("WifiNetworkAgent -> Wifi networkStatus valid, score= "
7804 + Integer.toString(mWifiInfo.score));