Searched refs:newRssi (Results 1 – 10 of 10) sorted by relevance
750 int newRssi = CONNECTED_RSSI + 10; in rssiChangeBroadcastShouldUpdateConnectedAp() local752 info.setRssi(newRssi); in rssiChangeBroadcastShouldUpdateConnectedAp()762 assertThat(tracker.getAccessPoints().get(0).getRssi()).isEqualTo(newRssi); in rssiChangeBroadcastShouldUpdateConnectedAp()1085 int newRssi = prevRssi + 10; in updatePasspointAccessPoints_usesCachedAccessPoints() local1086 result.level = newRssi; in updatePasspointAccessPoints_usesCachedAccessPoints()1097 .isEqualTo((prevRssi + newRssi) / 2); in updatePasspointAccessPoints_usesCachedAccessPoints()1207 int newRssi = prevRssi + 10; in updateOsuAccessPoints_usesCachedAccessPoints() local1208 result.level = newRssi; in updateOsuAccessPoints_usesCachedAccessPoints()1217 .isEqualTo((prevRssi + newRssi) / 2); in updateOsuAccessPoints_usesCachedAccessPoints()
263 int newRssi = originalRssi - 10;264 ap.setRssi(newRssi);265 assertThat(ap.getRssi()).isEqualTo(newRssi);272 int newRssi = -80;273 int expectedRssi = (originalRssi + newRssi) / 2;279 scanResult.level = newRssi;955 int newRssi = -80;960 scanResult.level = newRssi;
144 private void updateRssi(int newRssi) { in updateRssi() argument145 rssi = newRssi; in updateRssi()
118 void noteWifiRssiChanged(int newRssi); in noteWifiRssiChanged() argument
2696 int newRssi = pollResult.currentRssi; in fetchRssiLinkSpeedAndFrequencyNative() local2702 logd("fetchRssiLinkSpeedAndFrequencyNative rssi=" + newRssi in fetchRssiLinkSpeedAndFrequencyNative()2707 if (newRssi > WifiInfo.INVALID_RSSI && newRssi < WifiInfo.MAX_RSSI) { in fetchRssiLinkSpeedAndFrequencyNative()2712 if (newRssi > 0) { in fetchRssiLinkSpeedAndFrequencyNative()2713 Log.wtf(TAG, "Error! +ve value RSSI: " + newRssi); in fetchRssiLinkSpeedAndFrequencyNative()2714 newRssi -= 256; in fetchRssiLinkSpeedAndFrequencyNative()2716 mWifiInfo.setRssi(newRssi); in fetchRssiLinkSpeedAndFrequencyNative()2727 int newSignalLevel = WifiManager.calculateSignalLevel(newRssi, WifiManager.RSSI_LEVELS); in fetchRssiLinkSpeedAndFrequencyNative()2730 sendRssiChangeBroadcast(newRssi); in fetchRssiLinkSpeedAndFrequencyNative()2817 private void sendRssiChangeBroadcast(final int newRssi) { in sendRssiChangeBroadcast() argument[all …]
929 public void noteWifiRssiChanged(int newRssi) { in noteWifiRssiChanged() argument932 mStats.noteWifiRssiChangedLocked(newRssi); in noteWifiRssiChanged()
5827 public void noteWifiRssiChangedLocked(int newRssi) { in noteWifiRssiChangedLocked() argument5828 int strengthBin = WifiManager.calculateSignalLevel(newRssi, NUM_WIFI_SIGNAL_STRENGTH_BINS); in noteWifiRssiChangedLocked()5829 if (DEBUG) Log.i(TAG, "WiFi rssi -> " + newRssi + " bin=" + strengthBin); in noteWifiRssiChangedLocked()
18068 field public static final java.lang.String EXTRA_NEW_RSSI = "newRssi";
30115 field public static final String EXTRA_NEW_RSSI = "newRssi";
30259 field public static final String EXTRA_NEW_RSSI = "newRssi";