Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DTestAccessPointBuilder.java44 private static final int MIN_RSSI = -100; field in TestAccessPointBuilder
136 mRssi = MIN_RSSI; in setLevel()
140 float inputRange = MAX_RSSI - MIN_RSSI; in setLevel()
142 mRssi = (int) (level * inputRange / outputRange + MIN_RSSI); in setLevel()
174 mRssi = MIN_RSSI; in setReachable()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerWifiTest.java31 private static final int MIN_RSSI = -100; field in NetworkControllerWifiTest
178 float amountPerLevel = (MAX_RSSI - MIN_RSSI) / (WifiIcons.WIFI_LEVEL_COUNT - 1); in setWifiLevel()
179 int rssi = (int)(MIN_RSSI + level * amountPerLevel); in setWifiLevel()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DScoringParams.java110 int low = WifiInfo.MIN_RSSI; in validateRssiArray()
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java1058 private static final int MIN_RSSI = -100; field in WifiManager
2506 if (rssi <= MIN_RSSI) {
2511 float inputRange = (MAX_RSSI - MIN_RSSI);
2513 return (int)((float)(rssi - MIN_RSSI) * outputRange / inputRange);
DWifiInfo.java87 public static final int MIN_RSSI = -126; field in WifiInfo