Home
last modified time | relevance | path

Searched refs:badRssiCount (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiScoreReport.java324 if (wifiInfo.badRssiCount < MAX_BAD_RSSI_COUNT) { in calculateScore()
325 wifiInfo.badRssiCount += 1; in calculateScore()
329 if (wifiInfo.badRssiCount > 0) { in calculateScore()
331 wifiInfo.badRssiCount -= 1; in calculateScore()
334 wifiInfo.badRssiCount = 0; in calculateScore()
338 score -= wifiInfo.badRssiCount * BAD_RSSI_COUNT_PENALTY + wifiInfo.lowRssiCount; in calculateScore()
342 Log.d(TAG, " badRSSI count" + Integer.toString(wifiInfo.badRssiCount) in calculateScore()
353 sb.append(String.format(" brc=%d lrc=%d", wifiInfo.badRssiCount, wifiInfo.lowRssiCount)); in calculateScore()
/frameworks/base/wifi/java/android/net/wifi/
DWifiInfo.java142 public int badRssiCount; field in WifiInfo
268 badRssiCount = 0; in reset()
299 badRssiCount = source.badRssiCount; in WifiInfo()
600 dest.writeInt(badRssiCount); in writeToParcel()
631 info.badRssiCount = in.readInt();