Home
last modified time | relevance | path

Searched refs:MIN_RSSI (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerWifiTest.java14 private static final int MIN_RSSI = -100; field in NetworkControllerWifiTest
103 float amountPerLevel = (MAX_RSSI - MIN_RSSI) / (WifiIcons.WIFI_LEVEL_COUNT - 1); in setWifiLevel()
104 int rssi = (int)(MIN_RSSI + level * amountPerLevel); in setWifiLevel()
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java488 private static final int MIN_RSSI = -100; field in WifiManager
1358 if (rssi <= MIN_RSSI) { in calculateSignalLevel()
1363 float inputRange = (MAX_RSSI - MIN_RSSI); in calculateSignalLevel()
1365 return (int)((float)(rssi - MIN_RSSI) * outputRange / inputRange); in calculateSignalLevel()
DWifiInfo.java70 public static final int MIN_RSSI = -126; field in WifiInfo