Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DTestAccessPointBuilder.java35 private static final int MIN_RSSI = -100; field in TestAccessPointBuilder
97 mRssi = MIN_RSSI; in setLevel()
101 float inputRange = MAX_RSSI - MIN_RSSI; in setLevel()
103 mRssi = (int) (level * inputRange / outputRange + MIN_RSSI); in setLevel()
127 mRssi = MIN_RSSI; in setReachable()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerWifiTest.java50 private static final int MIN_RSSI = -100; field in NetworkControllerWifiTest
227 float amountPerLevel = (MAX_RSSI - MIN_RSSI) / (WifiIcons.WIFI_LEVEL_COUNT - 1); in setWifiLevel()
228 int rssi = (int)(MIN_RSSI + level * amountPerLevel); in setWifiLevel()
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java835 private static final int MIN_RSSI = -100; field in WifiManager
1784 if (rssi <= MIN_RSSI) {
1789 float inputRange = (MAX_RSSI - MIN_RSSI);
1791 return (int)((float)(rssi - MIN_RSSI) * outputRange / inputRange);
DWifiInfo.java79 public static final int MIN_RSSI = -126; field in WifiInfo