Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DTestAccessPointBuilder.java45 private static final int MIN_RSSI = -100; field in TestAccessPointBuilder
133 mRssi = MIN_RSSI; in setLevel()
137 float inputRange = MAX_RSSI - MIN_RSSI; in setLevel()
139 mRssi = (int) (level * inputRange / outputRange + MIN_RSSI); in setLevel()
171 mRssi = MIN_RSSI; in setReachable()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerWifiTest.java37 private static final int MIN_RSSI = -100; field in NetworkControllerWifiTest
301 float amountPerLevel = (MAX_RSSI - MIN_RSSI) / (WifiIcons.WIFI_LEVEL_COUNT - 1); in setWifiLevel()
302 int rssi = (int)(MIN_RSSI + level * amountPerLevel); in setWifiLevel()
323 float amountPerLevel = (MAX_RSSI - MIN_RSSI) / (WifiIcons.WIFI_LEVEL_COUNT - 1); in setWifiLevelForVcn()
324 int rssi = (int) (MIN_RSSI + level * amountPerLevel); in setWifiLevelForVcn()